[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: UBL Calculation Models (was Re: LegalMonetaryTotal.LineExtensionAmount)
At 2013-10-16 10:44 -0700, Danny Gaethofs wrote:
These usage definitions are interesting. Working with UBL / UN/CEFACT and other XML standards for a long time one of the biggest problems is the right use of fields / elements especially if you need to define how the mapping should be done to ERP standards (such as SAP).
Yes, the "calculation model" is an important aspect of documenting a customization of OASIS UBL in a particular context. UBL requires that all fields in a document be pre-calculated according to the calculation model so that the recipient has no obligation of any kind to calculate any values on their own ... only the sender knows for sure which calculation model they intended to use for all fields.
But the committee itself hasn't yet published "recommended" calculation models. Some of the definitions imply a calculation model that for interoperability purposes all users would follow. But it is up to an open-edi user community (as defined by ISO/IEC 14662 - see http://docs.oasis-open.org/ubl/cs1-UBL-2.1/UBL-2.1.html#A-OPEN-EDI of the UBL 2.1 specification) to create their open-edi configuration with the expected calculation model. You can see from diagram H.2 http://docs.oasis-open.org/ubl/cs1-UBL-2.1/UBL-2.1.html#F-OPEN-EDI-APPLICATION that the UBL specification provides the business objects and syntax, but not the filling of the information bundles by the different roles in different scenarios.
We on the committee have used that noun for a while now in UBL and this page hasn't been updated in four years for want of groups to document their calculation models for candidate users to choose from (or to modify for their own uses):
https://wiki.oasis-open.org/ubl/Example_Calculation_ModelsPerhaps it is time to revive work on that page and revamp it to bring it up to date.
. . . . . . . . Ken -- Public XSLT, XSL-FO, UBL & code list classes: Melbourne, AU May 2014 | Contact us for world-wide XML consulting and instructor-led training | Free 5-hour lecture: http://www.CraneSoftwrights.com/links/udemy.htm | Crane Softwrights Ltd. http://www.CraneSoftwrights.com/u/ | G. Ken Holman mailto:gkholman@CraneSoftwrights.com | Google+ profile: https://plus.google.com/116832879756988317389/about | Legal business disclaimers: http://www.CraneSoftwrights.com/legal |