Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0021323Openbravo ERPA. Platformpublic2012-08-07 11:582012-08-24 17:20
mirurita 
AugustoMauch 
immediatemajoralways
closedfixed 
20Community Appliance
pi 
 
migueldejuana
Core
No
0021323: Not possible to create an standard process: ignoreinwad default value in AD is 'Y'
It is not possible to generate an standard process because the default value (in application dictionary) for 'ignoreinwad' property in the field definition is 'Y'.

In database the default value is 'N'.


1) Create a new physical column in bb.dd for m_product table
alter table m_product add column create_invoice_plan character(1) DEFAULT 'Y';
2) Create the process
  - UI Pattern: Standard
  - Data Access Level: Client/Organization
  - Name: Create Invoice Plan
  - Process class: org.openbravo.erpCommon.ad_process.CreateInvoicePlan
3) Add the column in the application dictionary and link to this process
4) Create the field related to the column (realize that the ignoreinwad property is set to 'Y'). It is not visible by the application, check in the database.

IMPORTANT: create the field manually, do not use the create fields from functionality

5) Compile and try to run the process.

You will get an error because the xml and html files are not generated.
No tags attached.
Issue History
2012-08-07 11:58miruritaNew Issue
2012-08-07 11:58miruritaAssigned To => AugustoMauch
2012-08-07 11:58miruritaModules => Core
2012-08-07 12:29miruritaSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=3711#r3711
2012-08-07 15:36hgbotCheckin
2012-08-07 15:36hgbotNote Added: 0051149
2012-08-07 15:36hgbotStatusnew => resolved
2012-08-07 15:36hgbotResolutionopen => fixed
2012-08-07 15:36hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/6e3b9559b9b634d104b27d57d3f15c280b6de7ec [^]
2012-08-14 14:22AugustoMauchNote Added: 0051286
2012-08-14 14:22AugustoMauchStatusresolved => new
2012-08-14 14:22AugustoMauchResolutionfixed => open
2012-08-14 14:22AugustoMauchClosed by => migueldejuana
2012-08-14 14:22AugustoMauchStatusnew => acknowledged
2012-08-14 14:22AugustoMauchStatusacknowledged => scheduled
2012-08-14 14:22AugustoMauchfix_in_branch => pi
2012-08-14 14:22AugustoMauchStatusscheduled => resolved
2012-08-14 14:22AugustoMauchResolutionopen => fixed
2012-08-24 17:20migueldejuanaNote Added: 0051545
2012-08-24 17:20migueldejuanaStatusresolved => closed

Notes
(0051149)
hgbot   
2012-08-07 15:36   
Repository: erp/devel/pi
Changeset: 6e3b9559b9b634d104b27d57d3f15c280b6de7ec
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Tue Aug 07 15:33:53 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/6e3b9559b9b634d104b27d57d3f15c280b6de7ec [^]

Fixes issue 21323: ignoreinwad defaulted to 'N'

The ignoreinwad property has been defaulted to 'N' in the application dictionary. Also, it has been added as a field in the Field tab of the Window, Tab and field table

---
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_FIELD.xml
---
(0051286)
AugustoMauch   
2012-08-14 14:22   
Issue reopened to enter Closed by field
(0051545)
migueldejuana   
2012-08-24 17:20   
Tested and reviewed in @ece91fb55374.