SalesJournal SetShipDate The field you are trying to change or function you are calling is not accessible under current circumstance.

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.

  • 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.

    In the online help, it states that the Pending Sales Orders Report is available only in Premium and Quantum, but the help for Enter a Sales Order just shows "6. (Optional) Enter a Shipping Date." without specifying whether it's possible in all Editions.

    I can't check whether the ship date field is available in the 'Pro' software from here, as I only have the Quantum here to look at.  Possibly the SDK doesn't allow entering the data because it can't be used for reports in that Edition.