PCProductionDocumentsUtility.updateSiteIdOnBOMandRoute Method [AX 2012]

Updates the site ID in a pair of generated bill of materials (BOM) and route.

public void updateSiteIdOnBOMandRoute(
    BOMId _bomId, 
    RouteId _routeId, 
    InventSiteId _siteId)

Run On

Server

Parameters

_bomId
Type: BOMId Extended Data Type
The ID of the BOM to update.
_routeId
Type: RouteId Extended Data Type
The ID of the route to update.
_siteId
Type: InventSiteId Extended Data Type
The ID of the site from which to update the BOM and route.

ExceptionCondition
Error

The specified site ID does not exist.

Community Additions

ADD
Show: