41
Landed Cost Management on Process Enabled organization Documentation available: - Note 837161.1 - EBS LCM - Suggested Common Setup Steps for Landed Cost Management - Note.860747.1 - EBS LCM How To Diagnose Issues With Landed Cost Management In Procure To Pay Cycle - Note.978607.1 - EBS LCM OPM integration - using LCM As-Service - Note.968122.1 - EBS LCM OPM integration - using LCM Pre-Receiving: - Oracle Landed Cost Management Process Guide, Release 12.1, Part No. E14299-02 - Oracle Process Manufacturing Cost Management User's Guide, Release 12.1, Part No. E13655-03 1. Setup Steps for LCM: 1.1. LCM Accounts: - General Ledger Responsibility, Setup – Financials – Flexfields – Key – Values

LCM-OPM Walkthrough Full Testcase

Embed Size (px)

DESCRIPTION

LCM-OPM Walkthrough

Citation preview

Page 1: LCM-OPM Walkthrough Full Testcase

Landed Cost Management on Process Enabled organization

Documentation available:

- Note 837161.1 - EBS LCM - Suggested Common Setup Steps for Landed Cost Management

- Note.860747.1 - EBS LCM How To Diagnose Issues With Landed Cost Management In Procure To Pay Cycle

- Note.978607.1 - EBS LCM OPM integration - using LCM As-Service

- Note.968122.1 - EBS LCM OPM integration - using LCM Pre-Receiving:

- Oracle Landed Cost Management Process Guide, Release 12.1, Part No. E14299-02

- Oracle Process Manufacturing Cost Management User's Guide, Release 12.1, Part No. E13655-03

1. Setup Steps for LCM:

1.1. LCM Accounts:

- General Ledger Responsibility, Setup – Financials – Flexfields – Key – Values

Page 2: LCM-OPM Walkthrough Full Testcase

Enter account segments as follows:

Page 3: LCM-OPM Walkthrough Full Testcase

1.2. Setup for Advanced pricing (QP) profile options:

- System Administrator responsibility, Profile - System

1.3. Setup Cost Factors

- Purchasing Super User (process Operations) responsibility, Setup – Purchasing – Cost Factors

- Cost factor for freight: LCMFreight

Page 4: LCM-OPM Walkthrough Full Testcase

- Note that Acquisition Cost indicator is set to ‘Inventory’ and Invoice Line Type must be set to appropriate value

- Cost factor for insurance: LCMInsurance

1.4. Setup Price Modifiers

- Purchasing Super User (process Operations) responsibility, Advance Pricing - Modifiers – Modifier Setup

Page 5: LCM-OPM Walkthrough Full Testcase

- On Discount and Charges tab:

Page 6: LCM-OPM Walkthrough Full Testcase

1.5. Create LCM Shipment Line Types

- Landed Cost Management responsibility, Setup – Shipment Line Types

- Note that Landed Cost Management responsibility is not assigned by default to PROCESS_OPS user;

- Make sure to check ‘Include in the Landed Cost’ flag;

1.6. Create LCM Shipment Types

- Landed Cost Management responsibility, Setup – Shipment Line Types (value used for INL profile setup):

Page 7: LCM-OPM Walkthrough Full Testcase

1.7. Setup UOM Classes

- Inventory Super User (Process Operations) responsibility, Setup – Unit of Measure – Classes

- Define Quantity, Volume and Weight UOM classes;

IMPORTANT: Define ‘Name’ field exactly as shown above in order to exactly match the values selected for Allocation

basis field on Cost Factors setup page.

- Also, these UOM classes will be used further for Landed Cost Management profiles setup (i.e. INL profiles).

1.8. Setup Landed Cost Management profiles (i.e. INL profiles):

- System Administrator responsibility, Profile - System

Page 8: LCM-OPM Walkthrough Full Testcase

1.9. Organization Setup:

- Inventory Super User (Process Operations) responsibility, Setup – Organizations – Parameters

- Make sure ‘LCM Enabled’ is checked;

- Then, enter LCM Variance account (i.e. 100-1120-8806-0000-0000)

Page 9: LCM-OPM Walkthrough Full Testcase

1.10. Setup Organization Receiving Parameters

- Inventory Super User (Process Operations) responsibility, Setup – Receiving Parameters

- We will use the setup option for ‘Pre-Receiving in LCM’ being checked.

- Note: Although all the existing setup screenshots are indicating that flag ‘Interface to Advanced Pricing’ from Cost

factors section should NOT be checked, for this setup example, I checked the flag.

1.11. Setup Landed Cost management options

- Landed Cost Management responsibility, Setup – Options

- IMPORTANT: We must setup Organization Access for responsibility Landed Cost Management and organization

PR1. Otherwise, we cannot see Inventory Organization = PR1 in LCM Setup - Options page.

Page 10: LCM-OPM Walkthrough Full Testcase

- Organization Access is being setup in Inventory Super User (Process Operations) responsibility, Setup –

Organizations – Organization Access

1.12. Additional setup for subledger accounting in OPM Financials:

1.12.1. Account Derivation Rules for INV, LCA and LCV journal line types:

Page 11: LCM-OPM Walkthrough Full Testcase

1.12.2. Journal Line Definitions having attached new account derivations rules:

- Event Class = Deliver or Return from Inventory; Event Type = PO Receipt

- ADR updated: Inventory Valuation and Landed Cost Absorption

- Event Class = Landed Cost Adjustments; Event Type = Landed Cost Adjustment - Deliver

- ADR updated: Landed Cost Absorption

- Event Class = Receiving; Event Type = Receive to Inspection

- ADR updated: Landed Cost Absorption

Page 12: LCM-OPM Walkthrough Full Testcase

- Event Class = Landed Cost Adjustments; Event Type = Landed Cost Adjustment - Receipt

- ADR updated: Landed Cost Absorption

- Event Class = Landed Cost Adjustments; Event Type = Landed Cost Adjustment - Valuation

- ADR updated: Inventory Valuation and Landed Cost Absorption

- Note that only required ADRs for this example have been defined.

Page 13: LCM-OPM Walkthrough Full Testcase

1.12.3. Application Accounting Definition, having the new Journal Line Definitions being assigned:

Page 14: LCM-OPM Walkthrough Full Testcase

1.12.4. Subledger Accounting Method having the new AAD being assigned for Process Manufacturing Financials:

1.12.5. Finally, checking that correct Subledger Accounting Method is being assigned to the OPM US ledger:

- Under General Ledger responsibility, go to Setup – Financials – Accounting Setup Manager – Accounting Setups

- Go to Update Accounting Options;

Page 15: LCM-OPM Walkthrough Full Testcase
Page 16: LCM-OPM Walkthrough Full Testcase

2. Functional Flow for getting Landed Cost in OPM Financials

2.1. Define inventory item GSLCM03 and assigned to PR1 inventory organization

2.2. IMPORTANT: Make sure that on Costing tab, the ‘Inventory Asset Value’ is being checked!

Page 17: LCM-OPM Walkthrough Full Testcase

2.3. Create an approve a PO for item GSLCM02, qty = 100, unit price = 100

IMPORTANT: After the PO is being approved, the field LCM_FLAG on PO_LINES_LOCATIONS_ALL table should become

‘Y’, otherwise will not be found in LCM module.

IMPORTANT: Make sure that Invoice Match Option = Receipt on the PO Shipment line.

Page 18: LCM-OPM Walkthrough Full Testcase

2.4. Under Landed Cost Management responsibility, go to Workbench – Shipments

- Select Inventory Organization, then ‘Go’

- On next page, click on Create button:

- On Create Shipment page, on Header section, enter Operating Unit, LCM Shipment Type (i.e. SHIP), Receiving

Location;

- On Line Groups, enter a Group Reference identifier (any text), Source Type = Purchase Order, Third party as the PO

supplier, and its Site (last 2 information to be taken from PO header) then Apply changes

- go to Lines tab

Page 19: LCM-OPM Walkthrough Full Testcase

- On the Lines tab, go to section Find Expected Shipment Lines and enter the Purchase order number, then click on Go

button

- Once the Shipment line is being retrieved, selected and Save the LCM Shipment

Page 20: LCM-OPM Walkthrough Full Testcase

- After LCM Shipment is saved, perform the Validation action by selecting Validation value from Actions LOV and click

on GO button

- Once the Validation has been performed, we can execute Generate Charges action

- Next action is to Calculate charges

Page 21: LCM-OPM Walkthrough Full Testcase

- Once the Calculation was done, we can view Landed Cost

- On Allocation page, we can verify the Estimated Amounts and total Unit Landed Cost ;

Note the charge amounts related to freight (1000 USD = 10% x total item value) and insurance (200 USD – fixed

amount);

- To return to Shipment Header page, select ‘Return to Shipment’ link

- Finally, we ‘Complete’ the Shipment by executing the Submit action.

- Once the Shipment has been submitted, it can no longer be updated. Optionally, we can review the charges:

Page 22: LCM-OPM Walkthrough Full Testcase

- When executing the Submit action, Receiving Transaction Processor is being run

2.5. Perform the normal PO receipt through the standard Receipts form

- Note that on Find Expected Receipts form, we have to specifically select Source Type = LCM and then, in Shipment

field, look for LCM Shipments to be received.

Page 23: LCM-OPM Walkthrough Full Testcase

- Normally, it is considered that, selecting Source Type = All, we should be able to see expected data. However, for

the moment, we need to specifically select Source Type = LCM, to access LCM shipments to be received.

- Further, select the line to be received, enter required information for subinventory, location and lot and save the

receipt.

Page 24: LCM-OPM Walkthrough Full Testcase

2.6. In OPM Financials, submit Landed Cost Adjustments Import Process

- Then, running Actual Cost:

Page 25: LCM-OPM Walkthrough Full Testcase

- When checking cost for item GSLCM03, we can see ESTIMATED landed cost for freight and insurance:

- Actual Cost Transactions are as follows:

2.7. Next, run Cost Update, OPM Accounting Pre-Processor and Create Accounting to see postings so far for PO

Receipt 17711 and item GSLCM03:

- Cost Update:

Page 26: LCM-OPM Walkthrough Full Testcase

- OPM Accounting Pre-Processor:

- Detailed Subledger Report for given OPM Accounting Pre-Processor reference number3304:

Purchasing Transactions Entity Name Purchasing

Transactions Event Class

Name Receiving Event Type

Name Receive to Inspection

Organization PR1 Item GSLCM03 - GSLCM03 Base Currency USD Purchase Order 3921 Supplier Winters Supply Company Receipt Number 17711 Receipt Line

Number 1

Transaction Id 373 Quantity 100.00000 Ea Transaction Date 30-JAN-2010 00:00:00

Journal Line Type

Base Currency Billing Currency

Account Description Debit Credit Debit Credit AAP 10,000.00 10,000.00 ISP 10,000.00 10,000.00 ISP 200.00 200.00 LCA 200.00 200.00 ISP 1,000.00 1,000.00 LCA 1,000.00 1,000.00

Total 11,200.00 11,200.00 11,200.00 11,200.00

Purchasing Transactions Entity Name Purchasing

Transactions Event Class

Name Deliver to or Return from Inventory

Event Type Name

PO Receipt

Organization PR1 Item GSLCM03 - GSLCM03 Base Currency USD Purchase Order 3921 Supplier Winters Supply Company Receipt Number 17711 Receipt Line

Number 1

Transaction Id 23607993 Quantity 100.00000 Ea Transaction Date 30-JAN-2010 00:00:00

Journal Line Type

Base Currency Billing Currency

Account Description Debit Credit Debit Credit INV 11,200.00 11,200.00 ISP 11,200.00 11,200.00

Total 11,200.00 11,200.00 11,200.00 11,200.00

Page 27: LCM-OPM Walkthrough Full Testcase

- Create Accounting:

2.8. Enter 2 invoices in Payables: one to be matched with Item line type and second to be matched with Freight and

Miscellaneous (for insurance) line types.

- Under Payables Super User responsibility, go to Invoices – Entry – Invoices

- First, enter invoice header details for the invoice to be matches with Item line type;

- Invoice total amount will be 11,000 USD, so final item unit price will be different than in PO (item unit price in PO is

100 USD with quantity = 100 Each ordered)

- After entering the invoice header details, click on Match button;

Page 28: LCM-OPM Walkthrough Full Testcase

- On Matching form, select Type = Item, enter the receipt (i.e. 17711) and click Find:

- Select the line to be matched, change the unit price to 110 and click on Match button:

- Once the matched line has been added to the invoice, go to Actions button and select Validate option

Page 29: LCM-OPM Walkthrough Full Testcase

- And the first invoice has been validated:

- Now, enter a new invoice for Freight and Insurance amounts

- We will select the same supplier, but invoice can be entered against any other supplier.

- Invoice total amount will be 1,300 USD (1,100 USD for Freight and 200 USD for Insurance).

- This should result in different actual Landed Cost for Freight (estimated landed cost for freight was 1,000 USD).

- After entering invoice header details, click on match button to add matched invoice lines;

- First, select Type = Freight and same receipt number = 17710, then click Find:

Page 30: LCM-OPM Walkthrough Full Testcase

- On Match Other Charges to Receipts form, enter Cost Factor Name (LCM Freight Charges) and related amount for

freight (i.e. 1100 USD);

- Select the line to be matched and click Match;

- After invoice line for freight has been added, click again to Match button;

- This time, select Type = Miscellaneous and the same receipt number = 17711:

Page 31: LCM-OPM Walkthrough Full Testcase

- On Match Other Charges form, enter Cost factor name = LCM Insurance Charge and related amount (i.e. 200 USD),

then click Match;

- Now, the invoice line related to insurance has been added as well and we can validate the second invoice:

- At this point, we should have 4 records in INL_MATCHES_INT table:

Page 32: LCM-OPM Walkthrough Full Testcase

2.9. Next steps are to import actual invoice prices into Landed Cost Management application.

- First, we need to run Matches Interface Import request

- The request log file confirms that the 4 transactions found in INL_MATCHES_INT table have been processed (and

removed from this table):

- If we are checking the LCM Shipment number 2 in LCM Workbench, we will notice that ‘Pending Matching’ flag is

now checked.

Page 33: LCM-OPM Walkthrough Full Testcase

- Next step is to run ‘Submit Pending Shipments’ request from LCM responsibility:

- The log file confirms that LCM shipment has been processed:

2.10. If we query the LCM Shipment number 3 in LCM Workbench, we can see the actual amounts:

Page 34: LCM-OPM Walkthrough Full Testcase

2.11. In OPM Financials, re-running Landed Cost Adjustments Import Process

2.12. Before running Actual Cost process in OPM Financials, checking the cost type , fiscal policy and cost calendar

being defined:

Page 35: LCM-OPM Walkthrough Full Testcase
Page 36: LCM-OPM Walkthrough Full Testcase

2.13. Now, we can run Actual Cost process for following parameters:

- Checking the cost for item GSLCM03, we see that actual Landed Cost has been included in item cost.

Page 37: LCM-OPM Walkthrough Full Testcase

2.14. Running Cost Update for given cost calendar and period:

2.15. Run OPM Accounting Pre-Processor for the period:

Page 38: LCM-OPM Walkthrough Full Testcase

2.16. Running Detailed Subledger Report for given OPM Accounting Pre-Processor reference number (3305):

2.17. Postings related to item ‘GSLCM03’ are as follows:

Page 39: LCM-OPM Walkthrough Full Testcase

2.18. Run Create Accounting and, then, re-run Detailed Subledger Report to see the accounts being assigned for

Journal Line Types:

- Note that for INV and LCA journal line type we have to define specific Account Derivation Rules

Page 40: LCM-OPM Walkthrough Full Testcase
Page 41: LCM-OPM Walkthrough Full Testcase

3. Technical Considerations

3.1. Landed Cost Management tables:

select table_name from all_tables where table_name like 'INL%';

3.2. Matches Interface Import (INLOIMP) executable is INL_INTERFACE_PVT.Import_LCMMatches procedure;

- Package Body file for INL_INTERFACE_PVT is INLVINTB.pls;

- Debugging of INL executables is by using FND profiles via INL_LOGGING_PVT package;

3.3. Submit Pending Shipments (INLSPSHIP) executable is INL_SHIPMENT_PVT.Complete_PendingShipment procedure

- Package Body file for INL_SHIPMENT_PVT is INLVSHPB.pls

3.4. Landed Cost Adjustments Import Process (GMFLCAT) executable is

GMF_LC_ADJ_TRANSACTIONS_PKG.Process_Lc_Adjustments procedure;

- Package Body file for GMF_LC_ADJ_TRANSACTIONS_PKG is GMFLCATB.pls

- Landed Cost Adjustments Import Process is getting records from view gmf_lc_adj_headers_v (created based on

following tables/views: mtl_units_of_measure, pon_price_element_types, inl_ship_headers_all,

rcv_shipment_headers , inl_det_landed_costs_v, rcv_transactions rt and rcv_shipment_lines rsl) and is inserting

into table gmf_lc_adj_transactions.

- Debugging option for GMF_LC_ADJ_TRANSACTIONS_PKG package is by using FND profiles.

Actual Cost has been modified to get details for landed cost adjustments;

3.5. Cursors to gather landed cost details are in functions gmfaget_rct_acqui (for estimated landed costs) and

gmfaget_lc_adj_transactions (for actual landed cost)

- file is gmfaget.lpc starting with version 120.39.12010000.12;

- Changes were done to get both estimated landed costs (cursor C_PO_COST_DTL_FETCH_ALL) and actual landed

cost (cursor C_LC_ADJ_TRANS_FETCH_ALL).