Skip to main content
Answer

Not Able to get data of Material and Tool by manufacturing(21.200.001) endpoint using BillOfMaterial

  • July 19, 2023
  • 1 reply
  • 64 views

Forum|alt.badge.img

I have extend endpoints manufacturing(21.200.001) and using BillOfMaterial but I also want to expose data of Material and Tools, not able to do, Is there any way to expose the data of Material and Tool with BillOfMaterial.

 

 

URL: {{URL}}/entity/MANUFACTURING/21.200.001/BillOfMaterial?$expand=operations,operations/Material,operations/Tools&$Select=BOMID,Status,InventoryID,Warehouse,InventoryUoM,Revision,operations/WorkCenter,operations/OperationDescription,operations/Material/QtyRequired,operations/Material/Warehouse,operations/Tools/ToolID,operations/Tools/LineID

Best answer by jinin

Hi @ashrivastava42 

By default, the Manufacturing endpoint does not include the Martial and Tools sub-entities. To include them, extend the default Manufacturing endpoint and add the Tools and Materials with their respective fields to the BillOfMaterial entity. After making these changes, you can test the updated endpoint using the sample URL provided below.

Sample endpoint: entity/MANUTACTTEST/20.200.001/BillOfMaterial?$expand=BomToolRecords,BomMatlRecords


 

 

1 reply

jinin
Pro I
Forum|alt.badge.img+11
  • Pro I
  • Answer
  • July 20, 2023

Hi @ashrivastava42 

By default, the Manufacturing endpoint does not include the Martial and Tools sub-entities. To include them, extend the default Manufacturing endpoint and add the Tools and Materials with their respective fields to the BillOfMaterial entity. After making these changes, you can test the updated endpoint using the sample URL provided below.

Sample endpoint: entity/MANUTACTTEST/20.200.001/BillOfMaterial?$expand=BomToolRecords,BomMatlRecords