Sage X3 Web Services - BOD Object

SOLVED

Hi,

Sage version - X3 update 7

I am trying to work with production bom in X3 using web services.

I found that BOD is the object that i need to use and BOMP is the transaction that i need to use. Published it as ZWSBODP.

I do have few production BOMs in my X3

I tried to use web service to find production BOM for A1 parent, but it gave me an error.

I tried to do a LIST call but gave the same error

Looking closely at the error it seems like it is failing to find local menu 224.

*Description subprogram [WJZWSBODP]
  NbErrors[1] NbWarnings[0]
  *MENUS DESCRIPTION
    NbErrors[0] NbWarnings[0]
    [Comments]
    Menus : [8] local menus loaded.
  *FIELDS DESCRIPTION
    NbErrors[0] NbWarnings[0]
    [Comments]
    load GRP [BOH0_1] dim=[1]
    load GRP [BOH0_2] dim=[1]
    load GRP [BOD1_1] dim=[100]
    load GRP [ADXTEC] dim=[1]
    Screens : [45] fields and [4] groups loaded.
  *LEFT LIST DESCRIPTION
    NbErrors[0] NbWarnings[0]
    [Comments]
    LeftList : [6] fields and [1] groups loaded.
  *KEY DESCRIPTION
    NbErrors[1] NbWarnings[0]
    [Comments]
    KeyFiled : [2] fields and [1] groups loaded.
    *GROUP [KEYS]
      NbErrors[1] NbWarnings[0]
      *Field [BOMALTTYP]
        NbErrors[1] NbWarnings[0]
        [Err]Local menu [224] not found into X3 description

I looked at web service mapped fields and but this particular field was no where to be found. So i deleted the web service and re created it. This time i did select to show invisible fields.

I tried LIST function again via web services. This time there is no error but it says no records found.

This i tried to search all using * and it gives me one record. But this record is not in production BOM but in commercial BOMs. Why is BOD with transaction BOMP is showing commercial BOMs and not production BOMs. 

Same thing is happening with Read function call as well. It cannot find any production BOMs but only commercial BOMs. I need to work with production BOMs and not with commercial BOMs. I tried using BOMC and BOMS as transaction for BOD object in web services but it gives me the same result.

Any help is greatly appreciated.

Thanks