SalesLine.initFromItemOrCategory Method
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,
SalesCategory _salesCategory,
ItemFreeTxt _name,
[boolean _searchPriceDisc])
Microsoft Dynamics AX 2012 R2 (SYS)
public void initFromItemOrCategory(
ItemId _itemId,
SalesCategory _salesCategory,
ItemFreeTxt _name)
Microsoft Dynamics AX 2012 Feature Pack (SYS)
public void initFromItemOrCategory(
ItemId _itemId,
SalesCategory _salesCategory,
ItemFreeTxt _name)
Microsoft Dynamics AX 2012 (FPK)
public void initFromItemOrCategory(
ItemId _itemId,
SalesCategory _salesCategory,
ItemFreeTxt _name)
Microsoft Dynamics AX 2012 (SYS)
public void initFromItemOrCategory(
ItemId _itemId,
SalesCategory _salesCategory,
ItemFreeTxt _name)
Run On
Called
Parameters
- _itemId
Type: ItemId Extended Data Type
- _salesCategory
Type: SalesCategory Extended Data Type
- _name
Type: ItemFreeTxt Extended Data Type
- _searchPriceDisc
Type: boolean