I am trying to insert data into Purchase Request using DI API.
These are 2 lines from the beginning of a method im working on.
oPR = (SAPbobsCOM.Documents)ZSBO.oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPurchaseRequest);
I can't seem to assign BoObjectTypes.oPurchaseReuqest to oPR.
I only get an errror saying "Can't find the definition of oPurchaseRequest in SAPbobsCOM.BoObjectTypes".
Please help. Thanks in advance.