Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0006249 | Openbravo ERP | 00. Application dictionary | public | 2008-11-28 12:05 | 2009-04-21 11:06 | ||||||||||||||
Reporter | roklenardic | ||||||||||||||||||
Assigned To | alostale | ||||||||||||||||||
Priority | normal | Severity | critical | Reproducibility | always | ||||||||||||||
Status | closed | Resolution | fixed | ||||||||||||||||
Platform | OS | 20 | OS Version | Ubuntu 8.10 | |||||||||||||||
Product Version | 2.50alpha-r1 | ||||||||||||||||||
Target Version | Fixed in Version | ||||||||||||||||||
Merge Request Status | |||||||||||||||||||
Review Assigned To | |||||||||||||||||||
OBNetwork customer | |||||||||||||||||||
Web browser | |||||||||||||||||||
Modules | Core | ||||||||||||||||||
Support ticket | |||||||||||||||||||
Regression level | |||||||||||||||||||
Regression date | |||||||||||||||||||
Regression introduced in release | |||||||||||||||||||
Regression introduced by commit | |||||||||||||||||||
Triggers an Emergency Pack | No | ||||||||||||||||||
Summary | 0006249: Location reference cannot be used on new tables | ||||||||||||||||||
Description | When entering a new table belonging to a new module, I could not use the Location reference. After using the Create Columns from DB button, the process correctly detected the Location reference for one of the fields, however it was listed as **Location, with the two asterisks and also the compilation fails. | ||||||||||||||||||
Steps To Reproduce | 1) enter a new table into the database CREATE TABLE bpsc_c_order ( bpsc_c_order_id character varying(32) NOT NULL, ad_client_id character varying(32) NOT NULL, ad_org_id character varying(32) NOT NULL, isactive character(1) NOT NULL DEFAULT 'Y'::bpchar, created timestamp without time zone NOT NULL DEFAULT now(), createdby character varying(32) NOT NULL, updated timestamp without time zone NOT NULL DEFAULT now(), updatedby character varying(32) NOT NULL, issotrx character(1) NOT NULL DEFAULT 'Y'::bpchar, documentno character varying(30) NOT NULL, c_bpartner_id character varying(32) NOT NULL, c_bpartner_location_id character varying(32) NOT NULL, CONSTRAINT bpsc_c_order_key PRIMARY KEY (bpsc_c_order_id), CONSTRAINT adclient_corder FOREIGN KEY (ad_client_id) REFERENCES ad_client (ad_client_id) MATCH SIMPLE ON UPDATE NO ACTION ON DELETE NO ACTION, CONSTRAINT adorg_bpsccorder FOREIGN KEY (ad_org_id) REFERENCES ad_org (ad_org_id) MATCH SIMPLE ON UPDATE NO ACTION ON DELETE NO ACTION, CONSTRAINT cbpartner_bpsccorder FOREIGN KEY (c_bpartner_id) REFERENCES c_bpartner (c_bpartner_id) MATCH SIMPLE ON UPDATE NO ACTION ON DELETE NO ACTION, CONSTRAINT cbpartnerlocation_bpscsoheader FOREIGN KEY (c_bpartner_location_id) REFERENCES c_bpartner_location (c_bpartner_location_id) MATCH SIMPLE ON UPDATE NO ACTION ON DELETE NO ACTION, CONSTRAINT bpsc_c_order_isactive_check CHECK (isactive = ANY (ARRAY['Y'::bpchar, 'N'::bpchar])), CONSTRAINT bpsc_c_order_issotrx_check CHECK (issotrx = ANY (ARRAY['Y'::bpchar, 'N'::bpchar])) ); 2) create a new module with BPSC as the DB prefix. 3) create a new table, name and db name = BPSC_C_Order 4) use the Create Columns from DB button to create the columns. check the c_bpartner_location_id column to see the reference set to **Location. | ||||||||||||||||||
Proposed Solution | |||||||||||||||||||
Additional Information | |||||||||||||||||||
Tags | No tags attached. | ||||||||||||||||||
Relationships |
| ||||||||||||||||||
Attached Files | |||||||||||||||||||
Issue History | |||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||
2008-11-28 12:05 | roklenardic | New Issue | |||||||||||||||||
2008-11-28 12:05 | roklenardic | Assigned To | => rafaroda | ||||||||||||||||
2008-11-28 12:05 | roklenardic | sf_bug_id | 0 => 2355428 | ||||||||||||||||
2008-11-28 12:05 | roklenardic | Regression testing | => No | ||||||||||||||||
2008-11-28 12:08 | alostale | Assigned To | rafaroda => alostale | ||||||||||||||||
2008-11-28 13:15 | alostale | Note Added: 0010809 | |||||||||||||||||
2008-11-28 13:16 | alostale | Severity | minor => critical | ||||||||||||||||
2008-11-28 13:17 | svnbot | Checkin | |||||||||||||||||
2008-11-28 13:17 | svnbot | Note Added: 0010810 | |||||||||||||||||
2008-11-28 13:17 | svnbot | Status | new => resolved | ||||||||||||||||
2008-11-28 13:17 | svnbot | Resolution | open => fixed | ||||||||||||||||
2008-11-28 13:17 | svnbot | svn_revision | => 10736 | ||||||||||||||||
2008-12-10 09:45 | alostale | Relationship added | has duplicate 0005012 | ||||||||||||||||
2009-01-10 17:06 | rafaroda | Relationship added | related to 0005065 | ||||||||||||||||
2009-04-21 11:06 | psarobe | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|