0% found this document useful (0 votes)
586 views

Sample Script For Move Transaction API

This document contains SQL statements to insert records into two database tables: wip_move_txn_interface and WIP_SERIAL_MOVE_INTERFACE. The INSERT statements specify values for fields such as transaction ID, dates, user IDs, process details, quantities, and more to record a work in process transaction and its associated serial number.

Uploaded by

VargaAttila
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
586 views

Sample Script For Move Transaction API

This document contains SQL statements to insert records into two database tables: wip_move_txn_interface and WIP_SERIAL_MOVE_INTERFACE. The INSERT statements specify values for fields such as transaction ID, dates, user IDs, process details, quantities, and more to record a work in process transaction and its associated serial number.

Uploaded by

VargaAttila
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

INSERT INTO wip_move_txn_interface(

group_id,
transaction_id,
last_update_date,
last_updated_by,
creation_date,
created_by,
request_id,
program_application_id,
program_id,
program_update_date,
kanban_card_id,
source_code,
source_line_id,
process_phase,
process_status,
transaction_type,
organization_id,
organization_code,
wip_entity_id,
entity_type,
primary_item_id,
line_id,
line_code,
repetitive_schedule_id,
transaction_date,
acct_period_id,
fm_operation_seq_num,
FM_INTRAOPERATION_STEP_TYPE,
--TO_OPERATION_SEQ_NUM,
--TO_INTRAOPERATION_STEP_TYPE,
TRANSACTION_QUANTITY,
TRANSACTION_UOM
--,OVERCOMPLETION_TRANSACTION_QTY
)
VALUES(
NULL,
-- group_id
wip_transactions_s.nextval,
-- transaction_id
SYSDATE,
-- last_update_date
1068,
SYSDATE,
-- creation_date
1068,
NULL,
-- request_id
NULL,
-- program_application_id
NULL,
-- program_id
NULL,
-- program_update_date
NULL,
-- kanban_card_id
NULL,
-- source_code
NULL,
-- source_line_id
1,
-- process_phase 1-Validate, 2- Processing, 3 -BF_SETUP
1,
-- process_status 1-Pending, 2-Running, 3-Error
2,
-- transaction_type 1-nORMAL MOVE, 2- Easy completion, 3-Easy Return
207,
-- organization_id
null,
-- organization_code
916176, --Wip_entity_id----- 909186 job1, 909196 job2
1,
-- discrete entity_type
877069, --Primary_Item_id
NULL,
-- line_id
NULL,
-- line_code
NULL,
-- repetitive_schedule_id

SYSDATE,
-- transaction_date
null,
-- acct_period_id
10, --Op_seq_num
1, --oPERATION step 1-Queue,2-Run,3-To Move
--10,--to some step
--1,--to queue
4, --Transaction_qty
'Ea'
--Transaction_uom
--,1
);
INSERT INTO WIP_SERIAL_MOVE_INTERFACE
(TRANSACTION_ID
,
ASSEMBLY_SERIAL_NUMBER,
CREATION_DATE
,
CREATED_BY
,
LAST_UPDATE_DATE
,
LAST_UPDATED_BY
)
values(WIP_TRANSACTIONS_S.CURRVAL,
'UKSP008',---serial assembly
sysdate,
1318,
sysdate,
1318);
COMMIT;

You might also like