WIP Move Transactions

Description

Categories
Enginatics
Repository
GitHub
WIP move transactions of discrete jobs, lot based jobs, repetitive schedules and flow schedules, one row per transaction, as shown in the View Move Transactions form.

The report covers the data of the Oracle standard Move Transaction Report (WIPTSMOV): from and to operation, department and intraoperation step, transaction and primary quantity, reason and reference, over-completion, scrap account and the employee who performed the move.

A repetitive move is shown once per repetitive schedule it was allocated to, with the schedule's first unit start date and the allocated quantity.

Quantity is in the unit of measure the transaction was entered in, Primary Quantity in the assembly's primary unit of measure. Transaction Day is the transaction date without the time, for daily totals.

Transactions still pending in the move transaction interface are not included.

SQL 68 lines

Parameters 12

ParameterTypeList of values SQL
Organization CodeLOV
mp.organization_code=:organization_code
Date FromDateTime
wmt.transaction_date>=:date_from
Date ToDateTime
wmt.transaction_date<:date_to+decode(:date_to,trunc(:date_to),1,0)
JobLOV
we.wip_entity_name=:job
LineLOV
wl.line_code=:line
AssemblyLOV
msiv.concatenated_segments=:assembly
From DepartmentLOV
bd_fm.department_code=:from_department
To DepartmentLOV
bd_to.department_code=:to_department
From StepLOV
wmt.fm_intraoperation_step_type=to_number(xxen_util.lookup_code(:from_step,'WIP_INTRAOPERATION_STEP',700))
To StepLOV
wmt.to_intraoperation_step_type=to_number(xxen_util.lookup_code(:to_step,'WIP_INTRAOPERATION_STEP',700))
ReasonLOV
mtr.reason_name=:reason
Employee NumberLOV
nvl(papf.npw_number,papf.employee_number)=:employee_number