Share via


RetailBarcodeManagement.returnBarcForItemVariant Method [AX 2012]

Calculates barcode mask from the item variants.

Syntax

public RetailBarcodeMask returnBarcForItemVariant(
    RetailBarcodeMask _barcodeNo, 
    InventDimCombination _iDCombination, 
    RetailBarcodeMask _barcodeMask, 
    int sizePos, 
    int colorPos, 
    int stylePos, 
    int sizeNum, 
    int colorNum, 
    int styleNum, 
    int IUOMPos, 
    int UOMNum, 
    UnitOfMeasureSymbol UOMCode)

Run On

Server

Parameters

  • sizePos
    Type: int
    An integer that gives the size variant position in the dimension barcode.
  • colorPos
    Type: int
    An integer that gives the color variant position in the dimension barcode.
  • stylePos
    Type: int
    An integer that gives the stlye variant position in the dimension barcode.
  • sizeNum
    Type: int
    An integer that gives the size variant number in the dimension barcode.
  • colorNum
    Type: int
    An integer that gives the color variant number in the dimension barcode.
  • styleNum
    Type: int
    An integer that gives the style variant number in the dimension barcode.
  • IUOMPos
    Type: int
    An integer that gives the unit of measure position in the dimension barcode.
  • UOMNum
    Type: int
    An integer that gives the unit of measure number in the dimension barcode.

Return Value

Type: RetailBarcodeMask Extended Data Type
The barcode mask of the item.

Exceptions

Exception Condition
Error

throws exception if the variants are not available in their respective tables.

See Also

Reference

RetailBarcodeManagement Class