Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0019343Openbravo ERP07. Sales managementpublic2011-12-21 20:482012-05-21 17:56
dmitry_mezentsev 
naiaramartinez 
normalminoralways
scheduledopen 
5
3.0MP6 
 
Core
No
0019343: Create Invoices from Orders window does not properly work with Invoice Term Customer Schedule After Delivery
It treats it as Customer Schedule After ORDER DELIVERED, meaning that invoice is generated only if all the lines of the Sales Order are shipped.

At the same time Generate Invoices process works OK with the same Invoice Term and treats it properly.

In addition to that:
1. Although Generate Invoices works OK its Sales Order field does not show this Order while it should.
2. The same applies for the Sales Invoice --> Create Lines From window that does not list this SO in the drop-down (until it is fully shipped).
live.builds and F&B, default login.

1. Invoice Schedule window. Modify Monthly 1st schedule by setting Day of the Month = Invoice Cut-Off Day = current date.
2. Business Partner. Modify Healthy Food Supermarkets, Co. by setting Invoice Terms to Customer Schedule after delivery and Monthly 1st.
3. Book Sales Order for above BP with 2 products in it.
4. Create Goods Shipment for this BP through Create Lines From but changing quantity to 1. Finally ship only 1 product.
5. Launch Create Invoices from Orders. Mention that Sales Order from point 3 is not listed there.
6. Sales Invoice. Select Healthy Food as BP. Create Lines From - Sales Order drop-down is also missing this SO.
7. Generate Invoices. Sales Order drop-down is also without this Sales Order but if you run the process leaving SO field empty - Sales Invoice is generated.
VMA-Reviewed
Issue History
2011-12-21 20:48dmitry_mezentsevNew Issue
2011-12-21 20:48dmitry_mezentsevAssigned To => jonalegriaesarte
2011-12-21 20:48dmitry_mezentsevModules => Core
2012-02-15 19:03iciordiaAssigned Tojonalegriaesarte => vmromanos
2012-02-16 18:27vmromanosTag Attached: VMA-Reviewed
2012-05-10 12:13gorka_gilAssigned Tovmromanos => mirurita
2012-05-21 17:55naiaramartinezNote Added: 0048824
2012-05-21 17:55naiaramartinezAssigned Tomirurita => naiaramartinez
2012-05-21 17:56naiaramartinezStatusnew => scheduled
2012-05-21 17:56naiaramartinezfix_in_branch => pi

Notes
(0048824)
naiaramartinez   
2012-05-21 17:55   
Test Plan 1:

   Go to Invoice Schedule window. Modify Monthly 1st schedule by setting Day of the Month = Invoice Cut-Off Day = current date.
   Go to Business Partner. Modify Healthy Food Supermarkets, Co. by setting Invoice Terms to Customer Schedule after delivery and Monthly 1st.

   Go to Sales Order window and create new header filling the following fields:
      Business Partner: Healthy Food Supermarkets, Co.
      Notice that Invoice Terms field is 'Customer Schedule after delivery' and save it.
   Go to lines tab and create new line. Change the quantity to 2.
   Create another new line and change the quantity to 2.
   Book the order.

   Go to Goods shipment window and create a new header filling the following fields:
      Business Partner: Healthy Food Supermarkets, Co.
   Press 'Create lines from' button. In the popup choose newly created sales order. Select the two lines and press OK button. Now, change the quantity to 1 in one of the two lines. Complete the shipment.

   Go to Sales invoice window and create a new header filling the following fields:
   Business Partner: Healthy Food Supermarkets, Co.
   Press 'Create lines from' button. In the popup choose newly created sales order. Notice that the quantity is delivered quantity. Press 'OK'.
   If you try to set a bigger invoiced quantity than delivered quantity, when you complete the invoice you will get and error.

Test Plan 2:

   Go to Invoice Schedule window. Modify Monthly 1st schedule by setting Day of the Month = Invoice Cut-Off Day = current date.
   Go to Business Partner. Modify Healthy Food Supermarkets, Co. by setting Invoice Terms to Customer Schedule after delivery and Monthly 1st.

   Go to Sales Order window and create new header filling the following fields:
      Business Partner: Healthy Food Supermarkets, Co.
   Notice that Invoice Terms field is 'Customer Schedule after delivery' and save it.
   Go to lines tab and create new line. Change the quantity to 2.
   Create another new line and change the quantity to 2.
   Book the order.

   Go to Goods shipment window and create a new header filling the following fields:
      Business Partner: Healthy Food Supermarkets, Co.
   Press 'Create lines from' button. In the popup choose newly created sales order. Select the two lines and press OK button. Now, change the quantity to 1 in one of the two lines. Complete the shipment.

   Go to 'Create Invoices from Orders' select the newly created sales order. Press 'Process' button. Notice that an invoice is created with delivered quantities.

Test Plan 3:
   Go to Invoice Schedule window. Modify Monthly 1st schedule by setting Day of the Month = Invoice Cut-Off Day = current date.
   Go to Business Partner. Modify Healthy Food Supermarkets, Co. by setting Invoice Terms to Customer Schedule after delivery and Monthly 1st.

   Go to Sales Order window and create new header filling the following fields:
      Business Partner: Healthy Food Supermarkets, Co.
   Notice that Invoice Terms field is 'Customer Schedule after delivery' and save it.
   Go to lines tab and create new line. Change the quantity to 2.
   Create another new line and change the quantity to 2.
   Book the order.

   Go to Goods shipment window and create a new header filling the following fields:
      Business Partner: Healthy Food Supermarkets, Co.
   Press 'Create lines from' button. In the popup choose newly created sales order. Select the two lines and press OK button. Now, change the quantity to 1 in one of the two lines. Complete the shipment.

   Go to 'Generate Invoices' and select the newly created sales order. Press 'OK' button. Notice that an invoice is created with delivered quantities.