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

Re: Change Payment Method in AR Invoice

$
0
0

You may try this also.

 

            Dim Inv As SAPbobsCOM.Documents

            Inv = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices)

 

 

            With Inv

                If .GetByKey("1") Then

                    Inv.PaymentMethod = "30D"

 

 

                    If Not .Update = 0 Then

                        MsgBox(oCompany.GetLastErrorDescription)

                    End If

                End If

            End With

 

You can't update paid invoice or closed.


Viewing all articles
Browse latest Browse all 9656

Trending Articles



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