Skip to Content
0
Former Member
Nov 14, 2005 at 04:12 PM

Change base document reference in matrix.

121 Views

Hello.

I'm trying to use the Invoice form (133) from code to create an invoice document based on one or more sales orders.

I can fill the matrix with copies of lines from the sales orders, but I can't set the base ref on these lines. Therefore the sales order is not getting closed.

Im doing this because I don't want to create the invoice in the database without showing it to the user first.

Have anybody tried doing it this way?

Magnus

Message was edited by: Magnus Byrkjeflot