Openbravo Issue Tracking System - Modules
View Issue Details
0038905ModulesDistribution Orderspublic2018-07-05 14:252019-09-30 11:52
ngarcia 
collazoandy4 
highminoralways
closedfixed 
5
 
 
Sandrahuguet
0038905: Empty error message when trying to book a Distribution Order Issue and there does not exist the Document type for DO Receipts
Empty error message when trying to book a Distribution Order Issue and there does not exist the Document type for DO Receipts
As group admin role:
   Do not apply the module's dataset

   Create a G/L Category:
      Organization: F&B España, S.A
      Name: DO Issue
      Category Type: Document

   Create a new Document Type
      Organization: F&B España, S.A.
      Name: Distribution Order Issue
      G/L Category: DO Issue
      Document Category: Distribution Order Issue
      Table: OBDO_DistOrder
      Sales Transaction: Y

   Create a new record in Distribution Order Issue window
      Organization: F&B España, S.A
      Document Type: Distribution Order Issue
      Warehouse Issue: España Región Norte
      Warehouse Receipt: España Región Sur
   Add a line to it, select a product and add an Operative Quantity to it
   Try to book and check an empty error message is shown
   The log does not show any message
No tags attached.
Issue History
2018-07-05 14:25ngarciaNew Issue
2018-07-05 14:25ngarciaAssigned To => Triage Finance
2018-07-05 14:26ngarciaIssue Monitored: networkb
2018-07-05 14:38PracticsIssue Monitored: Practics
2019-08-19 22:43collazoandy4Assigned ToTriage Finance => collazoandy4
2019-08-19 22:44collazoandy4Statusnew => scheduled
2019-08-19 23:26collazoandy4Note Added: 0114097
2019-09-30 11:47hgbotCheckin
2019-09-30 11:47hgbotNote Added: 0114860
2019-09-30 11:47hgbotStatusscheduled => resolved
2019-09-30 11:47hgbotResolutionopen => fixed
2019-09-30 11:47hgbotFixed in SCM revision => http://code.openbravo.com/erp/mods/org.openbravo.distributionorder/rev/04af542d4712207f665522fe4fe0f7eed17a44e0 [^]
2019-09-30 11:47hgbotCheckin
2019-09-30 11:47hgbotNote Added: 0114861
2019-09-30 11:52SandrahuguetReview Assigned To => Sandrahuguet
2019-09-30 11:52SandrahuguetNote Added: 0114862
2019-09-30 11:52SandrahuguetStatusresolved => closed

Notes
(0114097)
collazoandy4   
2019-08-19 23:26   
As group admin role:
   Do not apply the module's dataset

   Create a G/L Category:
      Organization: F&B España, S.A
      Name: DO Issue
      Category Type: Document

   Create a new Document Type
      Organization: F&B España, S.A.
      Name: Distribution Order Issue
      G/L Category: DO Issue
      Document Category: Distribution Order Issue
      Table: OBDO_DistOrder
      Sales Transaction: Y

   Create a new record in Distribution Order Issue window
      Organization: F&B España, S.A
      Document Type: Distribution Order Issue
      Warehouse Issue: España Región Norte
      Warehouse Receipt: España Región Sur
   Add a line to it, select a product and add an Operative Quantity to it
   Try to book and check 'No document type found for Distribution Order Receipt in organization F&B España - Región Sur.' message is shown
(0114860)
hgbot   
2019-09-30 11:47   
Repository: erp/mods/org.openbravo.distributionorder
Changeset: 04af542d4712207f665522fe4fe0f7eed17a44e0
Author: Armaignac <collazoandy4 <at> gmail.com>
Date: Mon Aug 19 17:36:12 2019 -0400
URL: http://code.openbravo.com/erp/mods/org.openbravo.distributionorder/rev/04af542d4712207f665522fe4fe0f7eed17a44e0 [^]

Fixes issue 38905: Empty error message when trying to book a DOI and there does
not exist the Document type for DO Receipts

A NPE was raise when no document type are defined for DO in the warehouse organization.
An empty message was shown.

Now an exception message is throw when no document type are defined for DO documents

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/distributionorder/erpCommon/utility/ProcessDistributionOrderUtil.java
---
(0114861)
hgbot   
2019-09-30 11:47   
Repository: erp/mods/org.openbravo.distributionorder
Changeset: e6faeaac82c4a6f51e7a14d6643159bcbb51299e
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Mon Sep 30 11:08:33 2019 +0200
URL: http://code.openbravo.com/erp/mods/org.openbravo.distributionorder/rev/e6faeaac82c4a6f51e7a14d6643159bcbb51299e [^]

related to issue 38905 create different messages for DOI and DOR

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/distributionorder/erpCommon/utility/ProcessDistributionOrderUtil.java
---
(0114862)
Sandrahuguet   
2019-09-30 11:52   
code review + testing ok