Presentation is loading. Please wait.

Presentation is loading. Please wait.

Spanish Professional Localization Pack Extension Module Webinar November 26th, 2009.

Similar presentations


Presentation on theme: "Spanish Professional Localization Pack Extension Module Webinar November 26th, 2009."— Presentation transcript:

1 Spanish Professional Localization Pack Extension Module Webinar November 26th, 2009

2 Page 2 Spanish Professional Localization Pack Webinar - Openbravo, Localization Team Agenda Functionality and Demo15 min. Process and Tools10 min. Development Technique10 min. Q & A 25 min.

3 Page 3 Spanish Professional Localization Pack Webinar - Openbravo, Localization Team Agenda Functionality and Demo Process and Tools Development Technique Q & A

4 Page 4 Spanish Professional Localization Pack Webinar - Openbravo, Localization Team The Spanish Professional Localization Pack is a commercial pack Content: Invoice Register Books 347 Third parties transactions annual tax statement 349 Summary statement of Intra-community transactions Spanish Community Localization Pack Spanish translation Charts of Accounts Tax ID validation Domestic bank account validation Accounting Alerts Spanish tax rates Dependent modules -> Tax Report launcher Content & Installation Spanish Professional Localization Pack

5 Page 5 Spanish Professional Localization Pack Webinar - Openbravo, Localization Team Functional Concept: Tax Report => List of transactions subject to taxes (VAT by example) but NOT only that… Key thing => Ability to setup different types of Tax parameters: Input Constant Output -> Tax rates Goal: To show you how the Tax Report Launcher allows us to generate and launch tax reports To show you how Spanish Tax Reports are launched Functional Highlights Spanish Professional Localization Pack (SPLP)

6 Page 6 Spanish Professional Localization Pack Webinar - Openbravo, Localization Team Functional Highlights Spanish Professional Localization Pack (SPLP) Openbravo Transactions End user Tax Rates Input data Tax Report Tax Report Group Tax Report parameters Input Constant Output TAX REPORT LAUNCHER Tax Report as a valid file

7 Page 7 Spanish Professional Localization Pack Webinar - Openbravo, Localization Team DEMO Tax Report Launcher & 347, 349 tax reports Functional Highlights Spanish Professional Localization Pack – Tax Report Launcher

8 Page 8 Spanish Professional Localization Pack Webinar - Openbravo, Localization Team FUNCTIONALITY AND DEMO : RECAP Spanish Professional Localization Pack content Spanish tax reports built by using the Tax Report Launcher framework (community framework) Tax Report parameters as the key way to get tax report data Tax report parameters linked to Tax Rates

9 Page 9 Spanish Professional Localization Pack Webinar - Openbravo, Localization Team Agenda Functionality and Demo Process and Tools Development Technique Q & A

10 Page 10 Spanish Professional Localization Pack Webinar - Openbravo, Localization Team Spanish Professional Localization Pack Pack as a container of modules. Managing module's dependencies, releasing new module's versions. Module version structure: XXX.YYY.ZZZ New major version required when: Dependencies modification Added or removed dependencies Modified first version of a dependency API change Major versionMinor version

11 Page 11 Spanish Professional Localization Pack Webinar - Openbravo, Localization Team Spanish Professional Localization Pack Pack as a container of modules. Managing module's dependencies, releasing new module's versions. Depends on 347 Tax Rep. Launcher A module can depend on another module. 3 attributes in a dependency: Dependant module First version Last version (not mandatory) Always a dependency on core 347 core

12 Page 12 Spanish Professional Localization Pack Webinar - Openbravo, Localization Team Spanish Professional Localization Pack Pack as a container of modules. Managing module's dependencies, releasing new module's versions. A pack includes modules and/or other packs 2 attributes in an inclussion: Included module Version In one only.obx file, all modules are included SLP CoAesESalertsvalid.CoAvalid.tax IRB SPLP

13 Page 13 Spanish Professional Localization Pack Webinar - Openbravo, Localization Team 4 possible cases while installing packs / modules from file system/central repository Installing a pack from file system may install different versions of its contained module than installing from central repository Spanish Professional Localization Pack Pack as a container of modules. Managing module's dependencies, releasing new module's versions. MODULEPACK CENTRAL REPOSITORY CASE 1 CASE 2 Always most recent minor version published in CR FILE SYSTEM CASE 3 CASE 4Version included in the file

14 Page 14 Spanish Professional Localization Pack Webinar - Openbravo, Localization Team Spanish Professional Localization Pack Pack as a container of modules. Managing module's dependencies, releasing new module's versions. RECAPITULATION Modules have got versions A pack is a set of modules Dependencies mechanism prevents from bad installations of modules

15 Page 15 Spanish Professional Localization Pack Webinar - Openbravo, Localization Team Functionality and Demo Process and Tools Development Technique Q & A Agenda

16 Page 16 Spanish Professional Localization Pack Webinar - Openbravo, Localization Team Implementing Java interfaces for modular development Spanish Professional Localization Pack TAX REPORT LAUNCHER AEAT 347 Report AEAT 349 Report Sample Report Future Reports JAVA INTERFACE JAVAIMPLEMENTATION Openbravo ERP

17 Page 17 Spanish Professional Localization Pack Webinar - Openbravo, Localization Team Implementing Java interfaces for modular development Abstract type which defines a list of: - Method signatures - Constant declarations (static and final) The reserved word interface is used It can't be directly instantiated. Another class must implement the interface, i.e., it must implement all the methods JAVA INTERFACE public interface OBTL_TaxReport_I { public HashMap generateElectronicFile(String strOrgId, String strReportId, String strAcctSchemaId, String strYearId, String strPeriodId, Map inputParams) throws OBException, Exception; } Spanish Professional Localization Pack

18 Page 18 Spanish Professional Localization Pack Webinar - Openbravo, Localization Team Implementing Java interfaces for modular development package org.openbravo.module.taxreportlauncher.helloworldreport; // Imports are hidden public class HelloWorldReport implements OBTL_TaxReport_I { public HashMap generateElectronicFile(String strOrgId, String strReportId, String strAcctSchemaId, String strYearId, String strPeriodId, Map inputParams) throws OBException, Exception { HashMap myMap = new HashMap (); // Use StringBuffer because it is safe in multi-thread StringBuffer sb = new StringBuffer(); sb.append("Hello World!"); // File content. Mandatory myMap.put("file", sb); // File name. Input Parameter with Search Key "fileName. Not mandatory myMap.put("fileName", inputParams.get("fileName")); return myMap; } HELLO WORLD IMPLEMENTATION Spanish Professional Localization Pack

19 Page 19 Spanish Professional Localization Pack Webinar - Openbravo, Localization Team Implementing Java interfaces for modular development package org.openbravo.module.taxreportlauncher.helloworldreport; // Imports are hidden public class HelloWorldReport implements OBTL_TaxReport_I { public HashMap generateElectronicFile(String strOrgId, String strReportId, String strAcctSchemaId, String strYearId, String strPeriodId, Map inputParams) throws OBException, Exception { HashMap myMap = new HashMap (); // Use StringBuffer because it is safe in multi-thread StringBuffer sb = new StringBuffer(); sb.append("Hello World!"); // File content. Mandatory myMap.put("file", sb); // File name. Input Parameter with Search Key "fileName. Not mandatory myMap.put("fileName", inputParams.get("fileName")); return myMap; } HELLO WORLD IMPLEMENTATION Spanish Professional Localization Pack

20 Page 20 Spanish Professional Localization Pack Webinar - Openbravo, Localization Team Implementing Java interfaces for modular development package org.openbravo.module.taxreportlauncher.helloworldreport; // Imports are hidden public class HelloWorldReport implements OBTL_TaxReport_I { public HashMap generateElectronicFile (String strOrgId, String strReportId, String strAcctSchemaId, String strYearId, String strPeriodId, Map inputParams) throws OBException, Exception { HashMap myMap = new HashMap (); // Use StringBuffer because it is safe in multi-thread StringBuffer sb = new StringBuffer(); sb.append("Hello World!"); // File content. Mandatory myMap.put("file", sb); // File name. Input Parameter with Search Key "fileName. Not mandatory myMap.put("fileName", inputParams.get("fileName")); return myMap; } HELLO WORLD IMPLEMENTATION Spanish Professional Localization Pack

21 Page 21 Spanish Professional Localization Pack Webinar - Openbravo, Localization Team Implementing Java interfaces for modular development package org.openbravo.module.taxreportlauncher.helloworldreport; // Imports are hidden public class HelloWorldReport implements OBTL_TaxReport_I { public HashMap generateElectronicFile(String strOrgId, String strReportId, String strAcctSchemaId, String strYearId, String strPeriodId, Map inputParams) throws OBException, Exception { HashMap myMap = new HashMap (); // Use StringBuffer because it is safe in multi-thread StringBuffer sb = new StringBuffer(); sb.append("Hello World!"); // File content. Mandatory myMap.put("file", sb); // File name. Input Parameter with Search Key "fileName. Not mandatory myMap.put("fileName", inputParams.get("fileName")); return myMap; } HELLO WORLD IMPLEMENTATION Spanish Professional Localization Pack

22 Page 22 Spanish Professional Localization Pack Webinar - Openbravo, Localization Team Implementing Java interfaces for modular development package org.openbravo.module.taxreportlauncher.helloworldreport; // Imports are hidden public class HelloWorldReport implements OBTL_TaxReport_I { public HashMap generateElectronicFile(String strOrgId, String strReportId, String strAcctSchemaId, String strYearId, String strPeriodId, Map inputParams) throws OBException, Exception { HashMap myMap = new HashMap (); // Use StringBuffer because it is safe in multi-thread StringBuffer sb = new StringBuffer(); sb.append("Hello World!"); // File content. Mandatory myMap.put("file", sb); // File name. Input Parameter with Search Key "fileName. Not mandatory myMap.put("fileName", inputParams.get("fileName")); return myMap; } HELLO WORLD IMPLEMENTATION Spanish Professional Localization Pack

23 Page 23 Spanish Professional Localization Pack Webinar - Openbravo, Localization Team DEMO HELLO WORLD Report Implementing Java interfaces for modular development Spanish Professional Localization Pack – Tax Report Launcher

24 Page 24 Spanish Professional Localization Pack Webinar - Openbravo, Localization Team Implementing Java interfaces for modular development package org.openbravo.module.taxreportlauncher.helloworldreport; // Imports are hidden public class HelloWorldReport implements OBTL_TaxReport_I { public HashMap generateElectronicFile(String strOrgId, String strReportId, String strAcctSchemaId, String strYearId, String strPeriodId, Map inputParams) throws OBException, Exception { HashMap myMap = new HashMap (); // Use StringBuffer because it is safe in multi-thread StringBuffer sb = new StringBuffer(); sb.append("Hello World!"); // File content. Mandatory myMap.put("file", sb); // File name. Input Parameter with Search Key "fileName. Not mandatory myMap.put("fileName", inputParams.get("fileName")); return myMap; } HELLO WORLD IMPLEMENTATION Spanish Professional Localization Pack

25 Page 25 Spanish Professional Localization Pack Webinar - Openbravo, Localization Team Implementing Java interfaces for modular development package org.openbravo.module.taxreportlauncher.helloworldreport; // Imports are hidden public class HelloWorldReport implements OBTL_TaxReport_I { public HashMap generateElectronicFile(String strOrgId, String strReportId, String strAcctSchemaId, String strYearId, String strPeriodId, Map inputParams) throws OBException, Exception { HashMap myMap = new HashMap (); // Use StringBuffer because it is safe in multi-thread StringBuffer sb = new StringBuffer(); sb.append("Hello World!"); // File content. Mandatory myMap.put("file", sb); // File name. Input Parameter with Search Key "fileName. Not mandatory myMap.put("fileName", inputParams.get(" fileName ")); return myMap; } HELLO WORLD IMPLEMENTATION Spanish Professional Localization Pack

26 Page 26 Spanish Professional Localization Pack Webinar - Openbravo, Localization Team Wrap-Up SPLP introduction. Functionality and Demo of the Tax Report Launcher: - SPLP content - Tax reports built from the Tax Report Launcher - Tax Report Launcher as a community module Modules, Packs, Dependencies and versions: - Differences between modules and packages - Dependencies management - Versions management Implementing Java Interfaces for a modular development: - Tax Report Launcher public Java Interface - Hello World report Java implementation - Hello World report setup for the Tax Report Launcher and execution

27 Page 27 Spanish Professional Localization Pack Webinar - Openbravo, Localization Team Q & A Next Webinar: Quick Start December 10 th 4-5 PM (CET) Interesting Links: david.alsasua victor.martinez patricia.sanjuan Spanish Professional Localization

28 Page 28 Spanish Professional Localization Pack Webinar - Openbravo, Localization Team


Download ppt "Spanish Professional Localization Pack Extension Module Webinar November 26th, 2009."

Similar presentations


Ads by Google