can set parent organization is itself

Description

Environment

None

Activity

Show:

Carlos Ruiz July 5, 2023 at 8:45 AM

idempiere already have reference named “AD_Org Parent” that not used. could we use the reference to set on column Parent_Org_ID but it make the parent organization must be set as IsSummary=Y.

Hi - no, that’s for a different purpose, IsSummary is used for maintenance of Org tree for financial reporting.

zuhri utama July 5, 2023 at 1:43 AM

Hi, . idempiere already have reference named “AD_Org Parent” that not used. could we use the reference to set on column Parent_Org_ID but it make the parent organization must be set as IsSummary=Y.

Carlos Ruiz July 4, 2023 at 4:35 PM

Yes , you’re right, as this is used just in MWFActivity, there is no “tree” involved there, just to check the parent supervisor. A dynamic validation, or a beforeSave validation will help.

zuhri utama July 4, 2023 at 3:45 PM

i checked column Parent_Org_ID only used on workflow to find the supervisor of the Org. if Parent Org is same as the Org, there is no harmful with the code. should we add dynamic validation for this issue?

Diego Ruiz December 16, 2022 at 4:37 PM

Reproduced by me on the community testing day 2022.

Still present on iDempiere 10.

Wouldn’t it be easier to filter the list of Organizations shown to the user to exclude the parent record?

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created November 3, 2013 at 7:15 PM
Updated September 1, 2023 at 12:04 PM
Resolved July 6, 2023 at 8:07 PM