Hello Friends,
I am using SAGE 2019.1 SDK for importing invoice in my application.
I am getting error at the time of SetShip date "The field you are trying to change or function you are calling is not accessible under current circumstance.".
I am getting this error for "Sage 50 Pro accounting" Company account type if I create company account with "Sage 50 Quantum Accounting" Then its working fine.
Here is my code snippet
SDKInstanceManager.Instance.OpenDatabase(SageCompanyFile, SageLogin, SagePassword, true, "myApp", "SASDK", 1);
SalesJournal journal = SDKInstanceManager.Instance.OpenSalesJournal();
journal.SelectTransType(0);
journal.SelectPaidByType("Pay Later");
journal.InvoiceNumber = invoice.InvoiceNumber;
journal.SetShipDate(invoice.InvoiceDate);
Please anyone help, is there anything I missing for company configuration or missing something in code.
Thanks in advance.