PurchLineType_Purch.initFromEcoResCategory Method [AX 2012]
Initializes the project fields based on the procurement or sales category.
Syntax
protected void initFromEcoResCategory(PurchCategory _procurementCategory, ItemFreeTxt _name)
Run On
Called
Parameters
- _procurementCategory
Type: PurchCategory Extended Data Type
The ProcurementCategory record with which to initialize the purchase line.
- _name
Type: ItemFreeTxt Extended Data Type
The name to be assigned to the line.