SebastianEcomify opened a new pull request #283: URL: https://github.com/apache/ofbiz-framework/pull/283 Fixed: Humanres tree allows existing OU to be added again (OFBIZ-11683) roleTypeId 'INTERNAL_ORGANIZATIO' is added for PartyRelationship in the DemoData to prevent duplicate entries. Thanks Pierre Smiths for reporting the issue ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [hidden email] |
In reply to this post by GitBox
JacquesLeRoux commented on pull request #283: URL: https://github.com/apache/ofbiz-framework/pull/283#issuecomment-789016778 HJi Sebastian, I tested and after adding the data I was able to add a "company" to "company" as it exists in trunk HEAD. Then you get an infitinte recursive tree that does not seem to fit to me. Also please comment your change to be used in the description of the commit and of course to better understand what you are doing, TIA ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [hidden email] |
In reply to this post by GitBox
PierreSmits commented on pull request #283: URL: https://github.com/apache/ofbiz-framework/pull/283#issuecomment-842198387 Hi Sebastian, all, We should not regard departments as internal organisations (we should reserve that for fiscal/legal entities, requiring their own CoAs). The roll-up for departments should be: <PartyRelationship partyIdFrom="Company" partyIdTo="MARKETING" partyRelationshipTypeId="GROUP_ROLLUP" roleTypeIdFrom="INTERNAL_ORGANIZATIO" roleTypeIdTo="DEPARTMENT" fromDate="2001-05-13 00:00:00.000"/> Best regards, Pierre -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [hidden email] |
In reply to this post by GitBox
PierreSmits commented on pull request #283: URL: https://github.com/apache/ofbiz-framework/pull/283#issuecomment-842198387 Hi Sebastian, all, We should not regard departments as internal organisations (we should reserve that for fiscal/legal entities, requiring their own CoAs). The roll-up for departments should be: <PartyRelationship partyIdFrom="Company" partyIdTo="MARKETING" partyRelationshipTypeId="GROUP_ROLLUP" roleTypeIdFrom="INTERNAL_ORGANIZATIO" roleTypeIdTo="DEPARTMENT" fromDate="2001-05-13 00:00:00.000"/> Best regards, Pierre -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [hidden email] |
Free forum by Nabble | Edit this page |