Skip to Content
Dec 28, 2018 at 08:02 AM

Production Order with Routing Stages giving Error through DI API

610 Views Last edit Dec 28, 2018 at 09:37 AM 2 rev

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.