Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8667

Re: Update Outgoing Payment Row Data(Account Type)

$
0
0

Try this.

 

                    Dim oOutgoingPayment As SAPbobsCOM.Payments

                    oOutgoingPayment = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oVendorPayments)

                    If oOutgoingPayment.GetByKey("1") Then

 

 

                        oOutgoingPayment.Invoices.DocEntry = "2" '<--- AP Invoice

                        oOutgoingPayment.Invoices.UserFields.Fields.Item("U_").Value = "NEW VALUE"

 

 

                        If Not oOutgoingPayment.Update = 0 Then

                            MsgBox(oCompany.GetLastErrorDescription)

                        End If

                    End If


Viewing all articles
Browse latest Browse all 8667

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>