You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Bs Serge <se...@gmail.com> on 2022/12/09 13:58:38 UTC

Sales Order Invoice Due in the future

Hi all,

How to create a sales invoice to a customer for a placed order that has a
due date of a certain specific date in the future?

I can create an order separately and then create a sales invoice separately
with the item, but I want that sales invoice to be related to the created
order.

There is a way to relate invoice items to an order as I can see in the
invoice items table but I can't figure how to relate them even while adding
invoice items.

Best regards,

AW: Sales Order Invoice Due in the future

Posted by Ingo Wolfmayr <in...@wolfix.at>.
Hi,

I assume by due date you mean "ship after"? 

For creating invoices before shipping is done I use the service "createInvoiceForOrderAllItems".

Important related tables are:

OrderItemBilling
ItemIssuance

Hope that helps.

Best regards
Ingo

 


-----Ursprüngliche Nachricht-----
Von: Bs Serge <se...@gmail.com> 
Gesendet: Freitag, 9. Dezember 2022 14:59
An: user@ofbiz.apache.org
Betreff: Sales Order Invoice Due in the future

Hi all,

How to create a sales invoice to a customer for a placed order that has a due date of a certain specific date in the future?

I can create an order separately and then create a sales invoice separately with the item, but I want that sales invoice to be related to the created order.

There is a way to relate invoice items to an order as I can see in the invoice items table but I can't figure how to relate them even while adding invoice items.

Best regards,