10.2.4 - PartMtl REST API

Does anyone know if there is a REST service for PartMtl (Erp.PartMtl)? I tried locating it in PartSvc, but couldn’t find anything.

Thanks,

Josh

BOM changes are done through the Engineering Workbench and then checked in which adds your PartMtl and PartOpr, etc. records.

Do you know what service I could hook into to order to change EstScrapType inside the Erp.PartMtl?

Erp.BO.EngWorkBenchSvc and you should find that field in ECOMtl. When you check in the changes, ECOMtl will write to PartMtl.

1 Like

You can get the PartMtl rows by calling GetDatasetForTree in BomSearchSvc, but it is read-only. Like @Mark_Wonsil said, if you are making changes you need to use EngWorkBenchSvc.

I was hopeful for a direct method to PartMtl, but I guess I’ll have to go through EWB.

Thanks for the information Mark and Andrew!

Outside of REST, DMT gives one an interface that does the EWB in the background but makes it look like you’re manipulating PartMtl and PartOpr.