cancel
Showing results for 
Search instead for 
Did you mean: 

Consolidate orders

Former Member
0 Kudos

Hi there.

I try to generate invoices from sales orders via the Document Generation Wizard, but almost whenever I try to consolidate my salesorders into one invoice, I get the following message:

Cannot draw this document. Field contains different values in each base document. [AR Inv...

What is the problem?

-Runar

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Runar

can u please explain me how to get the Document Generation Wizard?

I've to bill one invoice having as input many sales documents.

Sorry but i never dealth with this kind of things so if you could explain in a detailed manner it could be great.

Thanks a lot

C*

Former Member
0 Kudos

The full error message should be:

Cannot draw this document. Field contains different values in each base document. [AR Invoice - Ship to]

That last bit was out of view, but could be retreived by copying the line.

So after some heavy debugging, I found out that salesorders that I had created via the API, had a default, correct shipTo (Address2 in database), whereas when I just created a new SalesOrder, it got a blank shipto-address. Why is this so, I wonder? Shouldn't salesorders that I create via the API and the user interface be the same?

former_member184566
Active Contributor
0 Kudos

Hi runar

When using the DI API, it uses the defaults of the system unless you stipulate differently in the code. So have you set default address for the Business partner in the front end? Also users are free to change that when making the sales order.

Hope this helps