OSFM Tables

OSFM - Oracle Shop Floor Management

1. (N) Shop Floor Manager > Lot Based Jobs (B: New)

Status: Unreleased

Insert data to table:

wip_entities

wip_discrete_jobs

========================================================

select *
from wip_entities
where 1=1
and wip_entity_name = 'JM41309150001';


select *
from
wip_discrete_jobs
where 1=1
and wip_entity_id in(
select wip_entity_id
from wip_entities
where 1=1
and wip_entity_name = 'JM41309150001'
);

image

2. Change the status: Released

Insert data to table:

wip_period_balances

========================================================

select *
from wip_period_balances
where 1=1
and wip_entity_id in(
select wip_entity_id
from wip_entities
where 1=1
and wip_entity_name = 'JM41309150001'
);

image

3. (N) Shop Floor Manager > Lot Transactions > Material Transactions

Transaction Type: WIP component issue

Update data to table:

wip_period_balances

WIP_PERIOD_BALANCES.PL_MATERIAL_IN

WIP_PERIOD_BALANCES.PL_MATERIAL_OVERHEAD_IN

WIP_PERIOD_BALANCES.PL_RESOURCE_IN

========================================================

PL_MATERIAL_IN PL_MATERIAL_OVERHEAD_IN PL_RESOURCE_IN
1 1,005 20

image

image

image

4. (N) Shop Floor Manager > Lot Transactions > WIP Lot Transactions

Transctiont Type: Split

Job No: JM41309150001

>>> split: 1) JM41309150001*1

           2) JM41309150001*2

========================================================

image

ACCT_PERIOD_ID WIP_ENTITY_ID WIP_ENTITY_NAME CLASS_TYPE
7,143 113,708 JM41309150001*1 5
7,143 113,709 JM41309150001*2 5
7,143 113,707 JM41309150001-TST 5
TL_RESOURCE_IN TL_OVERHEAD_IN TL_OUTSIDE_PROCESSING_IN PL_MATERIAL_IN PL_MATERIAL_OVERHEAD_IN
0 0 0 0 302
0 0 0 1 704
0 0 0 1 1,005
PL_RESOURCE_IN PL_OVERHEAD_IN PL_OUTSIDE_PROCESSING_IN TL_MATERIAL_OUT TL_MATERIAL_OVERHEAD_OUT
6 0 0 0 0
14 0 0 0 0
20 0 0 0 0
TL_RESOURCE_OUT TL_OVERHEAD_OUT TL_OUTSIDE_PROCESSING_OUT PL_MATERIAL_OUT PL_MATERIAL_OVERHEAD_OUT
0 0 0 0 0
0 0 0 0 0
0 0 0 1 1,005
PL_RESOURCE_OUT PL_OVERHEAD_OUT PL_OUTSIDE_PROCESSING_OUT
0 0 0
0 0 0
20 0 0
原文地址:https://www.cnblogs.com/quanweiru/p/3322690.html