DBA Data[Home] [Help]

APPS.OPI_DBI_WIP_COMP_INCR_PKG dependencies on STANDARD

Line 32: /* Standard Jobs have Job type of 1 */

28:
29: /* The WIP valuation account is accouting line type 7 */
30: WIP_VALUATION_ACCT CONSTANT NUMBER := 7;
31:
32: /* Standard Jobs have Job type of 1 */
33: WIP_DISCRETE_STANDARD_JOB CONSTANT NUMBER := 1;
34:
35: /* Following entity types need to be collected */
36: WIP_DISCRETE_JOB CONSTANT NUMBER := 1;

Line 33: WIP_DISCRETE_STANDARD_JOB CONSTANT NUMBER := 1;

29: /* The WIP valuation account is accouting line type 7 */
30: WIP_VALUATION_ACCT CONSTANT NUMBER := 7;
31:
32: /* Standard Jobs have Job type of 1 */
33: WIP_DISCRETE_STANDARD_JOB CONSTANT NUMBER := 1;
34:
35: /* Following entity types need to be collected */
36: WIP_DISCRETE_JOB CONSTANT NUMBER := 1;
37: WIP_REPETITIVE_ASSEMBLY_JOB CONSTANT NUMBER := 2;

Line 459: -- In addition, exclude all non standard discrete jobs. Discrete jobs

455: -- Note also that the inner query groups on mmt.transaction_id.
456: -- This is to ensure that all MTA rows for an MMT entry are
457: -- summed before quantity is summed, else we miscount quantity.
458: --
459: -- In addition, exclude all non standard discrete jobs. Discrete jobs
460: -- have an entity_type = 1 and standard jobs have a job_type = 1.
461: -- entity_type and job_type are both not null columns, so it is safe
462: -- to outer join and NVL to them.
463: --

Line 460: -- have an entity_type = 1 and standard jobs have a job_type = 1.

456: -- This is to ensure that all MTA rows for an MMT entry are
457: -- summed before quantity is summed, else we miscount quantity.
458: --
459: -- In addition, exclude all non standard discrete jobs. Discrete jobs
460: -- have an entity_type = 1 and standard jobs have a job_type = 1.
461: -- entity_type and job_type are both not null columns, so it is safe
462: -- to outer join and NVL to them.
463: --
464: -- Because of OSFM etc. we pick only the following types of jobs:

Line 530: AND nvl (wdj.job_type, WIP_DISCRETE_STANDARD_JOB) =

526: WIP_REPETITIVE_ASSEMBLY_JOB,
527: WIP_CLOSED_DISCRETE_JOB,
528: WIP_FLOW_SCHEDULE_JOB)
529: AND wdj.wip_entity_id(+) = we.wip_entity_id
530: AND nvl (wdj.job_type, WIP_DISCRETE_STANDARD_JOB) =
531: WIP_DISCRETE_STANDARD_JOB
532: GROUP BY mmt.organization_id,
533: mmt.inventory_item_id,
534: trunc (mmt.transaction_date),

Line 531: WIP_DISCRETE_STANDARD_JOB

527: WIP_CLOSED_DISCRETE_JOB,
528: WIP_FLOW_SCHEDULE_JOB)
529: AND wdj.wip_entity_id(+) = we.wip_entity_id
530: AND nvl (wdj.job_type, WIP_DISCRETE_STANDARD_JOB) =
531: WIP_DISCRETE_STANDARD_JOB
532: GROUP BY mmt.organization_id,
533: mmt.inventory_item_id,
534: trunc (mmt.transaction_date),
535: mmt.primary_quantity,