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

Re: Issue DI API Post Draft AR Invoice with rounding Amount to AR Invoice

$
0
0

Hi Maik,

 

Thanks for your reply.

 

I add the document draft become document with function below :

 

Private Function PostingDraft(ByVal docentry As Integer) As String

         Dim oDoc As SAPbobsCOM.Documents

         oDoc = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oDrafts)

         oDoc.GetByKey(docentry)

         If oDoc.SaveDraftToDocument() = 0 Then

             Return ""

         Else

             Return oCompany.GetLastErrorDescription

         End If

     End Function

 

I'm not change the DocTotal, only post the Draft Document become Document.

 

I already try to set oDoc.Rounding  =  BoYesNoEnum.tYES but still the Rounding amount become Discount when Draft AR Document posted as AR Document.

 

Best Regards,

 

Silvy


Viewing all articles
Browse latest Browse all 8082

Trending Articles



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