Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0016969Openbravo ERPA. Platformpublic2011-05-02 17:252011-05-19 18:01
mirurita 
eduardo_Argal 
highminoralways
closedfixed 
5
pi 
 
Core
No
0016969: WAD validation for auxiliar inputs should be modified
After this change in AD_AUXILIARINPUT_TRG trigger [1] the WAD validation for auxiliary inputs should be changed.

Before this change [1] it was mandatory for all the auxiliary inputs names in a module to start with the module dbprefix.

Now, it is possible to use any name for auxiliary input (AI) if the tab and the AI belong to the same module.

For navigation purposes between transactional windows (sales/purchase) the auxiliary input must have a fix name. In this case the name cannot start with the module dbprefix.

[1] https://code.openbravo.com/erp/devel/pi/rev/433ad8e1d1cf [^]

For example, this is the result of the WAD validation
+++++++++++++++++++++++++++++++++++++++++++++++++++
[WADValidation] 626 [main] ERROR org.openbravo.wad.validation.WADValidationResult - Errors for Validation type: Auxiliary Input Name
[WADValidation] 664 [main] ERROR org.openbravo.wad.validation.WADValidationResult - +++++++++++++++++++++++++++++++++++++++++++++++++++
[WADValidation] 688 [main] ERROR org.openbravo.wad.validation.WADValidationResult - IsSOTrx does not start by its module's DBPrefix: REM
[WADValidation] 718 [main] ERROR org.openbravo.wad.validation.WADValidationResult - IsSOTrx does not start by its module's DBPrefix: REM
[WADValidation] 774 [main] ERROR org.openbravo.wad.validation.WADValidationResult - IsSOTrx does not start by its module's DBPrefix: REM
1) Create a new module with ISSUE dbprefix
2) Create an auxiliary input for that module
Name: HelloWorld
Code: @SQL=SELECT 1 FROM DUAL
3) Compile
No tags attached.
blocks defect 0016968 closed eduardo_Argal WAD validation for auxiliar inputs should be modified 
Issue History
2011-05-02 18:28eduardo_ArgalTypedefect => backport
2011-05-02 18:28eduardo_Argalfix_in_branch => 2.50
2011-05-02 18:38hgbotCheckin
2011-05-02 18:38hgbotNote Added: 0036288
2011-05-02 18:38hgbotStatusscheduled => resolved
2011-05-02 18:38hgbotResolutionopen => fixed
2011-05-02 18:38hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/6d609c8a9bc5d2d07fbf0d32418791417175269c [^]
2011-05-19 18:01miruritaStatusresolved => closed

Notes
(0036288)
hgbot   
2011-05-02 18:38   
Repository: erp/stable/2.50
Changeset: 6d609c8a9bc5d2d07fbf0d32418791417175269c
Author: Eduardo Argal Guibert <eduardo.argal <at> openbravo.com>
Date: Mon May 02 18:30:54 2011 +0200
URL: http://code.openbravo.com/erp/stable/2.50/rev/6d609c8a9bc5d2d07fbf0d32418791417175269c [^]

Fixes issue 16969: WAD validation for auxiliar inputs should be modified

---
M src-wad/src/org/openbravo/wad/validation/WADValidator_data.xsql
---