cancel
Showing results for 
Search instead for 
Did you mean: 

Problem creating invoice from draft via xml

Former Member
0 Kudos

Hi,

I am creating invoice documents from invoice drafts by exporting the draft to xml,

removing the DocObjectCode, DocNum fields, setting the Object field and importing into an invoice document. For local currency documents everything works fine. However for currency documents the SDK adds a discount so that the currency document total becomes the local amount. Can anyone help?

I am using SBO 2005 PL34.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Fixed it. You have to remove the DocTotal node from xml before import.

Former Member
0 Kudos

In PL 36 I had a very bad problem trying to create the invoice from draft (via XML). This was caused by the CogsAcct field. When I stripped it from the xml then it worked...

Regards

Answers (0)