PurchLine.initFromItemOrCategory Method
Initiates a PurchLine table buffer from an based on a item or catagory.
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
public void initFromItemOrCategory(
ItemId _itemId,
PurchCategory _procurementCategory,
ItemFreeTxt _name,
[boolean _searchPrice,
boolean _setAddressFromInventDim])
Microsoft Dynamics AX 2012 R2 (SYS)
public void initFromItemOrCategory(
ItemId _itemId,
PurchCategory _procurementCategory,
ItemFreeTxt _name,
[boolean _searchPrice,
boolean _setAddressFromInventDim])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
public void initFromItemOrCategory(
ItemId _itemId,
PurchCategory _procurementCategory,
ItemFreeTxt _name)
Microsoft Dynamics AX 2012 (FPK)
public void initFromItemOrCategory(
ItemId _itemId,
PurchCategory _procurementCategory,
ItemFreeTxt _name)
Microsoft Dynamics AX 2012 (SYS)
public void initFromItemOrCategory(
ItemId _itemId,
PurchCategory _procurementCategory,
ItemFreeTxt _name)
Run On
Called
Parameters
- _itemId
Type: ItemId Extended Data Type
A ItemId type.
- _procurementCategory
Type: PurchCategory Extended Data Type
A PurchCategory type.
- _name
Type: ItemFreeTxt Extended Data Type
The name of the catagory item.
- _searchPrice
Type: boolean
A Boolean that specifies whether prices and discounts should be initiated; optional.
- _setAddressFromInventDim
Type: boolean
A Boolean that specifies whether the address should be initiated from the inventory dimension; optinal.