Hi, All:
I have a customization in sales quotation line form (salesQuotationTable)
To popup a new form to choose some items with some condition and then try to insert into quotation line.
I try to use AxSalesQuotationTable , AxSalesQuotationLine class to do it.
However, Since the quotation header is already created.
and AxSalesQuotationTable seems cannot initialize from an existing salesQuatation table .
The code is like this:
AxSalesQuotationTable = new AxSalesQuotationTable();
AxSalesQuotationTable .parmQuotationId(CurrentQuotationID);
AxSalesQuotationTable .parmCurrencyCode('USD');
AxSalesQuotationTable .save();
It is predictable it show the id is already existed error.
My question is
1. In this scenario, Can I still use this class to do it?
2. If not, I have try to insert SalesQuotationLine , but the line I inserted did not show up in SalesQuotationLine form after inserted. It seems lacking some table relations or fields?
Thanks for the help! (I'm using AX 2012 CU 12)
Quatrani