PBALib::createInventDim Method [AX 2012]

Creates an inventory dimension ID.

NoteNote

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


  Microsoft Dynamics AX 2012 R3
          server public static InventDimId createInventDim(
            ItemId _itemId, 
            InventBatchId _inventBatchId, 
            WMSLocationId _wmsLocationId, 
            WMSPalletId _wmsPalletId, 
            InventSerialId _inventSerialId, 
            InventLocationId _inventLocationId, 
            EcoResItemConfigurationName _configId, 
            EcoResItemSizeName _inventSizeId, 
            EcoResItemColorName _inventColorId, 
            EcoResItemStyleName _inventStyleId, 
            WHSLicensePlateId _licensePlateId, 
            WHSInventStatusId _inventStatusId, 
            InventSiteId _inventSiteId, 
           [InventProfileId_RU _inventProfileId_RU, 
            InventGTDId_RU _inventGTDId_RU, 
            InventOwnerId_RU _inventOwnerId_RU])

  Microsoft Dynamics AX 2012 R2 (SYS)
          server public static InventDimId createInventDim(
            ItemId _itemId, 
            InventBatchId _inventBatchId, 
            WMSLocationId _wmsLocationId, 
            WMSPalletId _wmsPalletId, 
            InventSerialId _inventSerialId, 
            InventLocationId _inventLocationId, 
            EcoResItemConfigurationName _configId, 
            EcoResItemSizeName _inventSizeId, 
            EcoResItemColorName _inventColorId, 
            EcoResItemStyleName _inventStyleId, 
            InventSiteId _inventSiteId, 
           [InventProfileId_RU _inventProfileId_RU, 
            InventGTDId_RU _inventGTDId_RU, 
            InventOwnerId_RU _inventOwnerId_RU])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          server public static InventDimId createInventDim(
            ItemId _itemId, 
            InventBatchId _inventBatchId, 
            WMSLocationId _wmsLocationId, 
            WMSPalletId _wmsPalletId, 
            InventSerialId _inventSerialId, 
            InventLocationId _inventLocationId, 
            EcoResItemConfigurationName _configId, 
            EcoResItemSizeName _inventSizeId, 
            EcoResItemColorName _inventColorId, 
            EcoResItemStyleName _inventStyleId, 
            InventSiteId _inventSiteId)

  Microsoft Dynamics AX 2012 (FPK)
          server public static InventDimId createInventDim(
            ItemId _itemId, 
            InventBatchId _inventBatchId, 
            WMSLocationId _wmsLocationId, 
            WMSPalletId _wmsPalletId, 
            InventSerialId _inventSerialId, 
            InventLocationId _inventLocationId, 
            EcoResItemConfigurationName _configId, 
            EcoResItemSizeName _inventSizeId, 
            EcoResItemColorName _inventColorId, 
            InventSiteId _inventSiteId)

  Microsoft Dynamics AX 2012 (SYS)
          server public static InventDimId createInventDim(
            ItemId _itemId, 
            InventBatchId _inventBatchId, 
            WMSLocationId _wmsLocationId, 
            WMSPalletId _wmsPalletId, 
            InventSerialId _inventSerialId, 
            InventLocationId _inventLocationId, 
            EcoResItemConfigurationName _configId, 
            EcoResItemSizeName _inventSizeId, 
            EcoResItemColorName _inventColorId, 
            InventSiteId _inventSiteId)

Run On

Server

Parameters

_itemId
Type: ItemId Extended Data Type
The item ID.
_inventBatchId
Type: InventBatchId Extended Data Type
The inventory batch ID.
_wmsLocationId
Type: WMSLocationId Extended Data Type
The location ID.
_wmsPalletId
Type: WMSPalletId Extended Data Type
The pallet ID.
_inventSerialId
Type: InventSerialId Extended Data Type
The inventory serial ID.
_inventLocationId
Type: InventLocationId Extended Data Type
The inventory location ID.
_configId
Type: EcoResItemConfigurationName Extended Data Type
The configuration ID.
_inventSizeId
Type: EcoResItemSizeName Extended Data Type
The inventory size ID.
_inventColorId
Type: EcoResItemColorName Extended Data Type
The inventory color ID.
_inventStyleId
Type: EcoResItemStyleName Extended Data Type
The inventory style ID.
_licensePlateId
Type: WHSLicensePlateId Extended Data Type
_inventStatusId
Type: WHSInventStatusId Extended Data Type
_inventSiteId
Type: InventSiteId Extended Data Type
The inventory site ID.
_inventProfileId_RU
Type: InventProfileId_RU Extended Data Type
The inventory profile ID.
_inventGTDId_RU
Type: InventGTDId_RU Extended Data Type
The inventory GTD ID.
_inventOwnerId_RU
Type: InventOwnerId_RU Extended Data Type
The inventory owner ID.

Return Value

Type: InventDimId Extended Data Type
An inventory ID.

Style and site IDs have been added as arguments to this method.

Show: