Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions data/MantleSetupData.xml
Original file line number Diff line number Diff line change
Expand Up @@ -129,25 +129,25 @@ along with this software (see the LICENSE.md file). If not, see
<filters entityFilterId="MANTLE_ACTIVE_ORG_5" entityName="mantle.account.financial.FinancialAccount" filterMap="[organizationPartyId:activeOrgId]"/>
<filters entityFilterId="MANTLE_ACTIVE_ORG_6" entityName="mantle.ledger.transaction.AcctgTrans" filterMap="[organizationPartyId:activeOrgId]"/>
<filters entityFilterId="MANTLE_ACTIVE_ORG_7" entityName="mantle.party.time.TimePeriod"
filterMap="[_join:'or', _list:[[partyId:activeOrgId], [timePeriodTypeId:(activeOrgId?'Sales%':null), _comp:'like']]]"/>
filterMap="[_join:'or', _list:[[partyId:activeOrgId], [timePeriodTypeId:(activeOrgId ? 'Sales%' : null), _comp:'like']]]"/>
<!-- PartyRelationship: toPartyId == activeOrgId OR relationshipTypeEnumId != PrtEmployee -->
<!-- don't include by default, adds overhead and only applicable to very specific HR or payroll use cases:
<filters entityFilterId="MANTLE_ACTIVE_ORG_8" entityName="mantle.party.PartyRelationship"
filterMap="[_join:'or', _list:[[toPartyId:activeOrgId], [relationshipTypeEnumId:(activeOrgId ? 'PrtEmployee' : null), _comp:'!=']]]"/>
-->
<filters entityFilterId="MANTLE_ACTIVE_ORG_9" entityName="mantle.party.Party" joinOr="Y"
filterMap="[ownerPartyId:activeOrgId?[activeOrgId,'_NA_']:null]"/>
filterMap="[ownerPartyId: activeOrgId ? [activeOrgId,'_NA_'] : null]"/>
<filters entityFilterId="MANTLE_ACTIVE_ORG_A" entityName="mantle.product.Product"
filterMap="[ownerPartyId:activeOrgId?[activeOrgId,'_NA_']:null]"/>
filterMap="[ownerPartyId: activeOrgId ? [activeOrgId,'_NA_'] : null]"/>
<filters entityFilterId="MANTLE_ACTIVE_ORG_B" entityName="mantle.product.category.ProductCategory"
filterMap="[ownerPartyId:activeOrgId?[activeOrgId,'_NA_']:null]"/>
filterMap="[ownerPartyId: activeOrgId ? [activeOrgId,'_NA_'] : null]"/>
<filters entityFilterId="MANTLE_ACTIVE_ORG_C" entityName="mantle.product.feature.ProductFeature"
filterMap="[ownerPartyId:activeOrgId?[activeOrgId,'_NA_']:null]"/>
filterMap="[ownerPartyId: activeOrgId ? [activeOrgId,'_NA_'] : null]"/>
<filters entityFilterId="MANTLE_ACTIVE_ORG_D" entityName="mantle.product.store.ProductStore"
filterMap="[organizationPartyId:activeOrgId?[activeOrgId,'_NA_']:null]"/>
filterMap="[organizationPartyId: activeOrgId ? [activeOrgId,'_NA_'] : null]"/>
<!-- allow these for 3rd party facilities regardless of active org:
<filters entityFilterId="MANTLE_ACTIVE_ORG_F" entityName="mantle.facility.Facility"
filterMap="[ownerPartyId:activeOrgId?[activeOrgId,'_NA_']:null]"/> -->
filterMap="[ownerPartyId: activeOrgId ? [activeOrgId,'_NA_'] : null]"/> -->
</moqui.security.EntityFilterSet>

<!-- ========== Notifications - Business Event ========== -->
Expand Down