Sunteți pe pagina 1din 3

Charge account defaulting rules depend on a) Type of Item b) Destination Type c) Destination Sub-inventory.

There are 3 kinds of Items used in Purchasing. Expense Items - Referred to as Item A Inventory Expense Items - Referred to as Item B Inventory Asset Items - Referred to Item C 1) Expense Items - Referred to as Item A. These items normally have the following attributes... INVENTORY_ASSET_FLAG = N PURCHASING_ITEM_FLAG = Y INVENTORY_ITEM_FLAG = N 2) Inventory Expense Items - Referred to as Item B These items normally have the following attributes... INVENTORY_ASSET_FLAG = N PURCHASING_ITEM_FLAG = Y INVENTORY_ITEM_FLAG = Y c) Inventory Asset Items - Referred to Item C These items have the following attributes... INVENTORY_ASSET_FLAG = Y PURCHASING_ITEM_FLAG = Y INVENTORY_ITEM_FLAG = Y COSTING_ENABLED_FLAG = Y 2. DESTINATION TYPE : The Destination type determines the final destination of the items. This can be of two types a) EXPENSE b) INVENTORY -

3. DESTINATION Subinventory: When an Item is being received into Inventory , a sub-inventory needs to be specified. A subinventory can be a) ASSET subinventory b) EXPENSE sub-inventory The sql below will help in identifying what type of a subinventory , the item is being delivered INTO. select substr(EXPENSE_ACCOUNT,1,6) Exp_act , substr(ENCUMBRANCE_ACCOUNT,1,7) Enc_act , ASSET_INVENTORY,

substr(SECONDARY_INVENTORY_NAME,1,15) S_name, substr(DESCRIPTION,1,15) descrip, substr(SOURCE_ORGANIZATION_ID,1,8) s_o_id from MTL_SECONDARY_INVENTORIES where SECONDARY_INVENTORY_NAME = '&destination_subinventory'; pass the value of DESTINATION_SUBINVENTORY from PO_DISTRIBUTIONS_ALL.DESTINATION_SUBINVENTORY if the value of ASSET_INVENTORY = 1 then this is an ASSET subinventory. if the value of ASSET_INVENTORY = 2 then this is NOT an ASSET subinventory.

3.Keeping in view of the types of Items and the destination mentioned above These are the destination types that can be possible against each type of item Item A can have ONLY one destination- EXPENSE Item B can have the destination of a) EXPENSE b) INVENTORY -- ASSET subinventory c) INVENTORY -- EXPENSE subinventory Item C can have the destination of a) EXPENSE b) INVENTORY -- ASSET subinventory c) INVENTORY -- EXPENSE subinventory

Defaulting Rules for 1) Item A --- Defaults from the Expense a/c defined against the ITEM in the Rece iving Organization.( Organization Items) ================================================================================ ======= 2) Item B--- EXPENSE -Defaults from the Expense a/c defined against the ITEM in the in the Receiving Organization.( Organization Items) 2) Item B ---INVENTORY--- ASSET Subinventory .... charge account comes from a) EXPENSE a/c of the ASSET SUBINVENTORY in the RECEIVING Organization. (This is ONLY if the PO Distribution , contains the Subinventory Information) b) If the PO distribution DOES NOT have a SUBINVENTORY information Expense a/c defined in the Organizational Parameters of the Receiving Organizati on. 3) Item B ---INVENTORY--- EXPENSE subinventory -- comes from a) EXPENSE a/c of the EXPENSE SUBINVENTORY in the RECEIVING Organization. (This is ONLY if the PO Distribution , contains the Subinventory Information) b) If the PO distribution DOES NOT have a SUBINVENTORY information Expense a/c defined in the Organizational Parameters of the Receiving Organizati on.

================================================================================ ========= 4) Item C --- EXPENSE -Defaults from the Expense a/c defined against the ITEM in the in the Receiving Organization.( Organization Items) 5) Item C ---INVENTORY---ASSEST Subinventory .... charge account comes from a) Material a/c defined against the ASSET SUBINVENTORY /of the RECEIVING Organiz ation. (This is ONLY if the PO Distribution , contains the Subinventory Information) b) Material a/c defined in the Organizational Parameters of the Receiving Organi zation. 6) Item C ---INVENTORY --EXPENSE Subinventory -- comes from a) Expense a/c defined against the EXPENSE Subinventory in Receiving Organi zation. (This is ONLY if the PO Distribution , contains the Subinventory Information) b) If the PO distirbution DOES NOT have a SUBINVENTORY information Material a/c defined in the Organizational Parameters of the Receiving Organizat ion.