Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0029477Openbravo ERPA. Platformpublic2015-03-31 16:122022-02-01 08:09
caristu 
Triage Platform Base 
normalminoralways
acknowledgedopen 
5
 
 
Core
No
0029477: It is necessary to mark the link to parent checkbox to add a child instance from an event handler
It is necessary to mark the link to paren (isparent) checkbox to add a child instance from an event handler.

Following the example in[1], the greetingTrl table should have the link to parent checkbox marked in the column which references the greeting table.


[1] http://wiki.openbravo.com/wiki/How_to_implement_a_business_event_handler#Adding_a_child_instance [^]
1) Install the "com.openbravo.support.test" module with the last changes in the repository of the module (tag Issue29477)
2) Go to the [Business Partner] window and create a new record. Notice that no records are created in the [Salary] tab although we have an event handler (SalaryEventHandler) that creates the records on this tab.
3) If we check the "link to parent" column in the c_bpartner_id column of the SUPTEST_Salary table, then the event handler creates the record in the [Salary] tab correctly.
To be decided if this is the expected behavior. In that case, the following documentation[1] should be updated with this information.

[1] http://wiki.openbravo.com/wiki/How_to_implement_a_business_event_handler#Adding_a_child_instance [^]
No tags attached.
related to design defect 0024287 closed platform Event Handler runs 2 times when the change is made by another Event Handler 
Issue History
2015-03-31 16:12caristuNew Issue
2015-03-31 16:12caristuAssigned To => platform
2015-03-31 16:12caristuModules => Core
2015-03-31 16:12caristuTriggers an Emergency Pack => No
2015-03-31 16:13hgbotCheckin
2015-03-31 16:13hgbotNote Added: 0076176
2015-03-31 16:13caristuNote Deleted: 0076176
2015-03-31 16:14caristuSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=8157#r8157
2015-03-31 16:14caristuSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=8158#r8158
2015-03-31 16:14caristuIssue Monitored: networkb
2015-03-31 16:22caristuSummaryIt is necessary to mark the link to parent checkbox to add a child instance in an event handler => It is necessary to mark the link to parent checkbox to add a child instance from an event handler
2015-03-31 16:22caristuDescription Updatedbug_revision_view_page.php?rev_id=8160#r8160
2015-11-10 14:34alostaleRelationship addedrelated to 0024287
2015-11-10 14:34alostaleStatusnew => acknowledged
2015-11-10 14:34alostaleTypedefect => design defect
2022-02-01 08:09alostaleAssigned Toplatform => Triage Platform Base

There are no notes attached to this issue.