Skip to Content

Change StartDate on Production Order

We upgrade to SAP B1 9.2 PL08 HF3.

I develop a X88 C# solution with VS2010 and i need to set StardDate fields on Production Order (OWOR Table).

I add as Reference in my VS Solution the SAPBusinessOneSDK (C:\Program Files (X86)\SAP\SAP Business One SDK\Lib\SAPBusinessOneSDK .dll

When i run my solution error occurred.

“It’s not possible to find method 'Void SAPbobsCOM.IProductionOrders.set_StartDate(System.DateTime)

In my class the code it’s like:

using SAPbobsCom;

public static void MyClass(string date_start)


SAPbobsCOM.ProductionOrders oOrdProd;

oOrdProd = (SAPbobsCOM.ProductionOrders)oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oProductionOrders);




Instead of Reference SAPBusinessOneSDK if i use the reference SAPbobsCM (DLL), this error disappears and the solution runs correctly and i can change StartDate fields.

Any suggestions ?

Add comment
10|10000 characters needed characters exceeded

2 Answers

  • Best Answer
    Posted on Sep 16, 2017 at 01:19 AM


    I had a similar issue to your's when I upgraded from SAP Business One 9.2 PL03 to PL08 HF02. It wasn't on ProductionOrders, but instead if I tried to access any of the DI-API properties that had been added since PL03, such as CompanyInfo.B1iTimeOut, it would result in:

    System.MissingMethodException: Method not found: 'Int32 SAPbobsCOM.ICompanyInfo.get_B1iTimeOut()'.


    Updating SAPBusinessOneSDK.dll in the GAC following the answer in this ticket resolved my issue:

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 18, 2017 at 12:33 PM

    Thank you.

    I solved.

    Best REgards

    Add comment
    10|10000 characters needed characters exceeded