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 <sergeb...@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,

Reply via email to