Hi,
I have created an AIf document service for the creation of free text invoice and it worked.
i wanted to also post the invoice automatically after creation so i added the following code to the updatenow method of the axd class
public void updateNow()
{
CustInvoiceLine custInvoiceLine;
CustPostInvoice custPostInvoice;
CustInvoiceTable custInvoiceTable;
custInvoiceLine = axCustInvoiceLine.custInvoiceLine();
custPostInvoice = new CustPostInvoice(CustInvoiceTable);
custPostInvoice.run();
}
but i keep getting the following error
The request failed with the following error: Object reference not set to an instance of an object.
I need help
thank you