Details
-
Type: Improvement
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: 3.3.0-b1
-
Fix Version/s: Short Term
-
Component/s: None
-
Labels:None
Description
Pro forma and draft invoices are temporary invoices. Therefore the current scheme of calculating the next invoice number based on the invoice format can result in re-use of numbers no longer in use by those formats.
This occurs because when a pro forma or draft invoice is converted to a regular invoice its id_format and id_value is modified to meet the invoice format configured in settings. When this happens to the highest id_value invoice of that particular type, this essentially reduces the current highest id_value for an invoice of that type.
For example:
Add Draft => DRAFT-
{num} => DRAFT-1Add Draft => DRAFT-{num}
=> DRAFT-2
Convert DRAFT-2 to invoice => INVOICE-
=> INVOICE-1000
Add Draft => DRAFT-
=> DRAFT-2
Issue Links
- relates to
-
CORE-497 Add support for pro forma invoices
- Closed
Activity
Fix Version/s | 3.3.0-b2 [ 10507 ] | |
Fix Version/s | 3.3.0-b1 [ 10100 ] |
Fix Version/s | 3.3.0 [ 10508 ] | |
Fix Version/s | 3.3.0-b2 [ 10507 ] |
Fix Version/s | 3.4.0 [ 10400 ] | |
Fix Version/s | 3.3.0 [ 10508 ] |
Fix Version/s | 3.5.0 [ 10401 ] | |
Fix Version/s | 3.4.0-b1 [ 10400 ] |
Fix Version/s | 3.5.0-b2 [ 10701 ] | |
Fix Version/s | 3.5.0-b1 [ 10401 ] |
Fix Version/s | 3.5.0-b3 [ 10703 ] | |
Fix Version/s | 3.5.0-b2 [ 10701 ] |
Fix Version/s | 3.5.0-b4 [ 10704 ] | |
Fix Version/s | 3.5.0-b3 [ 10703 ] |
Fix Version/s | 3.5.0-b5 [ 10705 ] | |
Fix Version/s | 3.5.0-b4 [ 10704 ] |
Fix Version/s | 3.5.0 [ 10702 ] | |
Fix Version/s | 3.5.0-b5 [ 10705 ] |
Fix Version/s | 3.5.1 [ 10706 ] | |
Fix Version/s | 3.5.0 [ 10702 ] |
Fix Version/s | 3.5.1 [ 10706 ] |
Fix Version/s | Short Term [ 10800 ] |
Rank | Ranked higher |