ITPUB??ì3
新一届的微软MVP评选已经开始,欢迎各位推荐!
ITPUB论坛 » ERP二次开发 » 哪位做过BOM的数据导入(Data Conversion)

标题: [精华] 哪位做过BOM的数据导入(Data Conversion)
离线 hphubei
版主


精华贴数 14
个人空间 0
技术积分 25287 (37)
社区积分 41950 (19)
注册日期 2004-5-8
论坛徽章:8
      
      

发表于 2006-8-1 20:53 
导入Item的呢?


__________________
…………………………………………     用最少的悔恨面对过去     用最少的浪费面对现在     用最多的梦想面对未来…………………………………………
只看该作者    顶部
离线 dshr
中级会员



精华贴数 2
个人空间 0
技术积分 700 (2705)
社区积分 167 (2593)
注册日期 2002-4-29
论坛徽章:3
ITPUB元老授权会员ERP板块每日发贴之星   
      

发表于 2006-8-2 09:11 
电子商务套件集成开发文档(interface大全)
http://www.itpub.net/603918.html


__________________
不想贴个性标签
只看该作者    顶部
离线 hphubei
版主


精华贴数 14
个人空间 0
技术积分 25287 (37)
社区积分 41950 (19)
注册日期 2004-5-8
论坛徽章:8
      
      

发表于 2006-8-4 14:08 
经过测试,新增一个BOM顺利的导入了,但是DELTE的时候遇到问题,如果仅仅执行
iNSERT into bom_bill_of_mtls_interface
        (assembly_item_id,
        organization_id,
        bill_sequence_id,
    process_flag,
         organization_code,
         item_number,
         assembly_type,
         delete_group_name,
         last_updated_by,
         created_by,
         transaction_type)
VALUES
        (
    11816,
    204,
    45042,
    1,
        'V1',
        'MARK_BOM_T',
        1,
        'BILLS',
        -1,
        -1,
        'DELETE')
/
commit;
然后跑Request Bill and Routing Interface,没有任何错误信息,但是BOM并没有删除掉。


__________________
…………………………………………     用最少的悔恨面对过去     用最少的浪费面对现在     用最多的梦想面对未来…………………………………………
只看该作者    顶部
离线 hphubei
版主


精华贴数 14
个人空间 0
技术积分 25287 (37)
社区积分 41950 (19)
注册日期 2004-5-8
论坛徽章:8
      
      

发表于 2006-8-4 14:10 
INSERT into bom_bill_of_mtls_interface
        (assembly_item_id,
        organization_id,
        bill_sequence_id,
    process_flag,
         organization_code,
         item_number,
         assembly_type,
         delete_group_name,
         last_updated_by,
         created_by,
         transaction_type)
VALUES
        (
    11816,
    204,
    45042,
    1,
        'V1',
        'MARK_BOM_T',
        1,
        'BILLS',
        -1,
        -1,
        'DELETE')
/

INSERT into bom_inventory_comps_interface
        (component_item_number,
         last_updated_by,
         created_by,
         operation_seq_num,
         effectivity_date,
         transaction_type,
         delete_group_name,
         process_flag,
         component_quantity,
         assembly_item_number,
         organization_code)
VALUES
        ('MARK_ONE',
         -1,
         -1 ,
         '1',
         sysdate,
         'DELETE',
         'Components',
         1,
         3,
        'MARK_BOM_T',
        'V1')
/

-- Load inventory components (children) of BOM
-- ISV_ITEM2C

INSERT into bom_inventory_comps_interface
        (component_item_number,
         last_updated_by,
         created_by,
         operation_seq_num,
         effectivity_date,
         bill_sequence_iD,
         transaction_type,
         delete_group_name,
         process_flag,
         component_quantity,
         assembly_item_number,
         organization_code)
VALUES
        ('MARK_TWO',
         -1,
         -1 ,
         '1',
         sysdate,
         45042,
         'DELETE',
         'Components',
         1,
         3,
        'MARK_BOM_T',
        'V1')
/

这个时候执行在LOG里面会出现错误信息:

Entity: RC.  Row Identifier: 6898.  Entity index: 1.  
You cannot update or delete component MARK_ONE since it does not exist for item MARK_BOM_T.

Entity: RC.  Row Identifier: 6899.  Entity index: 2.  
You cannot update or delete component MARK_TWO since it does not exist for item MARK_BOM_T.

Entity: BO.  Row Identifier: 6897.  Entity index: 1.  
An error occured while processing business object MARK_BOM_T in organization V1. Please check the data in this business object and re-run the import process.


__________________
…………………………………………     用最少的悔恨面对过去     用最少的浪费面对现在     用最多的梦想面对未来…………………………………………
只看该作者    顶部
离线 hphubei
版主


精华贴数 14
个人空间 0
技术积分 25287 (37)
社区积分 41950 (19)
注册日期 2004-5-8
论坛徽章:8
      
      

发表于 2006-8-4 15:52 


QUOTE:
最初由 yqwd91 发布
按照你们的方法测试已经可以导入。
但是关于import详细的错误信息在那里可以看到??
求除1)request的log
        2)interface中的process_flag
以外的其它信息


MTL_INTERFACE_ERRORS

在这个里面


__________________
…………………………………………     用最少的悔恨面对过去     用最少的浪费面对现在     用最多的梦想面对未来…………………………………………
只看该作者    顶部
离线 yuqingtang



精华贴数 0
个人空间 0
技术积分 68 (22263)
社区积分 0 (1771342)
注册日期 2008-5-8
论坛徽章:0
      
      

发表于 2008-6-3 18:45 
导入bom


只看该作者    顶部
离线 gdzhj
初级会员



精华贴数 0
个人空间 0
技术积分 34 (36704)
社区积分 0 (416405)
注册日期 2005-5-19
论坛徽章:4
生肖徽章2007版:牛生肖徽章2007版:猴生肖徽章2007版:鸡生肖徽章2007版:鼠  
      

发表于 2008-6-11 14:35 
用API的方法很不错


只看该作者    顶部
相关内容


CopyRight 1999-2006 itpub.net All Right Reserved.
北京皓辰广域网络信息技术有限公司. 版权所有
E-mail:Webmaster@itpub.net
京ICP证:010037号 联系我们 法律顾问