web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :

Create sales order from sales quotation

Muhammad Afsar Khan Profile Picture Muhammad Afsar Khan 2,676
Following code is used to create sales order from sales quotation:
static void createSalesOrderFromQuote(Args _args)
{
SalesQuotationTable salesQuotationTable = SalesQuotationTable::find("");
SalesQuotationEditLinesForm editLinesForm;
ParmId parmId;

editLinesForm = SalesQuotationEditLinesForm::construct(DocumentStatus::Confirmation);

parmId = editLinesForm.parmId();

editLinesForm.initParmSalesQuotationTable(salesQuotationTable);
editLinesForm.parmTransDate(systemDateGet());
editLinesForm.prePromptInit();
editLinesForm.initParameters(NoYes::No, NoYes::No, NoYes::No, NoYes::No, NoYes::No, '', NoYes::No);

editLinesForm.run();
}

Happy Daxing !!!

This was originally posted here.

Comments

*This post is locked for comments