Does Rel. 12 Solve Global Inter-Company Issues for Multiple Ledgers, Profit in and COGS?

Jerry Devore Accenture http://www.accenture.com

Douglas A. Volz Douglas Volz Consulting, Inc. www.volzconsulting.com

Introduction

With the development of Release 12 many new features have been introduced. For example, shared servicesservices are easier to implement due to having user responsibilities that can span operating units as well as common definitions for bank accounts and tax rules. But what about some long-standing challenges with inter-inter-companycompany reporting and accounting requirements for inventoryinventory?? Is it bettbetterer than R11i? What gapgapss still exist with Subledger Accounting, local vs. corporate financial reporting, inter-company COGS and profit in inventory? Learn from the Release 12 experiences of Douglas Volz Consulting and CSC Consulting; Jerry DeVore has been active in Supply Chain and Cost industry roles for over 25 years, implementing Oracle over the past seven years. Doug Volz is a formerformer Cost Accounting Manager who co-designed Oracle Cost Management and leads the OAUG MFG Discrete SIG Cost Group, he has over 20 years with the Oracle applications and 30 years combined industry, design and consulting experience.

For further information, Doug may be reached at [email protected]@volzconsulting.com (or www.volzconswww.volzconsulting.com)ulting.com) anandd Jerry at [email protected]. We welcome your comments and questions.

Scope of this Paper

This paper covers the following topics:

•• Brief Discussion for Subledger Accounting

•• Use of Multiple LedgerLedgerss (as related to intercompany accounting)

•• Solutions for Accrual, Relief and Reporting for Profit in Inventory

•• Solutions for booking and elimination of Inter-Company COGS

This paper addresses many of the underlying concepts for resolving inter-company accounting requirements.requirements. However this paper is not intended to be a full discourse on how to use Oracle Applications for inter-company accounting; the primary focus is inventory and elimination of intercompany profit in inventory.

Background for Inter-Company Inventory Accounting

Oracle started to introduce profit in inventory conceptsconcepts with Release 11.5.9. Starting with this popointint release you could accrue the profit from the sending organization into the receiving organization without some form of customization or manual journal entries. But the applicationsapplications design has not been completed, as the Oracle Cost Management and related modules do not have the underlying logic in place to relieve the inter-company profit in inventory for when the goods araree shipped to the customercustomer or otherwise scrapped or disposed of. In addition you cannot report your profit in inventory basebasedd upon your onhand quantities. It simply does not exist. In Release 12

many new financial features were added but unfortunately this area continues to be a point of contention. The example in this paper is frfromom a Release 12.06 globalglobal pharmaceutical companycompany.. They use Discrete Costing with multiple inventory orgs, currencies, operating units and ledgers. Goods are transferretransferredd from the manufacturing sites COLLABORATE 10 — OAUG Forum Copyright ©2010 Douglas Volz Consulting, Inc. Page 1 of 33

Does Rel. 12 Solve Global Inter-Company Issues for Multiple Ledgers, Profit in Inventory and COGS?

to internal or 3rdrd party distribution centers using internal reqrequisituisitionsions and internal sales orders. Due to achieviachievingng certain currency thresholds (or limits to the amount of currency in a Ledger), the example firm was able to use secondary ledgers for most local currency and financial reporting requirerequirements.ments. Inter-company pricing is done using the standard Oracle Advanced Pricing functionality, with normal requirements to report inventory at gross (including profit in inventory) and at net afteafterr reremovingmoving profit in inventory. And they also have normal requirements to report and eliminate profit in inventory and eliminate inter-company .

Before the creation of the described profit in inventory solution the example firm had significant difficulties recording and eliminating profit in inventory. TheiTheirr auditors were becoming more and more impatienimpatient,t, with the possibility of several audit exceptions by year-end. The techniques in this paper gave them a reliablreliable,e, auditable solution which satisfied both their internal managemanagementment and their external audit requirrequirements.ements. This paper offersoffers insights to how this was accomplished and what roadblocks had to be overcome.

Sample Supply Chain Background (example only):

In the below diagram pharmaceutical goods are manufactured at two locations, Switzerland and Korea, with each factory supplying the product including the API or Active Pharmaceutical Ingredient to the distribution centers, usually in capsule form. At the Distribution CentersCenters the capsules are packagpackageded for local markets with appropriateappropriate labeling and indicators. The goods are then shippedshipped to the third party logislogisticstics service providersproviders (LSPs),(LSPs), who in turn ship the goods to the end customers. Both the DistrDistributionibution Centers and the LSPs areare reprrepresentedesented as InveInventoryntory Organizations, with internal requisitions and sales orders used to transfer the goods from the Factory to the

DistributionTransactions Center for each to cross-borderthe LSPs. And movement because enablesthe LSPsLSPs accurate are usuallyusually Intrastat in different Reporting. countcountries,ries, using Logical ShippingShipping

Sample Financial Relationships (example only):

In the below example, with the exception of Korea and other Asia-Pac Ledgers, all other primary ledgers are in USD. Doing so removes the currencycurrency conversion and reporting differences causecausedd by foreign currency.currency. This was

simplifiedaccomplished and withsecondary the standard ledgers mapping used for functionalitlocal reportingreportingy from requirements. SubledgeSubledgerr Accounting. Corporate reporting is

COLLABORATE 10 — OAUG Forum Copyright ©2010 Douglas Volz Consulting, Inc. Page 2 of 33

Does Rel. 12 Solve Global Inter-Company Issues for Multiple Ledgers, Profit in Inventory and COGS?

Note: the example client was able to use secondarysecondary ledgersledgers for locallocal reporting requirements duedue to achieving certain currency threthresholdshold requirements. Your situation may be different.

Subledger Accounting and Release 12

Release 12 marks a significant depadeparturerture from earliearlierer releasesreleases.. Many of the original desdesignign limitations, such as inability to journal easily across ledgers (called sets of books in earlier releases), difficult setup and use of sshareharedd service centers, separate business tax sub-systems, and separate customer and supplier mmastersasters have bebeenen resolved. Oracle Process Manufacturing (OPM) has been merged into the Inventory module, with added features for dual unit of measure control, advanced lot control, material status and enhanced inventory allocation rules brought into the inventory module…. to name a few of the changes. Discrete Costing has better rerecognitioncognition and deferred COGS capabilities and major enhancements to inventory accrual accounting and reporting.

With the introduction of Subledger Accounting (SLA) you now have one unified view of all the Oracle Application Subledgers across all modules with accounting entrentriies.es. Whether you are looking for accounting entries from Receivables, Payables, , Costing (Process and Discrete) and any other module that has accounting entries, they are now all in one place. All affected modules have one standardizedstandardized “Create AccoAccounting”unting” process, standardized methods on when and how to transfer and post to the G/L and all subledgers use the Multi-Org Access Control (MOAC) features for access to multiple operating units and ledgers.

Key Inter-Company Concepts and Definitions

The following concepts and definitions may be helpful in understanding this paper.

Key Subledger Accounting Concepts and Definitions

Release 12 Ledgers and the Four C’s

COLLABORATE 10 — OAUG Forum Copyright ©2010 Douglas Volz Consulting, Inc. Page 3 of 33

Does Rel. 12 Solve Global Inter-Company Issues for Multiple Ledgers, Profit in Inventory and COGS?

For Release 12 the concept of Sets of Books has beebeenn replaced with Ledgers and Ledger Sets. A. A Ledger is made up of one or more Legal Entities, and each legal entity represents the legal corporate structures or companies with a business group, as required for fiscal or tax reporting. Unlike Release 11i, Release 12 Operating UniUnitsts are assigned to Ledgers and a default legal context. Multiple OpOperatingerating Units and multiple Legal EntitieEntitiess can be assignedassigned to the same Ledger.11 Ledger Sets gives you the ability to group ledgers together and allow users to access all of the ledgers in the same group. Ledger sets is useusedd by Multi-Org Access Control (M(MOAC).OAC). The use of ledger setssets also streamlines the set up process; for example a single set of rules could be defined for all IFRS ledgers and attached to each ledger in turn, with the local GAAP ledgers hahavingving the appropriate country spespecificcific rules. The following actions can also be done by Ledger Sets: open/close periods, create journals, ttranslateranslate balbalaancesnces and report & view information22..

Each ledger has four C’s:

•• Currency •• Chart of Accounts •• Calendar •• Convention (accounting convention)

Convention means the method of accounting for the transactions,transactions, whether it is ccashash or accrual, encumbrance or other accounting convention or method. Oracle provides a number of accounting conventions; with SLA you will copy a seeded one from Oracle and change it to meet your unique requirements. Having the four C’s gives you tthehe ability to have primary and secondary ledgers; witwithh SLA you may have a primary ledger (such as a reporeportingrting currency ledger) and multiple secondary ledgers, each witwithh differentdifferent accounting conventions.

This ability to support different conventions happehappensns both for the Release 12 subledger accounting entries and the primary and secondary ledgers. In doing so Release 12 provides better support for MRC – multiple reporeportingrting currencies – at both a general ledger and subledger level of detail. You can have any number of detaileddetailed subledgers for each of your reporting currency ledgers and map these to additional subledgers to multiplmultiplee general ledgers ((usingusing different currencies as desired).

Profit in Inventory

When you sell goods to a customer you (hopefully) earn a profit on these goods. For example your cost may be $10 per unit and you sell it for $20 per unit, thereby making $10 in profit. For global firms the ManufacturingManufacturing Sites frequently supply the internal Distribution CentersCenters.. The Manufacturing SiSitestes will “sell” the goods to the Distribution Centers at a profit, thereby correctly recording the local cost of goods sold, inter-company revenue and cost of goods sold. Likewise the Distribution CenteCenterr receives the goods at the marked-up cost for the goods, reflecting the internal cost from the ManManufacturingufacturing Site. This is all well and good for localocall rereportingporting to youryour tax authorities as from a local tax perspective your local profit is based upon your local costs, regardless if the goods come from an outside supplier or from an internal ssupplier.upplier.

But when you consolidate, or roll up your local results into your Corporate General Ledger you must “eliminate” or remove the Inter-Company Profit in IInventory.nventory. Did you company really make $10 eaceachh time you shippedshipped goods from your ManufaManufacturingcturing Site to your Distribution Center? Of course not. You don’t make money from a corporate, worldwide point of view until you sell your goods to an end-customer ̶ ̶ someone who is not part of the same company as your firm.

This internal profit which is created by selling and shipping goods from one internal location to another is called Profit in Inventory (PII) or Intercompany Profit (ICP). The recording, recognition and relief of ProfitProfit in Inventory affects your overall Income and Balance Sheet statements and must be done correctly by accurate financial

11 Paraphrased from The Release 12 Primer , chapter 2, Financials Product Family, page 18, Solution Beacon, LLC. 22 Ibid, page 52. COLLABORATE 10 — OAUG Forum Copyright ©2010 Douglas Volz Consulting, Inc. Page 4 of 33

Does Rel. 12 Solve Global Inter-Company Issues for Multiple Ledgers, Profit in Inventory and COGS?

reporting. Much of this paper will descrdescribeibe current functionalfunctionalityity and solutions for defdeficieicienciesncies with this functionality.

Wow – Release 12 Features that Work!

Subledger for Product Line Accounting, Variance RecRecognition,ognition, Intercompany Accounting

In Release 12 SLA provides a rule-based method for deriving the full accounting string or “Accounting Flexfield” across the accounting modules. For discrete costingcosting,, in prior releases there were partial and separate solutions for COGS (Account Generator) and Sales ReRevenuevenue (Auto AcAccounting)counting) which did not talk to each other. Many of the accounting entries for cost variances were not flexflexible.ible. Now with SLA Cost Management has this built-in flexflexibilityibility and uses the same rule engine to derive the full accountingaccounting string. This rule engengineine is called the Accounting Methods Builder and is an integral part of SLA.

In summary, SLA:

•• Provides Rule-based accounting engine, toolset & rerepositorypository (subledger) supporting both Oracle E- Business Suite and external modules •• Allows multiple accounting representations for a single business event, resolving conflicts between corporate and local fiscal accounting requirements •• Retains the detail and traceability back to the original source transactions, allowing different summarization options in the General Ledger, with full audit trail and reconciliationreconciliation (in the subledger accounting model) •• Introduces a common data model and User Interface aacrosscross subledgers, replaces varivariousous disparate 11i setups, providing single repository/subledger for financial and management analysis •• With the SLA flexibility over your Accounting Flexfield you can drive the account number information as needed by your intercompany requirements.

R12 Underlying Table Structure for Cost, SLA and G/G/LL

With Release 12 there have been important changes toto the underlying tables.tables. First, First, there is a new table structure to support the SLA functionality, of which a small sample includes XLA_EVENTS, XLA_AE_HEADERS, XLA_AE_LINES and XLA_DISTRIBUTION_LINES. The XLA_EVENTSXLA_EVENTS corresponds to (or mirrors) the Discrete and Process transactions. XLA_AE_HEADERS aandnd XLA_AE_LINES hold the new subledgersubledger acaccountingcounting entries. XLA_DISTRIBUTION_LINES stores the link betweenbetween transactionstransactions and subledger journal entry lines. Note for the General Ledger the GL_SETS_OF_BOOKS table as been replaced with the GL_LEDGERS table.

COLLABORATE 10 — OAUG Forum Copyright ©2010 Douglas Volz Consulting, Inc. Page 5 of 33

Does Rel. 12 Solve Global Inter-Company Issues for Multiple Ledgers, Profit in Inventory and COGS?

Here is a conceptual diagram for many of the related tables:

COGS Recognition

In Release 12 the customer shipment entries go to ddeferredeferred COGS. Oracle Cost Management credits inventory anandd credits a deferred COGS account, part of your Inventory Parameters setup. After you invoice your customers,customers, you run the “Generate COGS Recognition Entries” program to transfer the balances from the deferred COGS to the final COGS account. This program uses the same percent as used fforor your revenue recognition, to also recognize your COGS amounts. When you recognize 100% of your revenue you will rerecognizecognize 100% of your COGS, and thisthis can happen over multiple accounting periods depending oonn how your customers acceptaccept your product shipmentsshipments.. And you can run the “Generate COGS Recognition Entries” program even after you close the inventory accounting period, as the steps for running it are:

•• Ship product to your customer and create your normalnormal Sales Order Issue/Return transactionstransactions •• Autoinvoice your customer and run Revenue Recognition Master Program in Oracle A/R •• Run the “Record Order Management Transactions” concurrent process to pick up and cost all of your uncosted sales order issue and RMA return transactions. It creates a record for each new order line in the costing COGS recognition matching table and creates the material accounting distributions for sale order issue and RMA return transactions •• Or run the Inventory Cost Processor, as it will automatically run the Record Order Management Transactions for you and create the material accounting distributions as well •• Then run “Generate COGS Recognition Entries” to recognize your true COGS

COLLABORATE 10 — OAUG Forum Copyright ©2010 Douglas Volz Consulting, Inc. Page 6 of 33

Does Rel. 12 Solve Global Inter-Company Issues for Multiple Ledgers, Profit in Inventory and COGS?

Note: We have had trouble with the Cost Cut-Off date and COGS Recognition programs, please ensure you have the latest patches for the COGS Recognition programs.

Primary and Secondary Ledgers

For legal and management reporting SLA susupportspports mulmultipletiple accounting requirements in a singlesingle instance. This is accomplished by applying different sets of rules to different sets of transactions or accounting for the same transaction with multiple methods (into multiple ledgers). For example you could have a reporting currency ledgerledger for French reporting requirements (Le Plan Comptable – French National Accounting Code) using a French businessbusiness calendar, French chart of accounts and the French intnterpretationerpretation of IFRS (International Financial ReportReportinging Standards). And then you could define a secondary ledgerledger for ththee French ledger, which will share the samesame currency COA, calendar and accounting method as those at HQ. And by using a combination of mapping sets and/or different Subledger Accounting Methods, you can convert the reporting currency ledger for French reporreportingting into the secondary ledger for the French ledger, which in turn will be consolidated into the headquarters ledger with other countries and ledgers.

With Release 12 you can map primary ledgers to secosecondaryndary ledgers even iiff you have different:

•• Calendar or Accounting Periods •• Chart of Accounts •• Currencies •• Accounting Convention (the combination of all of the above)

Note: the example client was able to use secondarysecondary ledgersledgers for locallocal reporting requirements duedue to achieving certain currency threshold requirements. Your situation may be different.

Release 12 Inter-Company Challenges

The following section describes several issues with inter-company accounting in Release 12.

Profit in Inventory

As described in the Background section of this paper, Oracle started to introduce profit in inventory concepts with Release 11.5.9. Starting with this point release youyou could accrue tthehe profit from the sending organization into the receiving organization without some form of ccustomiustomizationzation or manual journal entries. To try to useuse the standard Oracle functionality you need to set the Cost proprofifilele CST: Transfer Pricing Option. It has three values:values:

•• NoNo – transfer goods like an inter-organization transfer, same as Release 10 and 11 •• Yes, Price Not as Incoming Cost – accrue ICP when the goods are received into your organization •• Yes, Price as Incoming Cost – ICP is not accrued, aanyny differences go to PurcPurchasehase Price Variance. Usually the Price is the same as the Receiving Org’s cost and you have no PPV.

COLLABORATE 10 — OAUG Forum Copyright ©2010 Douglas Volz Consulting, Inc. Page 7 of 33

Does Rel. 12 Solve Global Inter-Company Issues for Multiple Ledgers, Profit in Inventory and COGS?

When you set the CST: Transfer Pricing Option profile to Yes, Price Not as Incoming Cost, the accounting is as follows (FOB is set to FOB Shipment in this example):

In the above example the Receiving Organization has $18 of Profit in Inventory,Inventory, derived from the difference between the Sending Org’s standard cost of $102 and the Transfer Price of $120. Note too that the TransferTransfer Price is equal to the Receiving Org’s standard cost ($120 = $120). This is normal and necessary for these two vvaluesalues toto be the same.

But now that you have accrued fforor Profit in InventoInventory,ry, how to youyou relieve it? Unfortunately Oracle does not have this capability. The current design assumes you will manually relieverelieve your profit in inventory balances and correct your Intercompany Cost of Sales accounts. On top of this you don’t have a Profit in Inventory Value ReportReport to help you do this.

COLLABORATE 10 — OAUG Forum Copyright ©2010 Douglas Volz Consulting, Inc. Page 8 of 33

Does Rel. 12 Solve Global Inter-Company Issues for Multiple Ledgers, Profit in Inventory and COGS?

Two Business Scenarios for Profit in Inventory

So what are the common scenarios faced by businesses? Should you manage your Profit in Inventory in youryour local books or manage it at a more global level in your consolidation ledger?

If you have significant product costs and need to tracktrack your “true” profits at a local level, you need to report your

accruelocal cost the margins Profit in net Inventory of Profit for in when InveInventory.ntory. the goods To do aarere this received, you have and to also transact relieve into it for:your material accounting, to both

•• Miscellaneous issues •• Cost of Goods Sold / Shipments •• Inter-company Cost of Goods Sold •• WIP Scrap, WIP Variances, PPV, etc.

Potential Solutions for Profit in inventory Adjusted in Local Books

Our client example did not need to adjust Profit in Inventory on a transactional levelevell in the local books.books. But the following techniques have been used since Release 10:10:

Use a material overhead sub-element in the Frozen or Average cost, as this allows you to earn Profit in Inventory on Purchase Order and IInter-Orgnter-Org Receipt Transactions, as partpart of standard functionality. Alternatively you can set the CST: Transfer Pricing Option as Yes, Price Not as Incoming Cost. For the relief of Profit in InventoryInventory you will need to create custom programs to add additional transactions to the material accounting transactions (MTL_TRANSACTION_ACCOUNTS). In effect you will add additional rows to the existing material aaccountingccounting entries, correcting COGS and other transactions.

You will also need to create custom Profit in Inventory and WIP Valuation Reports, and most likely, create custom Cost Margin Reports to include or exclude Profit in Inventory adjustments. Example report laylayoutsouts are in following sections of this paper for the Valuation Reports. And you should also create custocustomm material and WIP distribution accounting reports to use the accounts from Subledger Accounting (see example SQL in the Appendix section).section).

Caveats

•• You will need to customize the Margin Analysis Report to pick up the new COGS entries correctly. •• Overall, creating new material accounting entries to relieve Profit in Inventory is time-consuming to do and potentially expensive •• If you make major changes to your business model this customization may become a potential throwaway

Caveats with Average Costing

•• For the end-of-month profit in inventory valvalueue reporeportrt you need to calculate tthehe average Profit in Inventory item cost for each mmonth.onth. This is not a simple task to do. •• This calculation has to compare the transactional selling price with the organization’s moving average item cost, again, increasing the complexity •• And these custom programs and tables will need to accumulate Profit in Inventory values by organization by item for each month, and most likely, store these values in a cost type •• And note that for each month the average Profit in Inventory item cost may be different

Potential Solutions for Profit in inventory Adjusted in Local Books

But why would you only manage your Profit in Inventory at a global level? What are the driving factors? You would consider an across the board approach if: COLLABORATE 10 — OAUG Forum Copyright ©2010 Douglas Volz Consulting, Inc. Page 9 of 33

Does Rel. 12 Solve Global Inter-Company Issues for Multiple Ledgers, Profit in Inventory and COGS?

•• You do not need to track your local margins net of Profit in Inventory •• You don’t want your local country/ local tax authorities to see “real” margins •• You still need end of month Profit in Inventory Value Reports, and it requires the ability to support the consolidated entry with material transaction history or month-end inventory value reporting

This is the approach our client took. The report samplessamples in this paperpaper reflect these requrequirements;irements; and we estimate

thatoverall this approach approach is: takes less than 225%5% of the time it would take to do the transaction by transaction approach. The

1. 1. Calculate your ProfitProfit in Inventory iitemtem costs

•• Create an item cost report to show the frozen costs in the source organization and compare it to the target organization standard costs, based on the Sourcing Rules. •• Use this intercompany item cost report to derive the intercompany profit for your items, for input into your intercompany profit cost type

•• Conversely you could compare the transfer price list to the sending org’s standard cost •• For Average Costing you would have ttoo calculate the end of period intercompany profit per item and put it into the respective cost type •• For Standard Costing you set the amount of intercompany profit per item and not recalculate until you change your transfer prices or your standard costs

2.2. Store your Profit in Inventory Item Costs •• Store your ICP values in a non-Frozen cost type, called ‘ICP’ for example, in each inventory organization that has Profit in Inventory •• Usually you will enter a negative ICP amount, as it reduces your gross inventory value

3.3. Create Reports for Manual Journal Entries

•• Add ability to calculate Receiving quantities at month-end, as this information is missing from the month-end inventory cost snapshot (CST_PERIOD_CLOSE_SUMMARY)) •• If using WIP, add ability to calculate ICP Value in WIP at month-end •• Create custom reports for intercompany profit in inventoryinventory value at month-end for Receiving, Subinventories, WIP and Intransit

•• Calculatetype by the the stored Subinventories quantities inand the Intransit Costing values Snapsh boty multiplyingtable the non-Frozen ICP cost (CST_PERIOD_CLOSE_SUMMARY) •• Calculate the Receiving and WIP values by multiplying the non-Frozen ICP cost type by the calculated quantities for Receiving and WIP components in inventory

The general formula for Profit in Inventory is:

Sample Reports for Profit in Inventory

Regardless of the approach, whether you adjust your llocalocal books or your consolidated books, the followingfollowing reports will be very useful.

COLLABORATE 10 — OAUG Forum Copyright ©2010 Douglas Volz Consulting, Inc. Page 10 of 33

Does Rel. 12 Solve Global Inter-Company Issues for Multiple Ledgers, Profit in Inventory and COGS?

ICP Item Costs Report

You will take the ICP (Intercompany Profit) Item Costs as above (based on sourcing rules in this example), and store them in a cost type. These item costs are derderivedived bbyy comparing the SourcSourcee Org’sOrg’s (Src Org) item costs with the To Org’s item costs, by analyzing the soursourcingcing ruleruless to determine which Org ships to which OrOrg.g. The difference is the Intercompany Profit in Inventory item cost. You could also calculate this by comparcomparinging the priceprice lists against the standard costs, but since the Transfer Price ususuallyually equals the standard cost for the To Org (or Receiving OrgOrg as in the earlier example), comparing item costs is easier to do.

Onhand Inventory ICP Value Report

The Onhand Inventory ICP Value Report (ICP = Inter-Company Profit) multiplies the ICP item costs times the onhand quantity at month-end to calculate the month-end Profit in Inventory Values. This report gives you thethe month-end Profit in Inventory Values, fforor comparisoncomparison against last month’s values. Sample SSQLQL is available in the Appendix section.

WIP ICP Value Report

Similar to the Onhand Inventory ICP Value Report, the WIP ICP Value Report multiplies the ICP item costs times the calculated WIP component quantities for month-endnd,, to derive the month-end ProProfitfit in Inventory Values.Values. Note

COLLABORATE 10 — OAUG Forum Copyright ©2010 Douglas Volz Consulting, Inc. Page 11 of 33

Does Rel. 12 Solve Global Inter-Company Issues for Multiple Ledgers, Profit in Inventory and COGS?

that WIP stored onhand quantities do not exist; you will have to create custom SQL logic to compare the total component quantities issued to a WIP job against the component quantities consumed through the completion of your WIP assemblies. This component quantity informationinformation can be found in the WIP table called WIP_REQUIREMENT_OPERATIONS, as it tracks the componcomponentent requirements.requirements. The table called WIP_DISCRETE_JOBS stores the number of assemblies completed at a point in time.

WIP ICP Value Report

As a double-check or a confirmation of the ending balances, last month’s ending ICP balances minus this month’s ending balances should be equal to:

To produce this report you will add up the monthly material transactions for quantities and values, for your Subinventory and Intransit entries (where the accounting line type is Inventory or Intransit, 1 or 14), and multiply the quantities by the ICP Item Costs. Here is a samplesample for this report:report:

ICP Material Transactions Report

You will use the monthly change in your Profit in Inventory to adjust your inter-company ccostost of goods sold. But what should you use as the offset account to your reductions (or increases) to inventory? It is not alalwaysways inter- company cost of goods sold. To help in this regard, similar to the above reportreport,, for your non-inventory accounting entries (where the accounting line type is not Inventory or Intransit, not 1 or 14), and multiply the quantities by the ICP Item Costs. Here is a sasamplemple for this report:report:

COLLABORATE 10 — OAUG Forum Copyright ©2010 Douglas Volz Consulting, Inc. Page 12 of 33

Does Rel. 12 Solve Global Inter-Company Issues for Multiple Ledgers, Profit in Inventory and COGS?

WIP Component ICP Variance Report

If you use WIP your WIP components may have ICP in the item costs. For example, the previous WIP ICP VValuealue Report shows the component 900990 with an ICP item cost of 1.00 EUR. Assuming you are using WIP jobs, when you close your jobs you will reduce your ICP value in WIP as part of the WIP variances. But your WIP vvariancesariances are overstated by the ICP amount. If you do not accaccountount for this properly your variancesvariances will be oversoverstatedtated as well as your Profit in Inventory. Here is a sample report:

Caveats with Profit in Inventory Solutions

•• Wise to use 3rd party tools to spespeeded ICP item cost data entry. More4Apps has MS Excel solutionssolutions for fast item cost entry, using the Open Item Cost interfaces •• This solution models your Profit in InventorInventoryy adjustmentsadjustments but it is not 100% accurate. Why? oo Currency changes will cause inaccinaccuraciesuracies (i.e. Standard cost based on 1.3 USD/Euro, but inter-org transfers use the current daily transaction rate of 1.5) oo If you have multiple Profit in Inventory Item Costs you will need to manually adjust your calculations as the ICP item cost in a particular inventory org may be a composite or average of ICP item costs •• Transfer price changes will cause inaccuracies oo The weighted average ICP has to be kept by organization, or, oo Revalue your ICP amounts with the latest transfer priceprice changes oo In the ideal world, store the ICP item costs:  by item, org  and keep track of the average ICP item costs to accaccuratelyurately relieve profit in inventory and keep track of the original currency rate and ICICPP amounts in use

COLLABORATE 10 — OAUG Forum Copyright ©2010 Douglas Volz Consulting, Inc. Page 13 of 33

Does Rel. 12 Solve Global Inter-Company Issues for Multiple Ledgers, Profit in Inventory and COGS?

Time Sensitive Setups

When you enter your shipping network, intercompany transaction flows and inter-company rerelationshipslationships thethe setups are immediately effective. You cannot stage your changes for future use, thertheree are no effective dates. This makes cutting in business changes (such as a new model introduction)introduction) more difficultdifficult to do. Here are some screen shots showing these Oracle forms.

Shipping Network Form

Intercompany Transactions Flows and Intercompany ReRelationslations Form

COLLABORATE 10 — OAUG Forum Copyright ©2010 Douglas Volz Consulting, Inc. Page 14 of 33

Does Rel. 12 Solve Global Inter-Company Issues for Multiple Ledgers, Profit in Inventory and COGS?

Release 12 Challenges for Inventory Reconciliation

Typically when you have global inventory you hahaveve mmoreore inventory reconciliation issues. There are some improvements in Release 12, but the following issues persist:

•• The differences between the perpetual and accounted-for inventory balances are trapped in a table •• You can see it on the Period Close Reconciliation Report, but oo Most users and analysts don’t know about it oo This report is limited to a single warehouse oo And it shows all items whether or not in stock

Ideally you would have a Multi-Org Perpetual vs. Accounted-ForAccounted-For Report, such as:

Out-Of-Balance Reporting

COLLABORATE 10 — OAUG Forum Copyright ©2010 Douglas Volz Consulting, Inc. Page 15 of 33

Does Rel. 12 Solve Global Inter-Company Issues for Multiple Ledgers, Profit in Inventory and COGS?

This report is based on the month-month-endend cost snapshot table CST_PERIOD_CLOSE_SUMMARY. WWhenhen you close the inventory accounting period the Period Close ReconciliationReconciliation Report runs and it populates tthishis tabltable.e. It stores the month-end perpetual quantities by taking a read of the onhand and intransit quantities at the time you close the inventory accounting period, and should the next inventory accounting period be open, it will subtract away any quantity changes due to transactions that were playplayeded in the new month. It also takes last month’s perpetual quantity, adds together the monthly accounted for material transactions to come up with the cumulative accounted quantities and values. This report is used as a reconciling item for balancingbalancing your InventoryInventory ValueValue reports to your General Ledger.

This is the same source for the month-end quantities for the Onhand Inventory ICP Value Report..

Subledger Accounting and Inventory Valuation Reporting and Reconciliation

Due to the flexibility of Subledger Accounting, Oracle Cost Development felt it was necessary to remove the material valuation accounts from the Inventory Value Reports, as with Subledger Accounting, you can no longer use the Subinventory or Material Parameter setups to determinedetermine the valuation accounts. So for example if you rrunun the Inventory Value Report, choose the Option Summary, all you will get is the totals by Subinventory and in Total. You will not see any inventory valuation accounts.

For the same reasons they disabled the Receiving Value by Destination Account Report, thinking that the Subledger Accounting Account Balances and other reports would be sufficient.

So if you are accruing your expense receipts at timtimee of receipt (on-line accrualsaccruals for expenses) and also have inventory, it is very difficult to see if you have inventory or expenses in your Receiving Value. You can no longer run the Receiving Value by DestinDestinationation Account Report.

Do note that Release 12 does offofferer valuable reconcireconciliationliation improvements. All of the Inventory Valuation Reports have a “as of date” concept. You can run these reports and backdate them to a desired transaction date. The report will get the currentcurrent quantitiesquantities and valuesvalues and subtract away subsequent transactions until it reaches ththee desiredesiredd “as of date”.

Subledger Accounting and Material and WIP DistributDistributionion Inquiries and Reports

As mentioned earlier, in Release 12 there have been important changes to the underlyingunderlying tabletables.s. But as outlined

belowan existing the Cost Cost Transaction Transaction tables Report from (i.e. the for prior Discr releaseete Costing, still exist. such And as the this Material may cause Account some Distribut confusionconfusiionon if Summary you run Report), especially after you have used SLA to modimodifyfy the accounting string. The old CostCost Distribution tables will use the old account string and the new SLA tables will use the revised account string (CODE_COMBINATION _ID). After Create Accounting is run the Cost TransactionTransactionss also reside in the SLA table structures. In effeceffectt there is another cost accounting layer in Release 12, as the tables from the prior release are still available.

To complicate matters further the CST: Account Summarization profile has been removed. Unlike Releases 10, 11 and 11i, if you use Standard Costing you can no longer summarize your entries across cost elements, you must book all your cost accounting entries by cost element. If the new subledger inquiries and reports showedshowed tthehe needed operational details (such as item, transaction type, quantity and so forth) you could summarize across cost elements in your Subledger Accounting information and you would nnotot care. But currently up to Release 12.2 you cannot see operational details on the Subledger Accounting inquiries and reports so you are stuck using the older Material Distribution and WIP Distribution inquiries and reports. And these transaction accounting distribution reporreportsts andnda inquiries do not show the cost element either.

COLLABORATE 10 — OAUG Forum Copyright ©2010 Douglas Volz Consulting, Inc. Page 16 of 33

Does Rel. 12 Solve Global Inter-Company Issues for Multiple Ledgers, Profit in Inventory and COGS?

Here is a conceptual diagram for many of the related tables:

Conclusion

Subledger Accounting offers good flexibility for allowing you to set up your Accounting Flexfields as desired on your transactions and in doing so solves many account classification issues.

But overall we still have the same inter-company accounting challenges as Release 11i, such as:

•• Non-Shippable Items •• Non-Invoiced Items •• Internal Fulfillment returns (lack of a “RTV” transactiontransaction for internal orders)

And we still have challenges on ship dates vs. invoinvoiceice dates. If you require sepaseparaterate customer acceptance dates,

6-Mar-2010.your invoice datesTo get should around be thisbased we on created your customera batch program acceptance to inintercept dates,tercept not the ship invoice dates. lines This beforebe isfore a currencurrent Autoinvoicet issue asruns, of in order to correctly set the invoice date.

In addition, inter-company profit solutions are not standastandardrd functionality. You need to plan ahead in orderorder to give yourself enough time to create workable solutions. This paper gives insight and recommendations for approachesapproaches you might take to resolve these requirements.

And with the nature of global inventory, inventorinventoryy reconciliation issues are amplified. And unfortununfortunately,ately, Release 12 both hurt and helped with inventory reconciliation:

•• Inventory value reports have as “as of date” which is very good indeed! •• But most reports have no valuation accounts •• Still only single warehouse •• Period Close Reconciliation Report not well used

Thanks for allow us to share our experiences with you.you.

COLLABORATE 10 — OAUG Forum Copyright ©2010 Douglas Volz Consulting, Inc. Page 17 of 33

Does Rel. 12 Solve Global Inter-Company Issues for Multiple Ledgers, Profit in Inventory and COGS?

Acknowledgements

Jerry and Doug wish to thank for following individuals for their contributions to this paper:

•• Oracle Cost Management Development, for meeting with Doug to discuss these challenges

•• Hans Kolbe, lead for the OAUG Multi-Org SIG

Additional information is available from:

•• ““ Manufacturing Accounting by ProdProductuct Line For ReleaReleasese 11”. OAUG Paper from Doug Volz. This paper explains how the underlying manufacturing transactions work in Oracle; including a deeper look at material transaction types, sources and transaction actions.

About the Authors

Both Jerry DeVore and Douglas Volz have over 25 yeayearsrs experience, including industry positipositionsons and the use of the Oracle Applications. Jerry DeVore is a Senior Consultant with CSC. His 25 years of industry experienceexperience as a plant controller and Supply Chain manager make him uniquely aware of requirements in Manufacturing Cost and Supply Chain. He has been involved with the conversion of multiplmultiplee legacy systems both peer to peer and to OracleOracle ERP solutions. Jerry has implemented Oracle for the last seven yeayearsrs and these implementations includedincluded a variety of manufacturing operations from continuous process manufacturing to batch operations to large distributidistributionon and inventory management solutions. Most recently he waswas the ManufacturingManufacturing Cost/Supply Chain lead for an OracOraclele Release 12 implementation, with a global footprint, having multiple currencies, ledgers, operating units and inventory organizations.

Doug is a former Cost Accounting Manager from multiple industries with many of them having a global footprint. His industry experience plus his Oracle design experienceexperience with Oracle Cost Management and rrelatedelated applications gives him insights into solving these inter-company and Cost Accounting reconciliation challenges.

Doug is President of Douglas Volz Consulting, Inc., founded in 2005 with the goal of helping Oracle customers use and implement Oracle Financial and Manufacturing aappplications.plications. As a Senior Architect and Advisor fforor Oracle Application projects, Doug has over 30 years of experience,experience, including 5 years in Oracle Development (co-designing Oracle Cost Management), 11 years in industry in Cost and Accounting Management positions and 16 years international consulting . His Manufacturing and CoCostst systems experience covercoverss project management, business process/systems design, delivery and consulting services, for both Oracle Corporation, and multiple international consulting firms. Prior to his systems career, Mr. Volz also held numerous management accounting positions for telecommunications, defense, and electronics companies.

Doug has led the OAUG Discrete ManufacManufacturingturing Cost SSub-Committeeub-Committee since 2007. He also advisesadvises and participates on the Oracle Customer Advisory Board for Fusion CostingCosting and for the Fusion SCM Strategy Council. In addition, Doug has presented papers at OpenWorld, UKOUG and OAUGOAUG conferences over the past 16 years on BusiBusinessness Transformation, Change Management and Cost Accounting topitopics.cs.

Doug may be reached at [email protected] or at www.volzconsulting.com ; Jerry may be reached at [email protected].

COLLABORATE 10 — OAUG Forum Copyright ©2010 Douglas Volz Consulting, Inc. Page 18 of 33

Does Rel. 12 Solve Global Inter-Company Issues for Multiple Ledgers, Profit in Inventory and COGS?

APPENDIX

1.1. Accounting Line Types

2.2. Technical Overview for Material and WIP Transaction Tables

3.3. Sample SQL Code for ReReleaselease 12 Material Distribution Report

4.4. Sample SQL Code for Release 12 WIP Distribution ReportReport

5.5. Sample SQL Code for the Onhand Inventory ICP Value Report

COLLABORATE 10 — OAUG Forum Copyright ©2010 Douglas Volz Consulting, Inc. Page 19 of 33

Does Rel. 12 Solve Global Inter-Company Issues for Multiple Ledgers, Profit in Inventory and COGS?

1.1. Accounting Line Types

The following accounting line types descridescribebe the purposepurpose for the accounting entries. In ReleaseRelease 11i only Oracle Cost Management used this concept (MTL_TRANSACTION_ACCOUNTS, WIP_TRANSACTION_ACCOUNTS), and to a lesslesserer degree thethe A/R distridistributionbution tables. InIn

Release 12 the Receiving Accounting table also uses accounting line types:

COLLABORATE 10 — OAUG Forum Copyright ©2010 Douglas Volz Consulting, Inc. Page 20 of 33

Does Rel. 12 Solve Global Inter-Company Issues for Multiple Ledgers, Profit in Inventory and COGS?

2.2. Inventory and WIP Transaction Tables

The manufacturing accounting entries are held in the tables MTL_TRANSACTION_ACCOUNTS and WIP_TRANSACTION_ACCOUNTS (the PO receipt accruals are held in RCV_TRANSACTIONS and RCV_RECEIVING_SUB_LEDGER, but are not part of this discussion)discussion).. The underlying table structures are:

MTL_PARAMETERS holds the most basic definition of the Inventory Organization or warehouse, holding the costing method, default inventory valuation accounts and default inventory controls for the warehouse. MTL_PARAMETERS join to the complex HR Organization tables; for more information see the view definition for ORG_ORGANIZATION_DEFINITIONS.

MTL_SYSTEM_ITEMS_B defines your items in the item masteraster.. Depending on your Key Flexfield definitiondefinition,, the item number is usually held in the SEGMENT1 column, with the INVENTORY_ITEM_ID and the ORGANIZATION_ID the key defining columns for this table. Each inventory organization has its own setset of itemitems,s, grouped together by ORGANIZATION_ID. A child table, MTL_SYSTEM_ITEMS_TL, holds the foreiforeigngn langualanguagege translations for your item descriptions. And typicatypicallylly a “master” Item Master organization iiss set up, holding all of the items for each and every inventory organization.organization.

MTL_MATERIAL_TRANSACTIONS holds the material transatransactionsctions for inventory and WIP, including transferstransfers ttoo Project Accounting (into non-inventory related projects), aass well as into Project Manufacturing prprojects.ojects. The unique reference is the TRANSACTION_ID for eaeachch row. The ORGANIZATION_ID tells you which inventoinventoryry organization the transaction belongs to for most transactions (except for certain organization to organization transfers, called Direct Inter-Org TraTransfers).nsfers). So it is much safer to join the Item Master’s ORGANIZATION_IDORGANIZATION_ID to the Material Accounting Table, MTL_TRANSACTION_ACCOUNTS, as the ORGANIZATION_ID in this table always represents the correct inveinventoryntory warehouse. The material transaction types are defined in a tabtablele called MTL_TRANSACTION_TYPES, which includes the TRANSACTION_SOURCE_TYPE_ID (source of the transaction, such as Purchase Order, Sales Order andand so forth) and the TRANSACTION_ACTION_ID (how thethe transaction affects the inventory balances, issuing versus receiving the quantities into inventory).

And these columns are not easy to use as their meanings vary by TRANSACTION_SOURCE_TYPE_ID, TRANSACTION_ACTION_ID and MTL_TRANSACTION_TYPE_ID. For example, for a given project transfer,transfer, to correctly pick up the PROJECT_ID or TO_PROJECT_ID or SOURCE_PROJECT_ID information you need to first look at the TRANSACTION_ACTION_ID. And for MiscellaneousMiscellaneous Project TransfTransfersers the logic is reversed for COLLABORATE 10 — OAUG Forum Copyright ©2010 Douglas Volz Consulting, Inc. Page 21 of 33

Does Rel. 12 Solve Global Inter-Company Issues for Multiple Ledgers, Profit in Inventory and COGS?

choosing the PROJECT_ID or TO_PROJECT_ID or SOURCE_PROJECT_IDSOURCE_PROJECT_ID information. The same is true for the Subinventory Code, as sometimes you use the SUBINVENTORY_CODE column and sometimes the TRANSFER_SUBINVENTORY_CODE column, depending on the TRANSACTION_ACTION_ID and TRANSACTION_SOURCE_TYPE_ID.

MTL_TRANSACTION_ACCOUNTS holds the material accounting entries for the parent material transactions

table.MTL_TRANSACTION_ACCOUNTS. For each row in MTL_MATERIAL_TRANSACTIONS It joins to MTL_MATERIAL_TRANSACTIONS ththereere can be none to many rows using in thethe TRANSACTION_ID, but generally speaking you should never join these two tables by ORGANIZATION_ID. MTL_TRANSACTION_ACCOUNTS joins to the item master MTL_SYSTEM_ITEMS_B table using the INVENTORY_ITEM_ID and the ORGANIZATION_ID columns. The BASE_TRANSACTION_VBASE_TRANSACTION_VALUEALUE column is the Debit (positive number) or the CreCreditdit (negative)(negative) number for the accountingaccounting entry. The ACCOUNTING_LINE_TYPE gives you the purpose of the aaccountingccounting entry, such as Inventory (1), Intransit (14), WIP (7) and Account (2) for entries such as Cost of Goods Sold. Please see the appendix for a list of Release 12 Accounting Line Types. And for Release 11i, the REFERENCE_ACCOUNT column hholdsolds the code_combination_id found in the GL_CODE_COMBINATIONS table (the table which defines the Accounting Flexfield values). Note that in Release 12 SubledgerSubledger AccoAccountingunting has ththee final say for the AccountingAccounting FlexfieldFlexfield values. If using Release 12 you should join to the SubledgeSubledgerr Accounting tables to ggetet the correct account numbers.

The WIP job is defined in WIP_ENTITIES, listing the ENTITY_TYPE (Discrete job, Repetitive Schedule, EAM Job and so forth). The name of the job is in the WWIP_ENTITY_NAMEIP_ENTITY_NAME columcolumnn and the assembly being made onon the job, or the repetitive assembly is referenced in the PRIMARY_ITEM_ID column. (Note: other tables are used to define WIP jobs, repetitive schedules, EAM jobs and work-order completions, but this is beyond the scope of this paper.)

WIP_TRANSACTIONS holds the WIP resource, outside prprocessing,ocessing, cost updates and item-based overhead transactions for your discrete jobs, repetitive schedules and work-orderless completions, as well as the straight-straight-

onforward a lookup PROJECT_ID code and the ccolumn.olumn. ORGANIZATION_ID Unlike MTL_MATERIAL_TRANSACTIONS, reliably references the inventory TRANSACTION_TYPETRANSACTIO organization. N_TYPE is based WIP_TRANSACTIONS also references the assembly being worked upon by joining the WIP_ENTITY_ID to WIP_ENTITIES.PRIMARY_ITEM_ID column.

COLLABORATE 10 — OAUG Forum Copyright ©2010 Douglas Volz Consulting, Inc. Page 22 of 33

Does Rel. 12 Solve Global Inter-Company Issues for Multiple Ledgers, Profit in Inventory and COGS?

WIP_TRANSACTION_ACCOUNTS holds the WIP Resource, OvOverhead,erhead, Cost Update and Variance accounaccountingting entries for the parent WIP transactions table (WIP component issues, returns and Assembly completcompletionsions are in the Material Transaction tables). For each row in WIP_TWIP_TRANSACTIONSRANSACTIONS there can be none to many rows inin WIP_TRANSACTION_ACCOUNTS. It joins to WIP_MATERIAL_TRANSACTIONS using thethe TRANSACTION_ID. MTL_TRANSACTION_ACCOUNTS joins to tthehe item master MMTL_SYSTEM_ITEMS_BTL_SYSTEM_ITEMS_B table using the INVENTORY_ITEM_IINVENTORY_ITEM_IDD and the ORGANIZATORGANIZATION_IDION_ID columns. The BASE_TRANSACTION_VALUE column is the Debit (positive number) or the Credit (negative) number for the accounting entry. And the ACCOUNTING_LINE_TYPE givesgives you the purpose of the accounting entry, such as Inventory (1), Intransit (14), WIP (7) and Account (2) for entries such as WIP ScraScrapp Account. Please see the appendix for a list of Release 12 Accounting Line Types.Types. And for Release 11i, the REFERENCE_ACCOUNT column holds the code_combination_id found in the GL_CODE_COMBINATIONS table (the table which defines the Accounting Flexfield values). Note that in ReleReleasease 12 Subledger Accounting has thethe final say for the Accounting Flexfield values. If using Release 12 yoyouu should join to the SubledgeSubledgerr Accounting tables to getget the correct account numbers.

3.3. SSample Release 12 Material Distribution Report

//** +======+======+==+ ---- | CCopopyriyri ghghtt 22000099--22001100 Dououggllas D as VVolol z CCononsulsul ttiingng,, II ncnc.. || ---- | AAllll r iri gghhtts s r e seers r v eedd.. || ---- | PePerrmmiissission ttoo uusese tthhiiss cocoddee iiss ggrranantteded pprrovoviiddeedd tthhee oriori ggiinnaall autthhoorau r iiss || ---- | acacknknoowwlleeddggeedd.. NNoo wwarrarr ananttiiees,s, eexpxprreessss or otherrwwiise othe se iiss iinnclcl uuddeded iinn tthhiiss || ---- | ppeermrmiississi oonn.. || ---- +======+======+==+ - - | ---- | OOrriigigi nnalal AuAutthhor:or: DDououggllasas VVolol z ((ddavavolol z@[email protected]. nenett)) - - | ---- | PrProgramam ogr NNamame:e: XXXXXX_XLA_XLA_M_MTL_ACTL_ACCCTS_DTS_DETAETAIIL_L_RREPTEPT..sqlsql - - | ---- | PaParramameetteerrs:s: ---- | P_OPEPERRAATITI P_O NNGG_U_UNNIITT ---- opoperaterat iingng ununiitt paparramametet erer ---- | P_TRRXX_D_DAATETE_FR P_T _FROOMM ---- stst artart iingng ttrranansactisacti on ddateate ---- | P_TRRXX_D_DAATETE_TOP_T _TO ---- enendidingng ttrranansactsact iionon dadattee - - | ---- | DDees cscr iri ppt iti oonn:: ---- | RReepportort ttoo ggetet t hhee mmateriateri aall acaccocouunnttiinngg enenttrriieess bbyy acaccocouunntt,, ---- | ttrraannsasactct iioonn ttypypee aanndd aaccoccouunnttiinngg lliinnee ttypypee.. - - | ---- | VVeerrsisi oonn MMooddiiffiieded oonn MMooddiiffiieedd bbyy DDesescricri ppttii onon ---- | ======---- | 11..00 0066 NNovov 22000099 DDououggll as VVolol z IInini ttiialal CCododiinngg ---- | 1.1.11 11 NNovov 20200909 DDououglgl as VVolol z AAddddeded OOrrgg CCododee anandd ttrranansactsact iionon IIDD ---- | 1.1.22 12 NNovov 22000099 DDououglgl as VVolol z AAddddeded iittemem anandd dedescrscr iiptipti onon ---- | 1.1.3 06 JJanan 20201010 DDououglgl as VVolol z MMadadee dadatteses a paparramametet erer ---- | 1.1.44 12 JJanan 22010100 DDououglgl as VVolol z AAddddeded ququananttiittyy anandd ununiitt cost colcol umumnsns ---- +======+======+*==+*//

selselect glgl ..nanammee "Ledgger"er" "Led ,, hahaouou22..nanamme "e " OOpeperratat iingng UUnini tt",", mmp.p.organiizatzat organ iionon_cod_code "e " OOrrgg Codode",e",C oapoap..peperriiodod_nam_name "e " PePerriiodod Namame",e",N gcc1gcc1..codcode_come_combibi nanattiionon_i_i d "CC"CCIIDD"",, mmll..mmeaeanining ""AAcctcct LiLine TyTypepe",", mmtttt..ttrranansactsact iionon_t_t ypype_name_namee "Txn NNamame",e", mmttaa..ttrraannsasactct iionon_i_i d "Tx"Txnn IIdd",", gcc1. segmsegmenentt11 "Co"",,"Co gcc1gcc1..segsegmmenentt22 "Cost"Cost CCttrr",", gcc1gcc1..segsegmmenentt33 "Acct "",, gcc1gcc1..segsegmmenentt4 "4 " SuSub-b- AAcctcct ",", gcc1. segmsegmenentt55 "Prod GGrrp",p", gcc1. segmsegmenentt66 ""Loc",Loc",

gcc1gcc1..segsegmmenentt7segmmenentt87 "8 " "I"I FuFutture1nter ure1"",, CCo",o", gcc1gcc1..segsegmmenentt9 "9 " FuFutture2ure2"",, mmsisi ..segsegmmenentt1 "1 " IIttemem",", mmsisi ..ddeescriscri ppttiioonn "D"Deescriscri ppttiioonn",",

COLLABORATE 10 — OAUG Forum Copyright ©2010 Douglas Volz Consulting, Inc. Page 23 of 33

Does Rel. 12 Solve Global Inter-Company Issues for Multiple Ledgers, Profit in Inventory and COGS?

DDEECCOODDEE((mmttaa..acaccocouunnttiinngg_l_l iinnee_t_t ypype,e, 77,, ''WWIIPP'',, 1144,, '''',, 11,, DDECECOODDE (E ( mmmmtt..ttrranansactsact iionon_act_act iionon_i_i d,d, 2, DDECECOODDE (E ( SISI GGNN ((mmtta.a. pripri mmaary_quantintiry_qua tty)y) ,, --11,, mmmmtt..subsubiinvnvenenttory_codeory_code,, 11,, mmmmtt..ttrranansfsf er_suber_subiinvnvenenttory,ory, mmmmtt..subisubi nvenventnt orory_code )),, 3, DDECECOODDE (E ( mmmmtt..organorganiizatzat iionon_i_i d,d, mmtta.a. orgaorganini zati onon_i_i dd,, mmmmtt..susubibi nnvevennttory_codory_code,e, mmmmtt..ttrranansfsf er_er_ subsubiinvnvenenttoryory )),, 221,1, DDECECOODDE (E ( SISI GGNN (mtta.a.(m pripri mmary_quaary_quantinti tty)y) ,, --11,, mmmmtt..subsubiinvnvenenttory_codeory_code,, 11,, mmmmtt..ttrranansfsf er_suber_subiinvnvenenttory,ory, mmmmtt..subisubi nvenventnt orory_code )),, 222,2, DDECECOODDE (E ( SISI GGNN (mtta.a.(m pripri mmary_quaary_quantinti tty)y) ,, --11,, mmmmtt..subsubiinvnvenenttory_codeory_code,, 11,, mmmmtt..ttrranansfsf er_suber_subiinvnvenenttory,ory, mmmmtt..subisubi nvenventnt orory_code )),, 228,8, DDECECOODDE (E ( SISI GGNN (mtta.a.(m pripri mmary_quaary_quantinti tty)y) ,, --11,, mmmmtt..subsubiinvnvenenttory_codeory_code,, 11,, mmmmtt..ttrranansfsf er_suber_subiinvnvenenttory,ory, mmmmtt..subisubi nvenventnt orory_code )),, mmmmtt..subisubinventnt nve orory_code )) ) "Subbiinnvv",", "Su mmtta.a. pprriimmary_quary_quananttiittyy "Q"Qtty",y", sumsum((nvlnvl ((alal ..AACCCCOOUUNNTETEDD_D_DRR,,0)0) - nvlnvl ((alal ..AACCCCOOUUNNTETEDD_CR_CR,,0)0)) // ddeecocodde((e(( mmtta.a. pprriimmaarry_qy_quuaannttiitty),y), 00,,11,,((mmttaa..pprriimmaarry_qy_quuaannttiitty))y)) "U"Unniitt Cosostt",",C sumsum((nvlnvl ((alal ..ACACCCOOUUNNTEDTED_D_DRR,,0)0) - nvlnvl ((alal ..AACCCCOOUUNNTEDTED_CR_CR,,0)0) ) ") "Amoun Amountt"" ffromrom iinnvv..mmttll_tr_tr aannsasacticti oonn_a_accccoouunntsts mmttaa,, iinnv.v. mmttll_m_materater iialal _t_t rranansactisacti ononss mmmmtt,, iinnv.v. mmttll_t_t rraannsasacticti oonn_t_t ypypeess mtttt,,m iinvnv..mmttll_syst_syst emem_i_i ttemems_bs_b mmsisi ,, iinnv.v. oorrgg_ac_acctct _p_peerriiooddss oapp,,oa apps. GGL_L_ COCODDE_E_COCOMMBIBI NNATIATI OONNS_S_KFVKFV gccgcc1,1, iinvnv..mmttll_pa_parramameteters mmp,p, apapps.ps. mmffg_lg_l ooookukupsps mll,,m hrhr ..HHRR__OORRGGANANIIZAZATITI OONN_I_I NNFOFORRMMATATIIOONN hoioih ,, hhr.r. hhr_alr_al ll_o_orrggaanniizazattiioonn_u_unniittss hhaaoouu,, ---- iinnvv_o_orrggaanniizazattiioonn_i_i dd hhr.r. hhr_alr_al ll_o_orrggaanniizazattiioonn_u_unniittss hhaaoouu22,, ---- ooppeeratirati nngg uunniitt ggll..ggll_ l_l eeddggeerrs s ggll,, xxllaa..xxllaa_tr_tr aannsasacticti oonn_e_ennttiittii eess eennt,t, xlxl aa..xlxl aa_ev_eveennttss xexe,,

xlxlxxllaa..xxllaa_ a.a. xlxla_ae_h a_a d_diise_heaeadderss t r i bbuuters iti oonn_ ahh,,a l_l iinnkkss xxddll,, xxllaa..xxllaa_a_aee_l_l iinneess alla ---- ======---- MMaatteeriri aall TTranransasacticti oonn,, oorgrg annda d iitteemmjjooiinnss ---- ======wwheherree mmtta.a. ttrranansactisacti onon_i_i d ==mmmmtt..ttrranansactisacti onon_i_i dd anandd mmmmtt..ttrranansactisacti onon_t_t ypype_ie_id = mmtttt..ttrranansactisacti onon_t_t ypype_ie_i dd aanndd mmttaa..oorrggaanniizazattiionon_i_i d ==mmsisi ..oorrggaanniizazattiionon_i_i dd anandd mmtta.a. iinvnvenenttory_iory_i ttemem_i_i d ==mmsisi ..iinvnvenenttory_iory_i ttemem_i_i dd aanndd mmpp..orgaorganniizazattiioonn_i_i d ==mmsisi ..oorrggaanniizazattiionon_i_i dd ---- ======---- IInnvevennttoryory OrrgO g aaccoccouunnttiinngg peerriioodp jjd oioi nnss ---- ======anandd oapoap..peperriiodod_nam_namee ==ahah..peperriiodod_nam_namee aanndd oaoapp..oorrggaanniizazattiionon_i_i d ==mmttaa..oorrggaanniizazattiionon_i_i dd ---- ======---- VVersiersion 11..33,, adadddeded llooookukupp valalv uueses t o seseee moremore dettaiaide ll ---- ======anandd mmll..llookookupup_t_type ==''CCSTST_AC_ACCCOOUUNNTITI NNGG_LI_LI NNE_TYPE_TYPE'E' anandd mmll..llooookukup_cop_coddee ==mmtta.a.accouounnttiinngg_l_l acc iinne_typee_type ---- ======---- MMaterater iialal TranTransactisacti on ddateate annda d accouounnttiinng acc g code cod jje oioi nsns ---- ======

COLLABORATE 10 — OAUG Forum Copyright ©2010 Douglas Volz Consulting, Inc. Page 24 of 33

Does Rel. 12 Solve Global Inter-Company Issues for Multiple Ledgers, Profit in Inventory and COGS?

anandd mmtta.a. ttrranansactsact iionon_dat_datee >>==tto_dao_datte(e( ''&&P_TRP_TRXX_FRO_FROMM_YYYY_YYYY_M_MMM_D_DDD'',,''YYYYYYY/Y/ MMMM//DDDD HHHH2424::MMII::SSSS'')) ---- P_TRX__DDATE P_TRX ATE__FROFROMM anandd mmtta.a. ttrranansactsact iionon_dat_datee < tto_dao_datte(e( ''&&P_TRP_TRXX_TO_TO_YYYY_YYYY_M_MMM_D_DDD'',,''YYYYYYY/Y/ MMMM//DDDD HHHH2424::MMII::SSSS''))++11 ---- P_TRX__DDATE P_TRX ATE__TOTO ---- ======---- usiusi ng tthhee bbasease ttabablleses t o aavovoiidd the pperferformanance orm ce i ssuessuess ---- wwiitthh oorrgg_orga_organniizazattiionon_d_deeffiinniittiiononss annda d hhrr_op_opeerraattiinngg_u_unniittss ---- ======aanndd hhoioi ..org_iorg_i nnffoorrmmatiati onon_co_conntteextxt ==''AAccoccouunnttiinngg IInnffoorrmmaattiioonn'' aanndd hhoioi ..orgaorganniizazattiionon_i_i d ==mmttaa..orgaorganniizazattiionon_i_i dd aanndd hhoioi ..orgaorganniizazattiionon_i_i d ==hhaoaouu..oorrggaannii zazattiioonn_i_id - - tthhiiss ggeettss tthhee oorrggaanniizazattiionon nnaammee anandd hahaouou22..orgaorganniizatizati onon_i_i d ==tto_no_nuummbber(er( hhoioi ..org_iorg_i nfor mmatiati onon33)) ---- tthhiiss ggeetts ts t hhee ooppeeratirati nngg uunniitt iidd aanndd ggll..lleeddggeerr_i_i d ==ttoo_n_nuummbbeerr((hhoioi ..org_iorg_i nnffoorrmmatiati onon11)) ---- ggeett tthhee llededggeerr_i_i dd ---- ======---- SLA ttabablle jje oioi ns to gegett tthehe exexactact accountaccount nummbeberrssnu ---- ======AANNDD ent ..entent iitty_cy_codeode ==''MMTL_ACTL_ACCCOOUUNNTITI NNGG_EVE_EVENNTS'TS' AANNDD enentt..apappplliicacattiionon_i_i d ==770077 AANNDD xexe..aapppplliicacattiioonn_i_i d ==eenntt ..aapppplliicacattiioonn_i_i dd AANNDD xexe..evevenentt_i_i d ==xdxdll..evevenentt _i_i dd AANNDD aahh..eennttiitty_y_iidd ==eenntt..eennttii ttyy_i_i dd AANNDD ahah..lleeddggeerr_i_i d ==enentt..llededgger_ier_i dd AANNDD aahh..aapppplliicacattiioonn_i_i d ==aall.. aapppplliicacattiioonn_i_i dd AANNDD ahah..apapplpl iicaticati onon_i_i d ==770077 AANNDD ahah..evevenentt_i_i d ==xexe..evevenentt_i_i dd AANNDD ahah..aeae_he_headader_er_ iidd ==alal ..aeae_he_headader_er_ iidd AANNDD aall..aapppplliicacattiioonn_i_i d ==eenntt ..aapppplliicacattiioonn_i_i dd AANNDD alal ..lleeddggeerr_i_i d ==ahah..lleeddggeerr_i_i dd AANNDD alal ..AEAE_HE_HEADADERER_I_ID ==xdlxdl ..AAE_HE_HEAEADDERER_I_I DD AANNDD alal ..AAE_LIE_LI NNE_NE_NUUMM ==xdxdll..AAE_LIE_LI NNE_NE_NUUMM AANNDD xdxdll..aapppplliicacattiioonn_i_i d ==eenntt..aapppplliicacattiioonn_i_i dd AANNDD xdlxdl ..sourcsourc e_di stst rriibubuttiionon_t_t ypypee ==''MMTL_TRTL_TRAANNSASACCTITI OONN_AC_ACCCOOUUNNTSTS'' AANNDD xdxdll..sousourrce_dce_diistst rriibbuuttiionon_i_i dd_nu_numm_1_1 ==mmtta.a. iinnv_suv_subb_l_l ededgger_ier_i dd AANNDD gcc1gcc1..codcode_come_combibi nanattiionon_i_i d ==alal ..codcode_come_combibi nanattiionon_i_i dd ---- ======grgroup byyb glgl ..nanamme,e, haou2haou2..namname,e, mmpp..orgaorganniizatizati onon_cod_code,e, oapoap..peperriiodod_nam_name,e, gcgcc1c1..codcode_coe_commbibi nnatiati onon_i_i dd,, mmll..mmeaneaniingng,, mmtttt..ttrranansactisacti onon_t_t ypype_ne_namame,e, mmttaa..ttrraannsasactct iionon_i_i dd,, gcc1. segmsegmenentt1,1, gcc1. segmsegmenentt2,2,

gcc1. segmsegmenentt4,4,segmenentt3,3, gcc1. segmsegmenentt5,5, gcc1. segmsegmenentt6,6, gcc1. segmsegmenentt7,7, gcc1. segmsegmenentt8,8, gcc1. segmsegmenentt9,9, mmsisi ..segmsegmenentt1,1, mmsisi ..ddeescriscri ppttiioonn,, DDEECCOODDEE((mmttaa..acaccocouunnttiinngg_l_l iinnee_t_t ypype,e, 77,, ''WWIIPP'',, 1144,, '''',, 11,, DDECECOODDE (E ( mmmmtt..ttrranansactsact iionon_act_act iionon_i_i d,d, 2, DDECECOODDE (E ( SISI GGNN ((mmtta.a. pripri mmaary_quantintiry_qua tty)y) ,, --11,, mmmmtt..subsubiinvnvenenttory_codeory_code,, 11,, mmmmtt..ttrranansfsf er_suber_subiinvnvenenttory,ory, mmmmtt..subisubi nvenventnt orory_code )),, 3, DDECECOODDE (E ( mmmmtt..organorganiizatzat iionon_i_i d,d, mmtta.a. orgaorganini zati onon_i_i dd,, mmmmtt..susubibi nnvevennttory_codory_code,e, mmmmtt..ttrranansfsf er_er_ subsubiinvnvenenttoryory )),, 221,1, DDECECOODDE (E ( SISI GGNN (mtta.a.(m pripri mmary_quaary_quantinti tty)y) ,, --11,, mmmmtt..subsubiinvnvenenttory_codeory_code,, 11,, mmmmtt..ttrranansfsf er_suber_subiinvnvenenttory,ory, mmmmtt..subisubi nvenventnt orory_code

COLLABORATE 10 — OAUG Forum Copyright ©2010 Douglas Volz Consulting, Inc. Page 25 of 33

Does Rel. 12 Solve Global Inter-Company Issues for Multiple Ledgers, Profit in Inventory and COGS?

)),, 222,2, DDECECOODDE (E ( SISI GGNN (mtta.a.(m pripri mmary_quaary_quantinti tty)y) ,, --11,, mmmmtt..subsubiinvnvenenttory_codeory_code,, 11,, mmmmtt..ttrranansfsf er_suber_subiinvnvenenttory,ory, mmmmtt..subisubi nvenventnt orory_code )),, 228,8, DDECECOODDE (E ( SISI GGNN (mtta.a.(m pripri mmary_quaary_quantinti tty)y) ,, --11,, mmmmtt..subsubiinvnvenenttory_codeory_code,, 11,, mmmmtt..ttrranansfsf er_suber_subiinvnvenenttory,ory, mmmmtt..subisubi nvenventnt orory_code )),, mmmmtt..subisubinventnt nve orory_code )) )),, mmtta.a. pprriimmary_quary_quananttiittyy ordeorderr by 11,,22;;

4.4. Sample Release 12 WIP Distribution Report:

//** +======+======+==+ ---- | CCopopyriyri ghghtt 22000099--22001100 Dououggllas D as VVolol z CCononsulsul ttiingng,, II ncnc.. || ---- | AAllll r iri gghhtts s r e seers r v eedd.. || ---- | PePerrmmiissission ttoo uusese tthhiiss cocoddee iiss ggrranantteded pprrovoviiddeedd tthhee oriori ggiinnaall autthhoorau r iiss || ---- | acacknknoowwlleeddggeedd.. NNoo wwarrarr ananttiiees,s, eexpxprreessss or otherrwwiise othe se iiss iinnclcl uuddeded iinn tthhiiss || ---- | ppeermrmiississi oonn.. ||

----- +======+======| ======+==+ ---- | OOrriigigi nnalal AuAutthhor:or: DDououggllasas VVolol z ((ddavavolol z@[email protected]. nenett)) - - | ---- | PrPr ogogrramam NNamame:e: XXXXXX_XLA_XLA_W_WIIP_ACP_ACCCTSTS_D_DETETAAIIL_REL_REPTPT..sqlsql - - | ---- | PaParramameetteerrs:s: ---- | P_OPEPERRAATITI P_O NNGG_U_UNNIITT ---- opoperaterat iingng ununiitt paparramametet erer ---- | P_TRRXX_D_DAATETE_FR P_T _FROOMM ---- stst artart iingng ttrranansactisacti on ddateate ---- | P_TRRXX_D_DAATETE_TOP_T _TO ---- enendidingng ttrranansactsact iionon dadattee - - | ---- | DDees cscr iri ppt iti oonn:: ---- | RRepeportort ttoo ggetet t hhee WWIIPP accaccouountinting enenttrriieses by accouunt,acco nt, ttrranansactisacti onon ---- | ttypypee aanndd aaccoccouunnttiinngg lliinnee ttypypee.. - - | ---- | VVeerrsisi oonn MMooddiiffiieded oonn MMooddiiffiieedd bbyy DDesescricri ppttii onon ---- | ======---- | 11..00 0066 NNovov 22000099 DDououggll as VVolol z IInini ttiialal CCododiinngg ---- | 2.2.00 11 NNovov 22000099 DDououglgl as VVolol z FiFi xexedd jjoioi n fforor pripri mmary_assemary_assemblbl y_iy_i dd ---- | 3.3.00 11 NNovov 20200909 DDououglgl as VVolol z AAddddeded OOrrgg CCododee anandd ttrranansactsact iionon IIDD ---- | 4.4.00 12 NNovov 22000099 DDououglgl as VVolol z AAddddeded iittemem anandd dedescrscr iiptipti onon ---- | 5.5.00 05 JJanan 22010100 DDououglgl as VVolol z AAddddeded org jjoioi ns fforor wwacac anandd wwdjdj , t t, o avavoioi dd ---- | cr oos sss--jjooiinniinngg ---- +======+======+*==+*//

seselleectct glgl ..nanammee ""LedLedgegerr",", hahaouou22..nanamme "e " OOpeperratat iingng UUnini tt",", mmp.p.organiizatzat organ iionon_cod_code "e " OOrrgg Codode",e",C oapoap..peperriiodod_nam_name "e " PePerriiodod Namame",e",N mmll..mmeaeanining ""AAcctcct LiLine TyTypepe",", mmll2.2. mmeaneaniingng ""WWIIPP TTrranansactsact iionon TypType",e", wwttaa..ttrraannsasacticti oonn_i_id "Txxn"T IIn dd",", gcc1. segmsegmenentt11 "Co"",,"Co gcc1gcc1..segsegmmenentt22 "Cost"Cost CCttrr",", gcc1gcc1..segsegmmenentt33 "Acct "",, gcc1gcc1..segsegmmenentt4 "4 " SuSub-b- AAcctcct ",", gcc1. segmsegmenentt55 "Prod GGrrp",p", gcc1. segmsegmenentt66 ""Loc",Loc", gcc1gcc1..segsegmmenentt77 "I"Inter CCo",o", gcc1gcc1..segsegmmenentt8 "8 " FuFutture1ure1"",, gcc1gcc1..segsegmmenentt9 "9 " FuFutture2ure2"",, ---- DDEECCOODDEE((wwttaa..acaccocouunnttiinngg_l_l iinnee_t_t ypype,e, 77,, ''WWIIPP'',, 1144,, '' IInnttrranansisi tt'',, 11,, ''SSuubbiinnvevennttoorry'y') "A"Accoccouunntt Type" Type",, COLLABORATE 10 — OAUG Forum Copyright ©2010 Douglas Volz Consulting, Inc. Page 26 of 33

Does Rel. 12 Solve Global Inter-Company Issues for Multiple Ledgers, Profit in Inventory and COGS?

mmsisi ..segsegmmenentt1 "1 " IIttemem",", mmsisi ..ddeescriscri ppttiioonn "D"Deescriscri ppttiioonn",", wwacac..clclass_codde ass_co e "WIIP"W P CCllass",ass", sumsum((nvlnvl ((alal ..ACACCCOOUUNNTEDTED_D_DRR,,0)0) - nvlnvl ((alal ..AACCCCOOUUNNTEDTED_CR_CR,,0)0) ) ") "Amoun Amountt"" ffromrom wwiipp..wwiipp_tr_tr aannsasacticti oonn_a_accccoouunntsts wttaa,,w wwiipp..wwiipp_t_t rraannsasacticti oonnss wwtt,, wwiipp..wwiipp_acco_accouuntinti ngng_cl_classes asses wwacac,, wwiipp..wwiipp_d_diiscretscret ee_j_j oobbss wddjj,,w apapps.ps. mmffg_lg_lookupups ook s mmll2,2, iinvnv..mmttll_syst_syst emem_i_i ttemems_bs_b mmsisi ,, iinnv.v. oorrgg_ac_acctct _p_peerriiooddss oapp,,oa apps. GGL_L_ COCODDE_E_COCOMMBIBI NNATIATI OONNS_S_KFVKFV gccgcc1,1, iinvnv..mmttll_pa_parramameteters mmp,p, apapps.ps. mmffg_lg_l ooookukupsps mll,,m hrhr ..HHRR__OORRGGANANIIZAZATITI OONN_I_I NNFOFORRMMATATIIOONN hoioih ,, hhr.r. hhr_alr_al ll_o_orrggaanniizazattiioonn_u_unniittss hhaaoouu,, ---- iinnvv_o_orrggaanniizazattiioonn_i_i dd hhr.r. hhr_alr_al ll_o_orrggaanniizazattiioonn_u_unniittss hhaaoouu22,, ---- ooppeeratirati nngg uunniitt ggll..ggll_ l_l eeddggeerrs s ggll,, xxllaa..xxllaa_tr_tr aannsasacticti oonn_e_ennttiittii eess eennt,t, xlxl aa..xlxl aa_ev_eveennttss xexe,, xxllaa..xxllaa_ d_diiss t r i bbuut iti oonn_ l_l iinnkkss xxddll,, xlxl a.a. xlxla_ae_h a_ae_heaeaddersers ahh,,a xxllaa..xxllaa_a_aee_l_l iinneess alla ---- ======---- MMaatteeriri aall TTranransasacticti oonn,, oorgrg annda d iitteemmjjooiinnss ---- ======wwhheerree wwttaa..ttrraannsasactct iioonn_i_i d = wwtt..ttrranansasacticti oonn_i_i dd aanndd wwttaa..oorrggaanniizazattiionon_i_i d ==mmsisi ..oorrggaanniizazattiionon_i_i dd ---- ffiixx for vveersirsi oonn 22..00,, uusese wwddjj nnoott wwtt anandd wwddjj..pprriimmary_iary_i ttemem_i_i d ==mmsisi ..iinvnvenenttory_iory_i ttemem_i_i dd ----aanndd wwtt..pprriimmaarry_iy_i tteemm_i_i d = mmsisi ..iinnvevennttoorry_iy_i ttemem_i_i dd ---- eenndd ffiixx for verrsisive oonn 22..00 ---- anandd wwtt..ttrranansactisacti onon_t_t ypypee ==44 ---- WWIIPP cost upddateup ate aanndd mmpp..orgaorganniizazattiioonn_i_i d ==mmsisi ..oorrggaanniizazattiionon_i_i dd ---- ggeett aallll ooff tthheemmttoo seseee ththee ooffffsesett aaccoccouunnttss ----aanndd wwttaa..aaccoccouunnttiinngg_l_l iinnee_t_t ypypee i n ((11,,1144)) ---- 1 ==IInnvveennttooryry vvaalluuaattiioonn eennttrriieess ---- 1144 ==IInntrtr aannsisit vvaalluuaatiti oonn eenntrtr iieess ---- ======anandd wwacac..clclass_codde ass_co e ==wwddjj..clclass_coddee ass_co aanndd wwddjj..wwiipp_e_ennttiittyy_i_i d ==wwtt.. wwiipp_e_ennttiittyy_i_i dd aanndd wwaac.c. oorrggaanniizazattiionon_i_i d ==wwddjj..oorrggaanniizazattiioonn_i_i dd ---- ======---- IInnvevennttoryory OrrgO g aaccoccouunnttiinngg peerriioodp jjd oioi nnss ---- ======aanndd oaoapp..aacct_pecct_perriioodd_i_i d ==wwtt..acacctct _p_perieri odod_i_i dd ---- ======

---- VVersi======ersion 11..33,======, adadddeded llooookukup======p valalv ======uueses t o seseee======moremore dettaiaide======ll anandd mmll..llookookupup_t_type ==''CCSTST_AC_ACCCOOUUNNTITI NNGG_LI_LI NNE_TYPE_TYPE'E' anandd mmll..llooookukup_cop_coddee ==wwtta.a.accouounnttiinngg_l_l acc iinne_typee_type and mmll2.2. llookupookup_t_type ==''WWIIP_TRAP_TRANNSASACCTITI OONN_TYPE_SH_TYPE_SHOORRT'T' anandd mmll22..llooookukupp_cod_codee ==wwtt..ttrranansactisacti onon_t_t ypypee ---- ======---- MMaterater iialal TranTransactisacti on ddateate annda d accouounnttiinng acc g code cod jje oioi nsns ---- ======anandd wwtta.a. ttrranansactsact iionon_dat_datee >>==tto_dao_datte(e( ''&&P_TRP_TRXX_FRO_FROMM_YYYY_YYYY_M_MMM_D_DDD'',,''YYYYYYY/Y/ MMMM//DDDD HHHH2424::MMII::SSSS'')) ---- P_TRX__DDATE P_TRX ATE__FROFROMM anandd wwtta.a. ttrranansactsact iionon_dat_datee < tto_dao_datte(e( ''&&P_TRP_TRXX_FRO_FROMM_YYYY_YYYY_M_MMM_D_DDD'',,''YYYYYYY/Y/ MMMM//DDDD HHHH2424::MMII::SSSS''))++11 ---- P_TRX__DDATE P_TRX ATE__TOTO ---- ======---- usiusi ng tthhee bbasease ttabablleses t o aavovoiidd the pperferformanance orm ce i ssuessuess ---- wwiitthh oorrgg_orga_organniizazattiionon_d_deeffiinniittiiononss annda d hhrr_op_opeerraattiinngg_u_unniittss ---- ======aanndd hhoioi ..org_iorg_i nnffoorrmmatiati onon_co_conntteextxt ==''AAccoccouunnttiinngg IInnffoorrmmaattiioonn'' aanndd hhooii..oorgarganniizazattiioonn_i_i d ==wwttaa..oorgarganniizazattiioonn_i_i dd aanndd hhoioi ..orgaorganniizazattiionon_i_i d ==hhaoaouu..oorrggaannii zazattiioonn_i_id - - tthhiiss ggeettss tthhee oorrggaanniizazattiionon nnaammee anandd hahaouou22..orgaorganniizatizati onon_i_i d ==tto_no_nuummbber(er( hhoioi ..org_iorg_i nfor mmatiati onon33)) ---- tthhiiss ggeetts ts t hhee ooppeeratirati nngg uunniitt iidd aanndd ggll..lleeddggeerr_i_i d ==ttoo_n_nuummbbeerr((hhoioi ..org_iorg_i nnffoorrmmatiati onon11)) ---- ggeett tthhee llededggeerr_i_i dd ---- ======

COLLABORATE 10 — OAUG Forum Copyright ©2010 Douglas Volz Consulting, Inc. Page 27 of 33

Does Rel. 12 Solve Global Inter-Company Issues for Multiple Ledgers, Profit in Inventory and COGS?

---- SLA ttabablle jje oioi ns to gegett tthehe exexactact accountaccount nummbeberrssnu ---- ======AANNDD ent ..entent iitty_cy_codeode ==''WWIIP_ACP_ACCCOOUUNNTITI NNGG_EVE_EVENNTS'TS' AANNDD enentt..apappplliicacattiionon_i_i d ==770077 AANNDD xexe..aapppplliicacattiioonn_i_i d ==eenntt ..aapppplliicacattiioonn_i_i dd AANNDD xexe..evevenentt_i_i d ==xdxdll..evevenentt _i_i dd AANNDD aahh..eennttiitty_y_iidd ==eenntt..eennttii ttyy_i_i dd AANNDD ahah..lleeddggeerr_i_i d ==enentt..llededgger_ier_i dd

AANNDD ahah..apapplplaahh..aapppplliicacattiioonn_i_i iicaticati onon_i_i d ==aall.==770077. aapppplliicacattiioonn_i_i dd AANNDD ahah..evevenentt_i_i d ==xexe..evevenentt_i_i dd AANNDD ahah..aeae_he_headader_er_ iidd ==alal ..aeae_he_headader_er_ iidd AANNDD aall..aapppplliicacattiioonn_i_i d ==eenntt ..aapppplliicacattiioonn_i_i dd AANNDD alal ..lleeddggeerr_i_i d ==ahah..lleeddggeerr_i_i dd AANNDD alal ..AEAE_HE_HEADADERER_I_ID ==xdlxdl ..AAE_HE_HEAEADDERER_I_I DD AANNDD alal ..AAE_LIE_LI NNE_NE_NUUMM ==xdxdll..AAE_LIE_LI NNE_NE_NUUMM AANNDD xdxdll..aapppplliicacattiioonn_i_i d ==eenntt..aapppplliicacattiioonn_i_i dd AANNDD xdlxdl ..sourcsourc e_di stst rriibubuttiionon_t_t ypypee ==''WWIIP_TRP_TRAANNSASACCTITI OONN_AC_ACCCOOUUNNTSTS'' AANNDD xdxdll..sousourrce_dce_diistst rriibbuuttiionon_i_i dd_nu_numm_1_1 ==wwtta.a. wwiip_sup_subb_l_l ededgger_ier_i dd AANNDD gcc1gcc1..codcode_come_combibi nanattiionon_i_i d ==alal ..codcode_come_combibi nanattiionon_i_i dd ---- ======grgroup byyb glgl ..nanamme,e, haou2haou2..namname,e, mmpp..orgaorganniizatizati onon_cod_code,e, oapoap..peperriiodod_nam_name,e, mmll..mmeaneaniingng,, mmll2.2. mmeaneaniingng,, wwttaa..ttrraannsasacticti oonn_i_i dd,, gcc1. segmsegmenentt1,1, gcc1. segmsegmenentt2,2, gcc1. segmsegmenentt3,3, gcc1. segmsegmenentt4,4, gcc1. segmsegmenentt5,5, gcc1. segmsegmenentt6,6, gcc1. segmsegmenentt7,7, gcc1. segmsegmenentt8,8, gcc1. segmsegmenentt9,9, ---- DDEECCOODDEE((wwttaa..aaccccoouunnttiinngg_l_l iinnee_t_t yyppee,, 77,, ''WWIIPP'',, 1144,, '' IInnttranransisi tt'',, 11,, ''SSuubbiinnvveennttoorryy'')) ,, mmsisi ..segmsegmenentt1,1, mmsisi ..ddeescriscri ppttiioonn,, wwac.ac. clclass_codee ass_cod order by 11,,22;;

5.5. Sample Release 12 ICP Inventory Value Report:

//** +======+======+==+ ---- | CCopopyriyri gghhtt 22000099 DDoouuggllaass VVoollzz CCoonnsusullttiinngg,, IInnc.c. || ---- | AAllll r iri gghhtts s r e seers r v eedd.. || ---- | PPermermiississi oonn ttoo uusese tthhiiss cocoddee iiss ggrraanntteedd pprroovivi ddeded tthhee oorriiggiinnalal auutthhoora r iiss || ---- | acknacknowowllededggeedd.. NoNo wwaarrrraannttiiees,s, expxprreesse ss or ootthheerrwwiisese iiss i nnclcl uuddeedd iinn tthhiiss || ---- | ppeermrmiissssiioonn.. || ---- +======+======+==+ - - | ---- | OOrriiggiinnalal AAuutthohorr:: DDououglgl as VVolol z (z ( dadavovollz@[email protected]. nnet)et) - - | ---- | PrPr ogogrramam NNamame:e: XXXXXX_I_I CCP_IP_I NNVVENENTOTORRY_VY_VAAL_REL_REPT.PT. sqlsql - - | ---- | PaParramameetteerrs:s: ---- | P_PERRIIOODD_N_NAAMME P_PE E ---- AAccouccountinting peperriiodod yoyouu wwiishsh ttoo rrepeportort fforor ---- | TThhiiss pparamarameetterer iiss aallsoso uusesedd ttoo ggeett tthhee cocorrrreectct ---- | cucurrrreenncycy coconnveverrsisi on rraattee ---- | P_IP_I CCP_CP_COOSTST_TYP_TYPEE ---- TThehe nanammee of tthehe cost ttypypee tthahatt hahass tthahatt

----- | mmonontthh''ss IICCPP cocostst ss ---- | ======---- | NNOOTE:TE: THTHIISS SCRIIPT SCR PT UUSESSES THTHEE IITEMTEM COCOSTSSTS FROFROMMTHTHEE MMOONNTHTH--ENENDD SNSNAPSHAPSHOOT;T; ---- | THTHIISS SCSCRRIIPTPT OONNLYLY NNEEDEEDSS THTHEE IICCPP CCOOSTSSTS IINN THTHEE IICCPP CCOOSTST TYPE.

COLLABORATE 10 — OAUG Forum Copyright ©2010 Douglas Volz Consulting, Inc. Page 28 of 33

Does Rel. 12 Solve Global Inter-Company Issues for Multiple Ledgers, Profit in Inventory and COGS?

---- | ======- - | ---- | DDees cscr iri ppt iti oonn:: ---- | RRepeportort ttoo shshowow mmonontth-h- enendd iinvnvenenttoryory vavallueues is i n tthehe peperriiodod enendd snasnapshpshotot t hahatt iiss ---- | crcr eaeatteded wwhehenn youyou clcl ose tthhe ie i nvnvenenttoryory perierip odods.s. ThThiis rs r epeportort alalso showowssh tts hhee ---- | mmateriateri aall acaccocouunntt ffoorr eeaachch susubbiinnvevennttoorryy annda d iinnttrranansisit lloocacattiioonn.. - - | ---- | VVersiersi oonn MMododiiffiieedd onon MooddiiffiiedM ed bbyy DDeescriscri ppttiioonn

---- | | 11..0======0======227======7 SSep======ep======22000099 DDououglgl======as======VVolol z=== IInini ======ttiial======al CododiingngC======---- | 11..11 2288 SSepep 22000099 DDououglgl as VVolol z AAddddeded a sumf or the IICCPP costs ffrromciomci cdcd ---- | 1. 2 01 OOctct 20200909 DDougougllasas VoVollzz RRememovedoved tthehe addiittiion add on of cpcs. RROOLLBALLBACCK_IK_I NNTRTRANANSISIT_VALULUEE T_VA ---- | ffrroommtthhee ffiirstrst qquueeryry ((hhaadd zezerroo vavalluuee)) aanndd ---- | rrememoveovedd tthehe adaddidi ttiionon of cpcs. RROOLLBLLBAACCK_VK_VAALULUEE ffrromom ---- | tthehe seconndseco d IIntrntr anansisit qquuery,ery, wwhhiichch wwasas ddououbblliingng ---- | uupp the iinnttranransisi t vvaalluuee.. ---- | 1.1.33 19 NNovov 20200909 DDououglgl as VVolol z AAddddeded tthehe GG//LL Ledgeger Led r NamameN e ttoo tthehe rrepeporor tt ---- | 1.1.44 03 MMarar 2010102 0 DDououglgl as VVOOllzz MMadadee tthhee IICCPP cost t ype a paparramametet erer ---- | and set tthehe compan companyy account number number based onon ---- | tthhee iittemem''ss cocostst ooff ggooooddss sosolldd aaccoccouunntt ---- +======+======+*==+*//

---- ======---- TThhee fi rrstst seselleectct ggeetts ts t hhee peerriioodd--eenndp d qquuaannttiittiiees fs f rroommtthhee subbiinnvveennttooririsu eess ---- ======selselect glgl ..nanammee "Ledgger"er" "Led ,, hahaouou22..nanamme "e " OOpeperratat iingng UUnini tt",", oapoap..peperriiodod_nam_name "e " PePerriiodod Namame",e",N mmp.p.organiizatzat organ iionon_cod_code "e " OOrrgg Codode",e",C gcc2. segmsegmenentt11 "Co"",,"Co gcc1gcc1..segsegmmenentt22 "Cost"Cost CCttrr",", gcc1gcc1..segsegmmenentt33 "Acct "",, gcc1gcc1..segsegmmenentt4 "4 " SuSub-b- AAcctcct ",", gcc2. segmsegmenentt55 "Prod GGrrp",p", gcc1. segmsegmenentt66 ""Loc",Loc", gcc1gcc1..segsegmmenentt77 "I"Inter CCo",o", gcc1gcc1..segsegmmenentt8 "8 " FuFutture1ure1"",, gcc1gcc1..segsegmmenentt9 "9 " FuFutture2ure2"",, cpcpcs.cs. susubbiinnvevennttoorry_cy_cododee "Subbiinnv/v/ "Su IInnttrranansisi tt",", mmsisi ..segmsegmenentt11 ""IIttemem NNumumbeberr"",, mmsisi ..ddeescriscri ppttiioonn "D"Deescriscri ppttiioonn",", ggll..cucurrrreenncycy_co_coddee "C"Cuurrrr",", rrououndnd((((nvnvll((cpcs.cpcs. RROOLLBLLBAACCKK_VA_VALULUE,E, 00)))) // dedecodecode((nvlnvl ((cpcs.cpcs. RROOLLBLLBAACCKK_Q_QUUAANNTITI TYTY,,0),0), 0, 1, nnvlvl ((cpcpcs.cs. RROOLLBLLBAACCKK_Q_QUUAANNTITI TYTY,,00)))),,55)) "G"Grrososss I ttemCoemCostst ",", ---- RReevivi sisi oonn ffoorr veversirsi oonn 11.. 11 nnvlvl ((((sesellecectt susumm((nnvlvl ((cici cdcd..II TTEEMM_C_COOSST,T, 00))))

ffrroomm bbomom..cstcst bboomm..cst_icst_i_cost_ tteemm_co_cost_de ttypypesst_dettaaiillses cctcct ,, s cici cdcd,, bombom..bombom_r_r esour ces brbr wwhheerree cici cdcd..iinnvevennttory_iory_i tteemm_i_i d ==mmsisi ..iinnvevennttory_iory_i ttemem_i_i dd aanndd cici cdcd..oorgarganniizazattiioonn_i_i d ==mmsisi ..oorrggaanniizazattiioonn_i_i dd aanndd bbrr..rreesosouurrcece_i_i d ==cici cdcd..rr eesosouurrcece_i_i dd aanndd bbrr..rreesosouurrcece_co_coddee ==''IICCPP'' aanndd cct. cocost_tst_t yyppee_i_i d ==cici cdcd..cocost_tst_t yyppee_i_i dd anandd cctcct ..cost_tcost_t ypypee ==''&&P_IP_I CCP_CP_COOSST_TT_TYPYPEE'')),,00)) "I"I CCPP IIttemCoemCostst ", ---- P_COOSTST_TY P_C _TYPEPE rrououndnd((((nvnvll((cpcs.cpcs. RROOLLBLLBAACCKK_VA_VALULUE,E, 00)))) // dedecodecode((nvlnvl ((cpcs.cpcs. RROOLLBLLBAACCKK_Q_QUUAANNTITI TYTY,,0),0), 0, 1, nvnvll((cpcs.cpcs. RROOLLBLLBAACCKK_Q_QUUAANNTITI TYTY,,00)))),,5)5) + ---- RReevivi sisi oonn ffoorr veversirsi oonn 11.. 11 ((nnvlvl ((((seselleectct susumm((nnvlvl ((cici cdcd.. IITTEEMM_C_COOSSTT,,00)))) ffrroomm bboomm..cst_icst_i tteemm_co_cost_dest_dettaaiillss cici cdcd,, bbomom..cstcst_cost_ ttypypeses cctcct ,, bombom..bombom_r_r esour ces brbr wwhheerree cici cdcd..iinnvevennttoorry_iy_i tteemm_i_i d ==mmsisi ..iinnvevennttoorry_iy_i tteemm_i_i dd aanndd cici cdcd..oorgarganniizazattiioonn_i_i d ==mmsisi ..oorgarganniizazattiioonn_i_i dd aanndd bbrr..rresesoouurrcece_i_i d ==cici cdcd..rr eesosouurrcece_i_i dd aanndd bbrr..rresesoouurrcece_co_coddee ==''IICCPP'' aanndd cccctt..cocost_tst_t ypypee_i_i d ==cici cdcd..cocost_tst_t yyppee_i_i dd aanndd cct. cocostst _t_t ypypee ==''&&PP_I_I CCP_CP_COOSST_TT_TYPYPEE'')),,00)))) "N"Neett IItteemmCCoostst ", ---- P_COST_TYPE P_COST_TYPE

COLLABORATE 10 — OAUG Forum Copyright ©2010 Douglas Volz Consulting, Inc. Page 29 of 33

Does Rel. 12 Solve Global Inter-Company Issues for Multiple Ledgers, Profit in Inventory and COGS?

mmsisi ..prpr iimmarary_uom_c_code y_uom ode "UOMM"",,"UO sumsum((nvlnvl ((cpcs.cpcs. RROOLLBLLBAACCKK_Q_QUUAANNTITI TYTY,,0))0)) ""QQuauantnt iitty",y", sumsum((nvlnvl ((cpcs.cpcs. RROOLLBLLBAACCKK_VA_VALULUE,E,0)) ""IInv.nv. OOnhnhanandd VValal ueue"",, rrououndnd((sumsum((nvlnvl ((cpcs.cpcs. RROOLLBLLBAACCKK_Q_QUUAANNTITI TY,TY, 0)0) ) ** ---- RReevivi sisi oonn ffoorr veversirsi oonn 11.. 11 nnvlvl ((((seselleectct susumm((nnvlvl ((cici cdcd..II TTEEMM_C_COOSSTT,,00)))) ffromrom bboomm..cst_icst_i tteemm_co_cost_dest_dettaaiillss cici cdcd,, bbomom..cstcst_cost_ ttypypeses cctcct ,,

wwhhereere bombom..bom cici cdcd..iinnvevennttory_ibom_r_r esourory_i ces tteemm_i_i brbr d ==mmsisi ..iinnvevennttory_iory_i ttemem_i_i dd aanndd cici cdcd..oorgarganniizazattiioonn_i_i d ==mmsisi ..oorrggaanniizazattiioonn_i_i dd aanndd bbrr..rreesosouurrcece_i_i d ==cici cdcd..rr eesosouurrcece_i_i dd aanndd bbrr..rreesosouurrcece_co_coddee ==''IICCPP'' aanndd cct. cocost_tst_t yyppee_i_i d ==cici cdcd..cocost_tst_t yyppee_i_i dd anandd cctcct ..cost_tcost_t ypypee ==''&&P_IP_I CCP_CP_COOSTST_TY_TYPEPE'')),,00)),,22)) ""ToTottalal I CCPP OOnhnhanandd VValal ueue"",, ---- P_COP_COSTST_TYPE_TYPE sumsum((nvlnvl ((cpcs.cpcs. RROOLLBLLBAACCKK_VA_VALULUE,E,0)) ++ rrououndnd((sumsum((nvlnvl ((cpcs.cpcs. RROOLLBLLBAACCKK_Q_QUUAANNTITI TY,TY, 0)0) ) ** ---- RReevivi sisi oonn ffoorr veversirsi oonn 11.. 11 nnvlvl ((((seselleectct susumm((nnvlvl ((cici cdcd..II TTEEMM_C_COOSST,T, 00)))) ffromrom bboomm..cst_icst_i tteemm_co_cost_dest_dettaaiillss cici cdcd,, bobomm..cstcst_cost_ ttypypeses cctcct ,, bombom..bombom_r_r esour ces brbr wwhhereere cici cdcd..iinnvevennttory_iory_i ttemem_i_i d ==mmsisi ..iinnvevennttoorry_iy_i ttemem_i_i dd aanndd cici cdcd..oorrggaanniizazattiioonn_i_i d = mmsisi ..oorrggaanniizazattiioonn_i_i dd aanndd bbrr..rreesosouurrcece_i_i d ==cici cdcd..rr eesosouurrcece_i_i dd aanndd bbrr..rreesosouurrcece_co_coddee ==''IICCP'P' aanndd cct. cocost_tst_t yyppee_i_i d ==cici cdcd..cocost_tst_t ypypee_i_i dd anandd cctcct ..cocostst _t_t ypypee ==''&&P_IP_I CCPP_COOSST_T_C T_TYPYPE'E' )),,00)),,22)) ""TotalTotal NNetet OOnhnhanandd VValal ueue"" ---- P_COOSTST_TYPE P_C _TYPE ffrromom bobomm..cstcst_perriiodod_cl_cl _pe ose_sum ose_summmaryary cpcs, iinnv.v. oorrgg_ac_acctct _p_peerriiooddss oapp,,oa iinvnv..mmttll_pa_parramameteters mmp,p, iinvnv..mmttll_syst_syst emem_i_i ttemems_bs_b mmsisi ,, iinnv.v. mmttll_seco_seconndadarry_iy_i nvnvenenttoriories msusub,b,m glgl ..glgl _cod_code_coe_commbbiinanattiiononss gcgcc1c1,, ---- subsubiinvnvenenttoryory acaccoucountsnts glgl ..glgl _cod_code_coe_commbbiinanattiiononss gcc2gcc2,, ---- pprrododucuctt ggrrououpp iinfonfo f rromCOomCOGGSS accouuntnt acco hhr.r. hhr_orgar_organniizazattiioonn_i_i nnffoormrmaattiioonn hhooii,, hhr.r. hhr_alr_al ll_o_orrggaanniizazattiioonn_u_unniittss hhaaoouu,, hhr.r. hhr_alr_al ll_o_orrggaanniizazattiioonn_u_unniittss hhaaoouu22,, ggll..ggll_l_l eeddggeersrs ggll ---- ======---- IInnvevennttoryory accoaccouunnttiinngg pperieriod jjooiinnss ---- ======wwhheerree oaoapp..aacct_pecct_perriioodd_i_i d ==cpcpcs.cs. aacct_pecct_perriiodod_i_i dd aanndd oaoapp..oorrggaanniizazattiionon_i_i d ==mmpp..orgorgananiizazattiioonn_i_i dd and oapoap..perperiiod_namod_namee ==''&&PERPERIIOODD_NA_NAMME'E' ---- P_PERI OODD_NA_NAMMEE ---- ======---- SuSubbiinnvevennttory,ory, mmttll pparamarametereter , iittemmemmasteraster anandd pperieriod clclose snasnappshoshott jjoioi nnss ---- ======and mmsub.sub. SECSECOONNDDARARY_IY_I NNVEVENNTOTORYRY__NNAMAMEE ==cpcpcscs ..subisubinvent oror y_y_codecode aanndd mmsusubb..orgorgananiizazattiioonn_i_i d ==cpcpcs.cs. oorrggaanniizazattiioonn_i_i dd aanndd mmpp..orgaorganniizazattiioonn_i_i d ==cpcpcs.cs. oorrggaannii zazattiioonn_i_i dd aanndd mmpp..orgaorganniizazattiioonn_i_i d ==mmsisi ..oorrggaanniizazattiionon_i_i dd aanndd mmsisi ..oorrggaanniizazattiionon_i_i d ==cpcpcs.cs. oorrggaanniizazattiioonn_i_i dd aanndd mmsisi ..iinnvevennttoorry_iy_i ttemem_i_i d ==cpcpcs.cs. iinnvevennttoorry_iy_i ttemem_i_i dd ---- ======---- AAccoccouunnttiinngg coddeco e cocommbibi nnatiati on jjoioi nnss ---- ======anandd mmsubsub..mmaterater iialal _accou_accountnt ==gcc1gcc1..codcode_come_combibi nanattiionon_i_i dd anandd mmsisi ..cost_ofcost_of _sal es_aes_accoccoununtt ==ggcc2cc2..codcode_coe_commbbiinnatiati onon_i_i dd ---- ======---- OOrrggananiizatizati on jjoioi nns ts to the HRHR org mododelelm ---- ======aanndd hhooii..oorrgg_i_i nnfformormatiati oonn_co_connttexextt ==''AAccoccouunnttiinngg IInnffoorrmmaattiioonn'' aanndd hhooii..oorrggaanniizazattiionon_i_i d ==mmpp..orgorgananiizazattiioonn_i_i dd aanndd hhooii..oorrggaanniizazattiionon_i_i d ==hhaoaouu..oorrggaanniizazattiioonn_i_i d - - tthhiiss ggeettss tthhee oorrggaanniizazattiionon nnaammee anandd hahaouou22..orgaorganniizatizati onon_i_i d ==tto_no_nuummbeberr((hhoioi ..org_iorg_i nnfformormatiati onon33)) ---- tthhiiss ggeetts ts t hhee ooppeeratirati nngg uunniitt iidd aanndd gll..lleeddggeerr_i_ig d ==tto_no_nuummbbeerr((hhooii..orgorg_i_i nnffoorrmmaattiioonn11)) ---- ggetet tthhe llededgger_ier_i dd

COLLABORATE 10 — OAUG Forum Copyright ©2010 Douglas Volz Consulting, Inc. Page 30 of 33

Does Rel. 12 Solve Global Inter-Company Issues for Multiple Ledgers, Profit in Inventory and COGS?

---- ======---- lliimmiitt tthhee rowrows rs r eettuurrnneedd--ddonon''tt ggeett zezerroo rowrowss ---- ======and nvlnvl ((cpcs.cpcs. RROOLLBALLBACCK_QK_QUUAANNTITI TY,TY, 0) <<>>00 grgroup byyb glgl ..nanamme,e, haou2haou2..namname,e, oapoap..peperriiodod_nam_name,e,

gcc2.mmpp..orgaorganniizati segmsegmenentt1,1,zati onon_cod_code,e, gcc1. segmsegmenentt2,2, gcc1. segmsegmenentt3,3, gcc1. segmsegmenentt4,4, gcc2. segmsegmenentt5,5, gcc1. segmsegmenentt6,6, gcc1. segmsegmenentt7,7, gcc1. segmsegmenentt8,8, gcc1. segmsegmenentt9,9, cpcpcs.cs.subiinnvevennttory_cod sub ory_code,e, mmsisi ..segmsegmenentt1,1, mmsisi ..ddeescriscri ppttiioonn,, ggll..cucurrrreenncycy_co_coddee,, rrououndnd((((nvnvll((cpcs.cpcs. RROOLLBLLBAACCKK_VA_VALULUE,E, 00)))) // dedecodecode((nvlnvl ((cpcs.cpcs. RROOLLBLLBAACCKK_Q_QUUAANNTITI TYTY,,0)0) , 0, 1, nvnvll((cpcs.cpcs. RROOLLBLLBAACCKK_Q_QUUAANNTITI TYTY,,0))0)) ,,55)),, mmsisi ..iinnvevennttoorry_iy_i tteemm_i_i dd,, mmsisi ..oorgarganniizazattiioonn_i_i dd,, mmsisi ..prpr iimmarary_uom_c_code y_uom ode UUNNIIOONN ALL ---- ======---- ThThee sesecoconndd sesellecectt ggetsets t hhee pperieri oodd--eenndd qquuaannttiittiiees fs f rroommiinnttrranansisi tt ---- ======selselect glgl ..nanammee "Ledgger"er" "Led ,, hahaouou22..nanamme "e " OOpeperratat iingng UUnini tt",", oapoap..peperriiodod_nam_name "e " PePerriiodod Namame",e",N mmp.p.organiizatzat organ iionon_cod_code "e " OOrrgg Codode",e",C gcc2. segmsegmenentt11 "Co"",,"Co gcc1gcc1..segsegmmenentt22 "Cost"Cost CCttrr",", gcc1gcc1..segsegmmenentt33 "Acct "",, gcc1gcc1..segsegmmenentt4 "4 " SuSub-b- AAcctcct ",", gcc2. segmsegmenentt55 "Prod GGrrp",p", gcc1. segmsegmenentt66 ""Loc",Loc", gcc1gcc1..segsegmmenentt77 "I"Inter CCo",o", gcc1gcc1..segsegmmenentt8 "8 " FuFutture1ure1"",, gcc1gcc1..segsegmmenentt9 "9 " FuFutture2ure2"",, ''IInnt rtr aanns isit' t ' " S"Suubbiinnvv//IInnt rtr aanns isi t " ,t", mmsisi ..segmsegmenentt11 ""IIttemem NNumumbeberr"",, mmsisi ..ddeescriscri ppttiioonn "D"Deescriscri ppttiioonn",", ggll..cucurrrreenncycy_co_coddee "C"Cuurrrr",", rrououndnd((((nvlnvl ((cpcs.cpcs. RROOLLBLLBAACCKK_I_I NNTRTRAANNSISIT_VALULUE,E, T_VA 0)0) ) // dedecodecode((nvlnvl ((cpcs.cpcs. RROOLLBLLBAACCKK_Q_QUUAANNTITI TYTY,,0),0), 0, 1, nnvlvl ((cpcpcs.cs. RROOLLBLLBAACCKK_Q_QUUAANNTITI TYTY,,00)))),,55)) "G"Grrososss I ttemCoemCostst ",", ---- RReevivi sisi oonn ffoorr veversirsi oonn 11.. 11 nnvlvl ((((sesellecectt susumm((nnvlvl ((cici cdcd..II TTEEMM_C_COOSST,T, 00)))) ffrroomm bboomm..cst_icst_i tteemm_co_cost_dest_dettaaiillss cici cdcd,, bbomom..cstcst_cost_ ttypypeses cctcct ,, bombom..bombom_r_r esour ces brbr wwhheerree cici cdcd..iinnvevennttory_iory_i tteemm_i_i d ==mmsisi ..iinnvevennttory_iory_i ttemem_i_i dd aanndd cici cdcd..oorgarganniizazattiioonn_i_i d ==mmsisi ..oorrggaanniizazattiioonn_i_i dd aanndd bbrr..rreesosouurrcece_i_i d ==cici cdcd..rr eesosouurrcece_i_i dd aanndd bbrr..rreesosouurrcece_co_coddee ==''IICCPP'' aanndd cct. cocost_tst_t yyppee_i_i d ==cici cdcd..cocost_tst_t yyppee_i_i dd anandd cctcct ..cost_tcost_t ypypee ==''&&P_IP_I CCP_CP_COOSST_TT_TYPYPEE'')),,00)) "I"I CCPP IIttemCoemCostst",", ---- P_COOSST_TP_C T_TYPYPEE rrououndnd((((nvlnvl ((cpcs.cpcs. RROOLLBLLBAACCKK_I_I NNTRTRAANNSISIT_VALULUE,E, T_VA 0)0) ) // dedecodecode((nvlnvl ((cpcs.cpcs. RROOLLBLLBAACCKK_Q_QUUAANNTITI TYTY,,0),0), 0, 1, nvnvll((cpcs.cpcs. RROOLLBLLBAACCKK_Q_QUUAANNTITI TYTY,,00)))),,5)5) + ---- RReevivi sisi oonn ffoorr veversirsi oonn 11.. 11 ((nnvlvl ((((seselleectct susumm((nnvlvl ((cici cdcd.. IITTEEMM_C_COOSSTT,,00)))) ffrroomm bboomm..cst_icst_i tteemm_co_cost_dest_dettaaiillss cici cdcd,, bbomom..cstcst_cost_ ttypypeses cctcct ,,

COLLABORATE 10 — OAUG Forum Copyright ©2010 Douglas Volz Consulting, Inc. Page 31 of 33

Does Rel. 12 Solve Global Inter-Company Issues for Multiple Ledgers, Profit in Inventory and COGS?

bombom..bombom_r_r esour ces brbr wwhheerree cici cdcd..iinnvevennttoorry_iy_i tteemm_i_i d ==mmsisi ..iinnvevennttoorry_iy_i tteemm_i_i dd aanndd cici cdcd..oorgarganniizazattiioonn_i_i d ==mmsisi ..oorgarganniizazattiioonn_i_i dd aanndd bbrr..rresesoouurrcece_i_i d ==cici cdcd..rr eesosouurrcece_i_i dd aanndd bbrr..rresesoouurrcece_co_coddee ==''IICCPP'' aanndd cccctt..cocost_tst_t ypypee_i_i d ==cici cdcd..cocost_tst_t yyppee_i_i dd anandd cctcct ..cocostst _t_t ypypee ==''&&P_IP_I CCPP_COOSST_T_C T_TYPYPEE'')),,00)))) "N"Netet IIttemem CCost"ost",, ---- P_CP_COOSTST_TY_TYPEPE

sumsum((nvlnvlmmsisi ..prpr iimmarar ((cpcs.cpcs.y_uom_c_code y_uom RROOLLBLLBAACCKK_Q_QUUAANNTITIode "UOMM"",,"UO TYTY,,0))0)) ""QQuauantnt iitty",y", sumsum((nvlnvl ((cpcs.cpcs. RROOLLBLLBAACCKK_I_I NNTRTRAANNSISIT_VAALULUE,E, T_V 0)0) ) ""IInvnv.. OOnhnhanandd ValalV ueue"",, rrououndnd((sumsum((nvlnvl ((cpcs.cpcs. RROOLLBLLBAACCKK_Q_QUUAANNTITI TY,TY, 0)0) ) ** ---- RReevivi sisi oonn ffoorr veversirsi oonn 11.. 11 nnvlvl ((((seselleectct susumm((nnvlvl ((cici cdcd..II TTEEMM_C_COOSSTT,,00)))) ffromrom bboomm..cst_icst_i tteemm_co_cost_dest_dettaaiillss cici cdcd,, bbomom..cstcst_cost_ ttypypeses cctcct ,, bombom..bombom_r_r esour ces brbr wwhhereere cici cdcd..iinnvevennttory_iory_i tteemm_i_i d ==mmsisi ..iinnvevennttory_iory_i ttemem_i_i dd aanndd cici cdcd..oorgarganniizazattiioonn_i_i d ==mmsisi ..oorrggaanniizazattiioonn_i_i dd aanndd bbrr..rreesosouurrcece_i_i d ==cici cdcd..rr eesosouurrcece_i_i dd aanndd bbrr..rreesosouurrcece_co_coddee ==''IICCPP'' aanndd cct. cocost_tst_t yyppee_i_i d ==cici cdcd..cocost_tst_t yyppee_i_i dd anandd cctcct ..cost_tcost_t ypypee ==''&&P_IP_I CCP_CP_COOSTST_TY_TYPEPE'')),,00)),,22)) ""TotalTotal IICCPP OOnhnhanandd VValal ueue"",, ---- P_COSTST_TYPEP_CO _TYPE sumsum((nvlnvl ((cpcscpcs..RROOLLBALLBACCK_IK_I NNTRTRAANNSISIT_VALULUE,E, T_VA 0)0) ) ++ rrououndnd((sumsum((nvlnvl ((cpcs.cpcs. RROOLLBLLBAACCKK_Q_QUUAANNTITI TY,TY, 0)0) ) ** ---- RReevivi sisi oonn ffoorr veversirsi oonn 11.. 11 nnvlvl ((((seselleectct susumm((nnvlvl ((cici cdcd..II TTEEMM_C_COOSST,T, 00)))) ffromrom bboomm..cst_icst_i tteemm_co_cost_dest_dettaaiillss cici cdcd,, bobomm..cstcst_cost_ ttypypeses cctcct ,, bombom..bombom_r_r esour ces brbr wwhhereere cici cdcd..iinnvevennttory_iory_i ttemem_i_i d ==mmsisi ..iinnvevennttoorry_iy_i ttemem_i_i dd aanndd cici cdcd..oorrggaanniizazattiioonn_i_i d = mmsisi ..oorrggaanniizazattiioonn_i_i dd aanndd bbrr..rreesosouurrcece_i_i d ==cici cdcd..rr eesosouurrcece_i_i dd aanndd bbrr..rreesosouurrcece_co_coddee ==''IICCP'P' aanndd cct. cocost_tst_t yyppee_i_i d ==cici cdcd..cocost_tst_t ypypee_i_i dd anandd cctcct ..cocostst _t_t ypypee ==''&&P_IP_I CCPP_COOSST_T_C T_TYPYPE'E' )),,00)),,22)) ""ToTottalal NNetet OOnhnhanandd VValal ueue"" - - P_COOSTST_TYPE P_C _TYPE ffrromom bobomm..cstcst_perriiodod_cl_cl _pe ose_sum ose_summmaryary cpcs, iinnv.v. oorrgg_ac_acctct _p_peerriiooddss oapp,,oa iinvnv..mmttll_pa_parramameteters mmp,p, iinvnv..mmttll_syst_syst emem_i_i ttemems_bs_b mmsisi ,, glgl ..glgl _cod_code_coe_commbbiinanattiiononss gcgcc1c1,, ---- subsubiinvnvenenttoryory acaccoucountsnts glgl ..glgl _cod_code_coe_commbbiinanattiiononss gcc2gcc2,, ---- pprrododucuctt ggrrououpp iinfonfo f rromCOomCOGGSS accouuntnt acco hhr.r. hhr_orgar_organniizazattiioonn_i_i nnffoormrmaattiioonn hhooii,, hhr.r. hhr_alr_al ll_o_orrggaanniizazattiioonn_u_unniittss hhaaoouu,, hhr.r. hhr_alr_al ll_o_orrggaanniizazattiioonn_u_unniittss hhaaoouu22,, ggll..ggll_l_l eeddggeersrs ggll ---- ======---- IInnvevennttoryory accoaccouunnttiinngg pperieriod jjooiinnss ---- ======wwhheerree oaoapp..aacct_pecct_perriioodd_i_i d ==cpcpcs.cs. aacct_pecct_perriiodod_i_i dd aanndd oaoapp..oorrggaanniizazattiionon_i_i d ==mmpp..orgorgananiizazattiioonn_i_i dd and oapoap..perperiiod_namod_namee ==''&&PERPERIIOODD_NA_NAMME'E' ---- P_PERI OODD_NA_NAMMEE ---- ======---- SuSubbiinnvevennttory,ory, mmttll pparamarametereter , iittemmemmasteraster anandd pperieriod clclose snasnappshoshott jjoioi nnss ---- ======anandd cpcs. subi nvnvenenttorory_code IISS NNUULLLL aanndd mmpp..orgaorganniizazattiioonn_i_i d ==cpcpcs.cs. oorrggaannii zazattiioonn_i_i dd aanndd mmpp..orgaorganniizazattiioonn_i_i d ==mmsisi ..oorrggaanniizazattiionon_i_i dd aanndd mmsisi ..oorrggaanniizazattiionon_i_i d ==cpcpcs.cs. oorrggaanniizazattiioonn_i_i dd aanndd mmsisi ..iinnvevennttoorry_iy_i ttemem_i_i d ==cpcpcs.cs. iinnvevennttoorry_iy_i ttemem_i_i dd ---- ======---- AAccoccouunnttiinngg coddeco e cocommbibi nnatiati on jjoioi nnss ---- ======anandd mmpp..iinnttrranansisi tt_i_i nvnv_acco_accouuntnt ==ggcc1cc1..codcode_coe_commbbiinnatiati onon_i_i dd anandd mmsisi ..cost_ofcost_of _sal es_aes_accoccoununtt ==ggcc2cc2..codcode_coe_commbbiinnatiati onon_i_i dd ---- ======---- OOrrggananiizatizati on jjoioi nns ts to the HRHR org mododelelm ---- ======

COLLABORATE 10 — OAUG Forum Copyright ©2010 Douglas Volz Consulting, Inc. Page 32 of 33

Does Rel. 12 Solve Global Inter-Company Issues for Multiple Ledgers, Profit in Inventory and COGS?

aanndd hhooii..oorrgg_i_i nnfformormatiati oonn_co_connttexextt ==''AAccoccouunnttiinngg IInnffoorrmmaattiioonn'' aanndd hhooii..oorrggaanniizazattiionon_i_i d ==mmpp..orgorgananiizazattiioonn_i_i dd aanndd hhooii..oorrggaanniizazattiionon_i_i d ==hhaoaouu..oorrggaanniizazattiioonn_i_i d - - tthhiiss ggeettss tthhee oorrggaanniizazattiionon nnaammee anandd hahaouou22..orgaorganniizatizati onon_i_i d ==tto_no_nuummbeberr((hhoioi ..org_iorg_i nnfformormatiati onon33)) ---- tthhiiss ggeetts ts t hhee ooppeeratirati nngg uunniitt iidd aanndd gll..lleeddggeerr_i_ig d ==tto_no_nuummbbeerr((hhooii..orgorg_i_i nnffoorrmmaattiioonn11)) ---- ggetet tthhe llededgger_ier_i dd ---- ======---- lliimmiitt tthhee rowrows rs r eettuurrnneedd--ddonon''tt ggeett zezerroo rowrowss

---and- ======nvlnvl ((cpcs.======cpcs.======RROOLLBALLBACCK_Q======K_QUUAANNTITI======TY,TY, 0)======<<>>00======grgroup byyb glgl ..nanamme,e, haou2haou2..namname,e, oapoap..peperriiodod_nam_name,e, mmpp..orgaorganniizatizati onon_cod_code,e, gcc2. segmsegmenentt1,1, gcc1. segmsegmenentt2,2, gcc1. segmsegmenentt3,3, gcc1. segmsegmenentt4,4, gcc2. segmsegmenentt5,5, gcc1. segmsegmenentt6,6, gcc1. segmsegmenentt7,7, gcc1. segmsegmenentt8,8, gcc1. segmsegmenentt9,9, ''IInntt r annssiita 't' ,, mmsisi ..segmsegmenentt1,1, mmsisi ..ddeescriscri ppttiioonn,, ggll..cucurrrreenncycy_co_coddee,, rrououndnd((nvnvll((cpcs.cpcs. RROOLLBLLBAACCK_IK_I NNTRTRAANNSISIT_VAALULUE,E, T_V 0) / dedecodecode((nvlnvl ((cpcs.cpcs. RROOLLBLLBAACCKK_Q_QUUAANNTITI TYTY,,0)0), 0, 1, nvnvll((cpcs.cpcs. RROOLLBLLBAACCKK_Q_QUUAANNTITI TYTY,,0))0)) ,,55)),, mmsisi ..iinnvevennttoorry_iy_i tteemm_i_i dd,, mmsisi ..oorgarganniizazattiioonn_i_i dd,, mmsisi ..prpr iimmarary_uom_c_code y_uom ode oorrdderer byby 11,,22,,33,,44,,66;;

COLLABORATE 10 — OAUG Forum Copyright ©2010 Douglas Volz Consulting, Inc. Page 33 of 33