Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0054847Openbravo ERP07. Sales managementpublic2024-03-05 15:452024-03-06 11:07
AtulOpenbravo 
Triage Omni OMS 
normaltrivialhave not tried
newopen 
5
 
 
Core
No
0054847: Document No is not proposed properly in callouts SL_Order_DocType / SL_Invoice_DocType / SE_InOut_DocType
Document No is not proposed properly in callouts SL_Order_DocType / SL_Invoice_DocType / SE_InOut_DocType

Proposed document no. for

Sales Order
Sales Invoice
Goods Shipment

is computed in callouts SL_Order_DocType / SL_Invoice_DocType / SE_InOut_DocType
It does not compute and propose it properly using FIN_Utility or Utility method. It directly computes on it own using currentnext in the associated sequence. Now that computation of document sequence is enhanced after feature request

https://issues.openbravo.com/view.php?id=54843 [^]

the callouts should adapt the new functionality.


- Define Document Sequences as below:-

 - Name: Base Sequence
 - Organization: Spain
 - Prefix: 0110491
 - Calculation Method: Auto Numbering
 - Next Assigned Number: 2821
 - Increment By: 1
 - Suffix: empty
 - Control Digit: Module10, Sequence Number Length: Fix Length, Sequence Length: 5
 
- Sequence to be used in Handling Unit Type Configuration
 - Name:Parent Sequence
 - Organization: Spain
 - Prefix: 6
 - Calculation Method: Sequence
 - Base sequence: Base Sequence
 - Suffix: 000
 - Control Digit: Module 10

- Attach the above sequence to any one of the Document Types
  - Standard Order / AR Receipt / MM Shipment
  
- Note: Do not save record in below step
  Create Sales Order with document type Standard Order or
  Create Sales Invoice with document type AR Invoice or
  Create Goods Shipment with document type MM Shipment
  
- Realize that document no is set as something <1000003>

- Save the record, realize that document no is computed as per configuration done based on control digit, calculation method, base sequence, sequence number length and sequence length. for example it is set something like
60110491028220004

- Proposed Document No before saving record is not same as the one after saving the record.
No tags attached.
related to feature request 0054843 closed AtulOpenbravo Document Sequence Enhancements: Control Digit, Calculation Method, Base Sequence, Sequence Number Length, Sequence Length 
Issue History
2024-03-05 15:45AtulOpenbravoNew Issue
2024-03-05 15:45AtulOpenbravoAssigned To => Triage Omni OMS
2024-03-05 15:45AtulOpenbravoModules => Core
2024-03-05 15:45AtulOpenbravoTriggers an Emergency Pack => No
2024-03-05 15:45AtulOpenbravoRelationship addeddepends on 0054843
2024-03-05 15:48AtulOpenbravoSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=27642#r27642
2024-03-06 11:07AtulOpenbravoRelationship replacedrelated to 0054843

There are no notes attached to this issue.