Page 1 of 1

Show quotation number on invoice

PostPosted: Sat Oct 27, 2012 4:01 am
by nmicoud
Hi,

I would like to print on the invoice the document number of the quotation.

The sales process is this one :
Quotation > Order > Shipment > Invoice (Order is creating through Quote convert ; quotations and order have their own sequences).

From the invoice i can only got to the order but the customer (recipient of the invoice) has only approved the quotation.
Should i have to add a OrigOrder_ID on C_Order (to store quotation on order) or is there a "standard' way to do it ?

Thanks,

Nicolas

Re: Show quotation number on invoice

PostPosted: Sat Oct 27, 2012 11:35 am
by globalqss
Something quick and straight could be to add this line on the CopyOrder process (customized)

newOrder.setPOReference(from.getDocumentNo());

Regards,

Carlos Ruiz

Re: Show quotation number on invoice

PostPosted: Sat Oct 27, 2012 4:15 pm
by nmicoud
Yes that will work but how can we put a read only logic on this field.

That also make me wondering how we can know which quotation has lead to an order

I think i will add this new column. Do you think it worth a jira ticket ?

Thanks

Nicolas

Re: Show quotation number on invoice

PostPosted: Tue Oct 30, 2012 1:29 am
by globalqss
Checking ...

Re: Show quotation number on invoice

PostPosted: Tue Oct 30, 2012 5:19 am
by globalqss
Yes Nicolas, is worthy to open a JIRA ticket and try to make it product.

Re: Show quotation number on invoice

PostPosted: Tue Oct 30, 2012 4:29 pm
by nmicoud