Skip to Content

A/P Invoice

Hi everybody, I want to create an A/P Invoice based on a PO, do you know the DI API that I have to use? and do you have an example for do that? I tried with the same object that create a A/R Invoice but changing the BaseEntry parameters, but the systems search a customers and it should search vendor.

Regards

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Sep 03, 2008 at 03:03 PM

    Hi,

    you have to create the object like this:

    Dim oPurchaseInvoice As SAPbobsCOM.Documents

    Set oPurchaseInvoice = oCompany.GetBusinessObject(oPurchaseInvoices)

    lg David

    Add comment
    10|10000 characters needed characters exceeded