cancel
Showing results for 
Search instead for 
Did you mean: 

Production Order with Routing Stages giving Error through DI API

saadsabri
Explorer
0 Kudos

I have an add-on developed on my laptop (SAP B1 9.3 PL07/ MSSQL 2014) which creates production orders with Routing Stages.
This add-on is working perfectly fine with me but when I shift this add-on to the client system(SAP B1 9.3 PL05/ HANA) all functionalities work perfectly fine. As soon as I try to access Production Order Stages, I am getting the following exceptions:

When getting like this

int Entry = oProd.Stages.StageEntry;

Exception : Method not found : 'SAPbobsCOM.ProductionOrders_Stages SAPbobsCOM.IProductionOrders.get_Stages().'

When setting

oProd.Stages.StageEntry = Entry;

Method not found : 'Void SAPbobsCOM.IProductionOrders_Lines.set_StageID(Int32)'

I tried rebuilding my add-on with the SDK of PL05 but the issue persists.

ANKIT_CHAUHAN
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

Which DLL reference you are using in your project code? Is it SAPBusinessOneSDK.dll or SAPbobsCOM.dll?

Can you make sure that these DLLs are for SAP Business One Version for SAP HANA only?

Kind regards,

ANKIT CHAUHAN

SAP Business One Support

Accepted Solutions (0)

Answers (0)