We are adding Item BOMs (Current Materials) in Cloud Suite Industrial using REST. We are using Job Orders (SLJobs) form to add assign job number to item, Current Operations (SLJobRoutes) form to add Work Center to Item and Current Materials (SLJobmatls) form to add Materials to Item. We first created an item named "GS-ITEM-BOM-FLOW" using Items (SLItems) form through additem request of REST API. Following are the request payloads which I am using:
Request to Assign Job number "AR00005514" to Item "GS-ITEM-BOM-FLOW" using SLJobs IDO:
POST https://<...removed...>/IDORequestService/MGRestService.svc/xml/SLJobs/additem HTTP/1.1
<?xml version="1.0"?>
<IDOUpdateItem xmlns:i="">www.w3.org/.../XMLSchema-instance" xmlns="">http://www.infor.com">
<Action>Insert</Action>
<ItemId>PBT=[SLJobs]</ItemId>
<ItemNo>0</ItemNo>
<Properties>
<UpdateProperty>
<IsNull>false</IsNull>
<Modified>true</Modified>
<Name>Item</Name>
<OriginalValue i:nil="true" />
<Value>GS-TEST-BOM-FLOW</Value>
</UpdateProperty>
<UpdateProperty>
<IsNull>false</IsNull>
<Modified>true</Modified>
<Name>Job</Name>
<OriginalValue i:nil="true" />
<Value>AR00005514</Value>
</UpdateProperty>
<UpdateProperty>
<IsNull>false</IsNull>
<Modified>true</Modified>
<Name>Suffix</Name>
<OriginalValue i:nil="true" />
<Value>0000</Value>
</UpdateProperty>
</Properties>
<UpdateLocking>Row</UpdateLocking>
</IDOUpdateItem>
Request to Add Work Center "GS-Wor" to Item "GS-ITEM-BOM-FLOW" using SLJobRoutes IDO:
POST https://<...removed...>/IDORequestService/MGRestService.svc/xml/SLJobRoutes/additem HTTP/1.1
<?xml version="1.0"?>
<IDOUpdateItem xmlns:i="">www.w3.org/.../XMLSchema-instance" xmlns="">http://www.infor.com">
<Action>Insert</Action>
<ItemId>PBT=[SLJobRoutes]</ItemId>
<ItemNo>0</ItemNo>
<Properties>
<UpdateProperty>
<IsNull>false</IsNull>
<Modified>true</Modified>
<Name>DerJobItem</Name>
<OriginalValue i:nil="true" />
<Value>GS-ITEM-BOM-FLOW</Value>
</UpdateProperty>
<UpdateProperty>
<IsNull>false</IsNull>
<Modified>true</Modified>
<Name>Wc</Name>
<OriginalValue i:nil="true" />
<Value>GS-Wor</Value>
</UpdateProperty>
<UpdateProperty>
<IsNull>false</IsNull>
<Modified>true</Modified>
<Name>Job</Name>
<OriginalValue i:nil="true" />
<Value>AR00005514</Value>
</UpdateProperty>
<UpdateProperty>
<IsNull>false</IsNull>
<Modified>true</Modified>
<Name>Suffix</Name>
<OriginalValue i:nil="true" />
<Value>0000</Value>
</UpdateProperty>
</Properties>
<UpdateLocking>Row</UpdateLocking>
</IDOUpdateItem>
Request to Add BOM Material "GS-ITEM-TEST" to Item "GS-ITEM-BOM-FLOW" using SLJobmatls IDO:
POST https://<...removed...>/IDORequestService/MGRestService.svc/xml/SLJobmatls/additem HTTP/1.1
<?xml version="1.0"?>
<IDOUpdateItem xmlns:i="">www.w3.org/.../XMLSchema-instance" xmlns="">http://www.infor.com">
<Action>Insert</Action>
<ItemId>PBT=[SLJobmatls]</ItemId>
<ItemNo>0</ItemNo>
<Properties>
<UpdateProperty>
<IsNull>false</IsNull>
<Modified>true</Modified>
<Name>ItmItem</Name>
<OriginalValue i:nil="true" />
<Value>GS-ITEM-BOM-FLOW</Value>
</UpdateProperty>
<UpdateProperty>
<IsNull>false</IsNull>
<Modified>true</Modified>
<Name>OperNum</Name>
<OriginalValue i:nil="true" />
<Value>10</Value>
</UpdateProperty>
<UpdateProperty>
<IsNull>false</IsNull>
<Modified>true</Modified>
<Name>Item</Name>
<OriginalValue i:nil="true" />
<Value>GS-ITEM-TEST</Value>
</UpdateProperty>
<UpdateProperty>
<IsNull>false</IsNull>
<Modified>true</Modified>
<Name>Job</Name>
<OriginalValue i:nil="true" />
<Value>AR00005514</Value>
</UpdateProperty>
<UpdateProperty>
<IsNull>false</IsNull>
<Modified>true</Modified>
<Name>Suffix</Name>
<OriginalValue i:nil="true" />
<Value>0000</Value>
</UpdateProperty>
</Properties>
<UpdateLocking>Row</UpdateLocking>
</IDOUpdateItem>
The response of all three requests is "Insert Successful". But, when we try to query/seach this item job/operations/materials in SLJobs,SLJobRoutes,SLJobmatls collections from Infor CSI, we get zero rows. We cannot see job assigned to this item, or work center added to this item or BOM added on this item from Infor CSI UI.
Any Help about this issue?
Thank you in Advance!