Share via


AxInternalBase.axPurchItemId Method [AX 2012]

Converts a value that relates to item identification by using the map policy that is passed to the AxBC table class when a vendor is related.

Syntax

protected container axPurchItemId(
    VendAccount _vendAccount, 
    str _itemId, 
   [InventDim _inventDim])

Run On

Called

Parameters

  • _vendAccount
    Type: VendAccount Extended Data Type
    The value of the vendor account that is used for converting the item if the map policy is set to external item number.
  • _itemId
    Type: str
    The value of the county identification that is to be converted.
  • _inventDim
    Type: InventDim Table
    The value of the inventory dimension that is used for converting the item if the map policy is set to external item number.

Return Value

Type: container
The converted value for item identification, which is related inventory dimension record.

Remarks

The axPurchItemId method is only used internally in the AxBC table classes.

The map policy is set up in the value mapping form.

The axPurchItemId method can also be used when there is no customer or vendor related to the item by using the _vendAccount parameter.

See Also

Reference

AxInternalBase Class