Share via


BOMCreate.createNewBom Method [AX 2012]

Creates a new BOM.

Syntax

Note

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.

  Microsoft Dynamics AX 2012 R3
          protected BOMTable createNewBom(
            BOMId _bomId, 
            ItemGroupId _itemGroupId, 
            InventSiteId _dialogSiteId, 
            Name _dialogName, 
           [boolean _pmfIsFormula])

  Microsoft Dynamics AX 2012 R2 (SYS)
          protected BOMTable createNewBom(
            BOMId _bomId, 
            ItemGroupId _itemGroupId, 
            InventSiteId _dialogSiteId, 
            Name _dialogName, 
           [boolean _pmfIsFormula])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          protected BOMTable createNewBom(
            BOMId _bomId, 
            ItemGroupId _itemGroupId, 
            InventSiteId _dialogSiteId, 
            Name _dialogName, 
           [boolean _pmfIsFormula])

  Microsoft Dynamics AX 2012 (FPK)
          protected BOMTable createNewBom(
            BOMId _bomId, 
            ItemGroupId _itemGroupId, 
            InventSiteId _dialogSiteId, 
            Name _dialogName)

  Microsoft Dynamics AX 2012 (SYS)
          protected BOMTable createNewBom(
            BOMId _bomId, 
            ItemGroupId _itemGroupId, 
            InventSiteId _dialogSiteId, 
            Name _dialogName)

Run On

Server

Parameters

  • _pmfIsFormula
    Type: boolean
    A Boolean value that indicates whether the new item is a formula.

Return Value

Type: BOMTable Table
The newly created BOMTable record.

Exceptions

Exception Condition
Error

The BOM validation failed.

See Also

Reference

BOMCreate Class