SELECT
summary.organization_id organization_id,
summary.organization_id organization_id,
ood.organization_code organization_code,
ood.organization_name organization_name,
periods.period_name period_name,
periods.OPEN_FLAG,
periods.PERIOD_CLOSE_DATE,
periods.period_year period_year,
periods.period_start_date period_start_date,
periods.schedule_close_date schedule_close_date,
summary.secondary_inventory sub_inv,
summary.inventory_value VALUE
FROM
mtl_period_summary summary,
org_acct_periods periods,
org_organization_definitions ood
WHERE
summary.organization_id = periods.organization_id
summary.organization_id = periods.organization_id
AND summary.organization_id = ood.organization_id
AND summary.acct_period_id = periods.acct_period_id
AND periods.period_close_date IS NOT NULL
AND summary.inventory_type = 1
No comments:
Post a Comment