BOMCreate.createBOMCopy Method [AX 2012]
Creates a BOM by copying the data from another BOM.
Syntax
protected container createBOMCopy(
InventTable _inventTable,
BOMId _fromBOMId,
BOMId _toBOMId,
InventSiteId _fromSiteId,
InventSiteId _toSiteId,
Name _name)
Run On
Server
Parameters
- _inventTable
Type: InventTable Table
An InventTable buffer that contains the item for which the BOM is created.
- _fromBOMId
Type: BOMId Extended Data Type
The source BOM ID from which to copy.
- _toBOMId
Type: BOMId Extended Data Type
The target BOM ID to which to copy.
- _fromSiteId
Type: InventSiteId Extended Data Type
The source site ID.
- _toSiteId
Type: InventSiteId Extended Data Type
The target site ID.
- _name
Type: Name Extended Data Type
The new BOM name to be that will be given to the target BOM.
Return Value
Type: container
A container that contains the created BOM ID and site ID.