SalesQuotationLine.createLine Method
Creates a sales quotation line.
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 createLine(
[boolean _validation,
boolean _initFromSalesQuotationTable,
boolean _initFromItemOrCategory,
boolean _calcInventQty,
boolean _searchMarkup,
boolean _searchPrice,
TradeInventTransId _oldInventTransID,
boolean _skipsalesQuotationTableUpdate])
Microsoft Dynamics AX 2012 R2 (SYS)
public void createLine(
[boolean _validation,
boolean _initFromSalesQuotationTable,
boolean _initFromItemOrCategory,
boolean _calcInventQty,
boolean _searchMarkup,
boolean _searchPrice,
TradeInventTransId _oldInventTransID,
boolean _skipsalesQuotationTableUpdate])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
public void createLine(
[boolean _validation,
boolean _initFromSalesQuotationTable,
boolean _initFromItemOrCategory,
boolean _calcInventQty,
boolean _searchMarkup,
boolean _searchPrice,
TradeInventTransId _oldInventTransID])
Microsoft Dynamics AX 2012 (FPK)
public void createLine(
[boolean _validation,
boolean _initFromSalesQuotationTable,
boolean _initFromItemOrCategory,
boolean _calcInventQty,
boolean _searchMarkup,
boolean _searchPrice,
TradeInventTransId _oldInventTransID])
Microsoft Dynamics AX 2012 (SYS)
public void createLine(
[boolean _validation,
boolean _initFromSalesQuotationTable,
boolean _initFromItemOrCategory,
boolean _calcInventQty,
boolean _searchMarkup,
boolean _searchPrice,
TradeInventTransId _oldInventTransID])
Run On
ClientOrServer
Parameters
- _validation
Type: boolean
true if validation is required; otherwise false.
- _initFromSalesQuotationTable
Type: boolean
true if it is initiated from SalesQuotationTable table; otherwise false.
- _initFromItemOrCategory
Type: boolean
true if it is initiated from InventTable table; otherwise false.
- _calcInventQty
Type: boolean
true if needs to calculate quantity; otherwise false.
- _searchMarkup
Type: boolean
true to search for Markups; otherwise false.
- _searchPrice
Type: boolean
true to perform price search on different quotation type; otherwise false.
- _oldInventTransID
Type: TradeInventTransId Extended Data Type
This is the InventTransID.
- _skipsalesQuotationTableUpdate
Type: boolean
Updates SalesQutationTable table if true; otherwise false.
Remarks
If searchPrice is true then will try to update price history for a PurchLine without an InventTransID.