AxInternalBase.axSalesItemId 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 customer is related.

Syntax

protected container axSalesItemId(
    CustAccount _custAccount, 
    str _itemId, 
   [InventDim _inventDim])

Run On

Called

Parameters

  • _custAccount
    Type: CustAccount Extended Data Type
    The value of the customer 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 axSalesItemId method is only used internally in the AxBC table classes.

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

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

See Also

Reference

AxInternalBase Class