Openbravo Issue Tracking System - POS2
View Issue Details
0047403POS2POSpublic2021-07-15 17:382021-07-23 11:32
guilleaer 
jorge-garcia 
normalmajorhave not tried
closedfixed 
5
 
TAPTAP 
javierRodriguez
No
0047403: JIRA 2169: PoPs should have a unique document number based on the order which belongs to
PoPs should have a unique document number based on the order which belongs to

This development will be part of PoP functionality but this feature needs to be backported to TAP (backport created)
N/A
Add a field to configure per organization the PoP prefix

Based on the order document No create a unique document identifier for PoP

Together with that the current behavior which count the number of printings should remain

Example:
Having configured the field for PoP prefix as JP (justificante de pago)
Having an order with: VBS1/0000108

Create first PoP:
VBS1/0000108/JP/001 (1)

Create second PoP:
VBS1/0000108/JP/001 (1)
VBS1/0000108/JP/002 (1)

Reprint first PoP:
VBS1/0000108/JP/001 (2)
VBS1/0000108/JP/002 (1)

Reprint first PoP:
VBS1/0000108/JP/001 (3)
VBS1/0000108/JP/002 (1)

Reprint second PoP:
VBS1/0000108/JP/001 (2)
VBS1/0000108/JP/002 (2)
No tags attached.
blocks feature request 0047402 closed jorge-garcia JIRA-2169: PoPs should have a unique document number based on the order which belongs to 
Issue History
2021-07-15 17:38guilleaerTypefeature request => backport
2021-07-15 17:38guilleaerTarget Version => TAP
2021-07-15 17:39guilleaerSummaryPoPs should have a unique document number based on the order which belongs to => JIRA 2169: PoPs should have a unique document number based on the order which belongs to
2021-07-15 17:39guilleaerDescription Updatedbug_revision_view_page.php?rev_id=22892#r22892
2021-07-23 08:29jorge-garciaNote Added: 0130712
2021-07-23 09:28jorge-garciaReview Assigned To => javierRodriguez
2021-07-23 11:32jorge-garciaNote Added: 0130722
2021-07-23 11:32jorge-garciaStatusscheduled => resolved
2021-07-23 11:32jorge-garciaFixed in Version => TAP
2021-07-23 11:32jorge-garciaResolutionopen => fixed
2021-07-23 11:32jorge-garciaStatusresolved => closed

Notes
(0130712)
jorge-garcia   
2021-07-23 08:29   
Created MR

https://gitlab.com/obcustomers/AGAP/org.openbravo.pos2/-/merge_requests/98 [^]
(0130722)
jorge-garcia   
2021-07-23 11:32   
MR merged

https://gitlab.com/obcustomers/AGAP/org.openbravo.pos2/-/commit/1ffedd329630faecf683cfecb4ec104b1ec86f73 [^]