(SELECT standard_cost
FROM apps.cst_standard_costs csc
WHERE inventory_item_id =
msi.inventory_item_id
AND organization_id = ood.organization_id
AND cost_update_id =
(SELECT MAX (cost_update_id)
FROM apps.cst_standard_costs
WHERE inventory_item_id = msi.inventory_item_id
AND organization_id = ood.organization_id
AND standard_cost_revision_date <=
TRUNC
( LAST_DAY
(TO_DATE
(:p_transaction_date,
'MON-YY'
)
)
+ 1
))) month_end_std_cost
No comments:
Post a Comment