ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 转:BOM Interface

转:BOM Interface

原创 Linux操作系统 作者:i168t 时间:2008-01-11 14:25:28 0 删除 编辑
SELECT * FROM BOM.BOM_BILL_OF_MTLS_INTERFACE
SELECT 
* FROM BOM.BOM_INVENTORY_COMPS_INTERFACE

insert into bom.bom_bill_of_mtls_interface
(
  assembly_type, 
--M/E
  assembly_item_id, 
  organization_id,
  process_flag,
  transaction_type
)
values
(
  
1,      --assembly_type, --M/E
  
12819,  --assembly_item_id, 
  
5138,   --organization_id,
  
1,      --process_flag,
  'CREATE'
--transaction_type
);


insert into bom.bom_inventory_comps_interface
(
  process_flag,
  transaction_type,
  assembly_item_id ,
  organization_id ,
  assembly_item_number,
  component_quantity ,
  item_num , 
--项目序列
  operation_seq_num , 
--工序序列
  component_item_id , 
--组件
  component_item_number, 
--component_item ,
  component_yield_factor , 
--产出率d1
  wip_supply_type , 
--供应类型
  OPTIONAL , 
--可选的
  MUTUALLY_EXCLUSIVE_OPTIONS, 
--互不相容 
  attribute1
)
values
(
  
1,
  'CREATE',
  
12819,-- assembly_item_id ,
  
5138, --organization_id ,
  NULL, 
--assembly_item_number,--assembly_item ,
  
5, --component_quantity ,
  
10, --item_num , --项目序列
  
1, --operation_seq_num , --工序序列
  
11816,--component_item_id , --组件
  NULL, 
--component_item_number, --component_item ,
  
1, --component_yield_factor , --产出率d1
  
1, --wip_supply_type , --供应类型
  
2, --OPTIONAL , --可选的
  
2, --MUTUALLY_EXCLUSIVE_OPTIONS, --互不相容 
  'A'
--,sysdate --attribute1
);

SELECT AA.TRANSACTION_ID,AA.
* FROM BOM.BOM_BILL_OF_MTLS_INTERFACE AA;
SELECT BB.TRANSACTION_ID,BB.
* FROM BOM.BOM_INVENTORY_COMPS_INTERFACE BB;
SELECT CC.
* FROM INV.MTL_INTERFACE_ERRORS CC WHERE CC.TRANSACTION_ID='2756981' ;

DELETE FROM BOM.BOM_BILL_OF_MTLS_INTERFACE
DELETE FROM BOM.BOM_INVENTORY_COMPS_INTERFACE

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/7735683/viewspace-135424/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: 没有了~
下一篇: 转:Item Interface
请登录后发表评论 登录
全部评论

注册时间:2008-01-02

  • 博文量
    25
  • 访问量
    42119