Skip to Content
avatar image
Former Member

Get value from business partner addresses di api

Hello experts ,

I am trying to save the values from addresses from ocrd in a table using vb .How could i move to the next line from bill to.The code is the following :

Dim oBusPartner As SAPbobsCOM.BusinessPartners
oBusPartner = oCompany.GetBusinessObject(BoObjectTypes.oBusinessPartners)

old(2) = oBusPartner.CardCode
old(3) = oBusPartner.CardName
old(21) = oBusPartner.Addresses.AddressName
old(28) = oBusPartner.Addresses.Street
old(29) = oBusPartner.Addresses.StreetNo
old(30) = oBusPartner.Addresses.ZipCode
old(31) = oBusPartner.Addresses.AddressName
old(38) = oBusPartner.Addresses.Street
old(39) = oBusPartner.Addresses.StreetNo
old(40) = oBusPartner.Addresses.ZipCode

Kind Regards ,

Ifigeneia Koumbarda

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Jun 07, 2017 at 04:48 PM


    You should use the code below, after that yout properties will be set for the selected address

    Add comment
    10|10000 characters needed characters exceeded