ProdTable::checkMultiSiteBOMRouteConsistency Method
Checks whether the specified site is used consistently for a production.
Syntax
server public static boolean checkMultiSiteBOMRouteConsistency(ProdTable _prodTable, InventSiteId _siteId)
Run On
Server
Parameters
- _prodTable
Type: ProdTable Table
The production order to validate.
- _siteId
Type: InventSiteId Extended Data Type
The Site ID to check the BOM and route version against.
Return Value
Type: boolean
true if the site is used consistently; otherwise false.
Remarks
This method verifies that the site on the production order is the same as the BOM version site; BOM versions without sites are accepted. It also checks that relations to the production order site exist for all route operations.