EBS INV:客户料号的导入

在这里插入图片描述

declare     
    l_iface_rec      inv.mtl_ci_interface%rowtype;
    l_user_id        number := 0;                --user id, sysadmin here
begin
    l_iface_rec.last_update_date  := sysdate;
    l_iface_rec.last_updated_by   := l_user_id;
    l_iface_rec.creation_date     := sysdate;
    l_iface_rec.created_by        := l_user_id;
    l_iface_rec.last_update_login := -1;

    l_iface_rec.process_flag     := 1;           --插入接口时需要给1
    l_iface_rec.transaction_type := 'CREATE';
    
    l_iface_rec.item_definition_level := 1;        --customer level
    l_iface_rec.customer_item_desc    := 'Description:18oz DW hot Cup';
    l_iface_rec.customer_item_number  := '237098-001';
    --l_iface_rec.address_id      
    l_iface_rec.commodity_code_id     := 1 ;       --disposable products
    l_iface_rec.container_item_org_id := 74;       --master inv organization    
    l_iface_rec.customer_id           := '53122';  
    l_iface_rec.inactive_flag         := 2;        --cannot be null and 'N'                 
    l_iface_rec.lock_flag             := 'Y';      --cannot be null    
    l_iface_rec.process_mode          := 1;        --cannot be null
  insert into mtl_ci_interface values l_iface_rec;
end;

declare     
    l_iface_rec      MTL_CI_XREFS_INTERFACE%rowtype;
    l_user_id        number := 0;                --user id, sysadmin here
begin
    l_iface_rec.last_update_date  := sysdate;
    l_iface_rec.last_updated_by   := l_user_id;
    l_iface_rec.creation_date     := sysdate;
    l_iface_rec.created_by        := l_user_id;
    l_iface_rec.last_update_login := -1;

    l_iface_rec.process_flag     := 1;           --插入接口时需要给1
    l_iface_rec.transaction_type := 'CREATE';
    
    l_iface_rec.item_definition_level := 1;        --customer level
    l_iface_rec.customer_item_number  := '237098-001';
    l_iface_rec.MASTER_ORGANIZATION_ID := 74;      --master inv organization    
    l_iface_rec.customer_id           := '53122';  
    l_iface_rec.INVENTORY_ITEM_ID     := '168494'; 
    l_iface_rec.PREFERENCE_NUMBER     := 1;        --rank
    l_iface_rec.inactive_flag         := 2;        --cannot be null, 'N'                 
    l_iface_rec.lock_flag             := 'Y';      --cannot be null    
    l_iface_rec.process_mode          := 1;        --cannot be null
  insert into MTL_CI_XREFS_INTERFACE values l_iface_rec;
end;

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
在Oracle EBS中,创建项目客户的步骤如下: 1. 首先,打开ERP系统并登录到EBS应用程序。 2. 导航到INV(库存)模块,然后选择“设定”菜单。 3. 在菜单中选择“料号”,然后选择“客户料号商品代码”选项。这将打开一个界面,您可以在其中定义商业代码来为客户料号分组。 4. 在此界面上,您可以创建并定义您的项目客户。输入相关的客户料号和其他必要的信息,如名称、地址等。 5. 保存您的更改,并关闭该界面。 通过以上步骤,您可以在EBS中创建项目客户并为其分配相关的客户料号。请注意,EBS的标准功能允许ERP物料和客户物料之间存在多对一和一对多的关系。在一对多的情况下,您可以录入ERP物料并将客户物料字段留空,但系统会警告您必须手动选择客户物料。而在多对一的情况下,您可以直接录入客户物料并选择对应的ERP物料。请注意,这些处理方法可能需要根据实际需求进行定制开发。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* *2* *3* [EBS INV客户料号](https://blog.csdn.net/weixin_42683386/article/details/108531958)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 100%"] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值