All Downloads are FREE. Search and download functionalities are using the official Maven repository.

apps.organization-application.xml Maven / Gradle / Ivy

The newest version!
<?xml version="1.0"?>
<!-- Organization application -->
<application name="organization"
	description="$m{organization.short.description}"
	label="$m{organization.label}" module="organization">
	<!-- Notification Templates -->
	<notifTemplates>
		<notifTemplate
			configFile="apps/notification/template/organization-rolecreation-approvalpending.xml" />
		<notifTemplate
			configFile="apps/notification/template/organization-roleupdate-approvalpending.xml" />
		<notifTemplate
			configFile="apps/notification/template/organization-roledeletion-approvalpending.xml" />
	</notifTemplates>
	<!-- Widget Types -->
	<widgetTypes>
		<widgetType name="branchlist"
			description="$m{organization.widgettype.branchlist}" dataType="long"
			inputType="mapped"
			editor="!ui-select list:branchlist blankOption:$m{blank.none}"
			renderer="!ui-listlabel list:branchlist" />
		<widgetType name="departmentlist"
			description="$m{organization.widgettype.departmentlist}"
			dataType="long" inputType="mapped"
			editor="!ui-select list:departmentlist blankOption:$m{blank.none}"
			renderer="!ui-listlabel list:departmentlist" />
		<widgetType name="branchsearch"
			description="$m{organization.widgettype.branchsearch}"
			dataType="long" inputType="mapped"
			editor="!fc-entitysearch ref:$s{organization.mappedBranch}"
			renderer="!ui-label" />
		<widgetType name="departmentsearch"
			description="$m{organization.widgettype.departmentsearch}"
			dataType="long" inputType="mapped"
			editor="!fc-entitysearch ref:$s{organization.mappedDepartment}"
			renderer="!ui-label" />
	</widgetTypes>
	<!-- Applets -->
	<applets>
		<applet name="manageBranch"
			description="$m{organization.branch.manage}"
			label="$m{organization.branch.manage.label}" icon="site-map"
			type="manage_entitylist" entity="branch" menuAccess="true"
			allowSecondaryTenants="true">
			<property name="baseRestriction" value="nonSystemRecords" />
			<property name="searchTable" value="branchTable" />
			<property name="searchTable.new" value="true" />
			<property name="searchTable.report" value="true" />
			<property name="searchTable.quickFilter" value="true" />
			<property name="searchTable.basicSearchOnly" value="true" />
			<property name="createForm" value="branchForm" />
			<property name="createForm.save" value="true" />
			<property name="createForm.save.next" value="true" />
			<property name="createForm.save.close" value="true" />
			<property name="maintainForm" value="branchForm" />
			<property name="maintainForm.update" value="true" />
			<property name="maintainForm.delete" value="true" />
			<filter name="nonSystemRecords"
				description="$m{common.filter.nonsystemrecords}">
				<restriction type="greater_than" field="id" paramA="0" />
			</filter>
		</applet>
		<applet name="manageDepartment"
			description="$m{organization.department.manage}"
			label="$m{organization.department.manage.label}" icon="door-open"
			type="manage_entitylist" entity="department" menuAccess="true"
			allowSecondaryTenants="true">
			<property name="baseRestriction" value="nonSystemRecords" />
			<property name="searchTable" value="departmentTable" />
			<property name="searchTable.new" value="true" />
			<property name="searchTable.report" value="true" />
			<property name="searchTable.quickFilter" value="true" />
			<property name="searchTable.basicSearchOnly" value="true" />
			<property name="createForm" value="departmentForm" />
			<property name="createForm.save" value="true" />
			<property name="createForm.save.next" value="true" />
			<property name="createForm.save.close" value="true" />
			<property name="maintainForm" value="departmentForm" />
			<property name="maintainForm.update" value="true" />
			<property name="maintainForm.delete" value="true" />
			<filter name="nonSystemRecords"
				description="$m{common.filter.nonsystemrecords}">
				<restriction type="greater_than" field="id" paramA="0" />
			</filter>
		</applet>
		<applet name="manageRole"
			description="$m{organization.role.manage}"
			label="$m{organization.role.manage.label}" icon="user-tag"
			type="manage_entitylist" entity="role" menuAccess="true"
			allowSecondaryTenants="true">
			<property name="searchTable" value="roleTable" />
			<property name="searchTable.new" value="true" />
			<property name="searchTable.report" value="true" />
			<property name="searchTable.quickFilter" value="true" />
			<property name="searchTable.basicSearchOnly" value="true" />
			<property name="searchTable.searchInput" />
			<property name="createForm" value="roleForm" />
			<property name="createForm.submit.validate" value="true" />
			<property name="createForm.save" value="true" />
			<property name="createForm.save.next" value="true" />
			<property name="createForm.save.close" value="true" />
			<property name="maintainForm" value="roleForm" />
			<property name="maintainForm.submit.validate" value="true" />
			<property name="maintainForm.update" value="true" />
			<property name="maintainForm.delete" value="true" />
			<property name="workflowCopy" value="true" />
			<property name="workflowCopy.create.alert"
				value="roleCreationApproval" />
			<property name="workflowCopy.update.alert"
				value="roleUpdateApproval" />
			<alert name="roleCreationApproval"
				description="Role Creation Approval Pending"
				sender="simpleemailalertsender"
				template="roleCreationApprovalPending" />
			<alert name="roleUpdateApproval"
				description="Role Update Approval Pending"
				sender="simpleemailalertsender"
				template="roleUpdateApprovalPending" />
		</applet>
		<applet name="manageRolePrivilege"
			description="$m{organization.roleprivilege.manage}"
			label="$m{organization.roleprivilege.manage.label}"
			type="manage_entitylist_assign" entity="rolePrivilege"
			baseField="roleId" assignField="privilegeId">
			<property name="searchTable" value="rolePrivilegeTable" />
			<property name="searchTable.edit" value="true" />
			<property name="assignmentPage"
				value="rolePrivilegeAssignment" />
		</applet>
		<applet name="manageMappedRoleWfStep"
			description="$m{organization.mappedrolewfstep.manage}"
			label="$m{organization.mappedrolewfstep.label}"
			type="manage_entitylist_assign" entity="mappedRoleWfStep"
			baseField="roleId" assignField="wfStepId">
			<property name="searchTable" value="mappedRoleWfStepTable" />
			<property name="searchTable.edit" value="true" />
			<property name="assignmentPage"
				value="roleWfStepAssignment" />
		</applet>
		<applet name="manageZone"
			description="$m{organization.zone.manage}"
			label="$m{organization.zone.manage.label}" icon="globe-africa"
			type="manage_entitylist" entity="zone" menuAccess="true"
			allowSecondaryTenants="true">
			<property name="baseRestriction" value="nonSystemRecords" />
			<property name="searchTable" value="zoneTable" />
			<property name="searchTable.new" value="true" />
			<property name="searchTable.report" value="true" />
			<property name="searchTable.quickFilter" value="true" />
			<property name="searchTable.basicSearchOnly" value="true" />
			<property name="createForm" value="zoneForm" />
			<property name="createForm.save" value="true" />
			<property name="createForm.save.next" value="true" />
			<property name="createForm.save.close" value="true" />
			<property name="maintainForm" value="zoneForm" />
			<property name="maintainForm.update" value="true" />
			<property name="maintainForm.delete" value="true" />
			<filter name="nonSystemRecords"
				description="$m{common.filter.nonsystemrecords}">
				<restriction type="greater_than" field="id" paramA="0" />
			</filter>
		</applet>
		<applet name="manageCountry"
			description="$m{organization.country.manage}"
			label="$m{organization.country.manage.label}" icon="globe-africa"
			type="manage_entitylist" entity="country" menuAccess="true"
			allowSecondaryTenants="true">
			<property name="baseRestriction" value="nonSystemRecords" />
			<property name="searchTable" value="countryTable" />
			<property name="searchTable.new" value="true" />
			<property name="searchTable.report" value="true" />
			<property name="searchTable.quickFilter" value="true" />
			<property name="searchTable.basicSearchOnly" value="true" />
			<property name="createForm" value="countryForm" />
			<property name="createForm.save" value="true" />
			<property name="createForm.save.next" value="true" />
			<property name="createForm.save.close" value="true" />
			<property name="maintainForm" value="countryForm" />
			<property name="maintainForm.update" value="true" />
			<property name="maintainForm.delete" value="true" />
			<filter name="nonSystemRecords"
				description="$m{common.filter.nonsystemrecords}">
				<restriction type="greater_than" field="id" paramA="0" />
			</filter>
		</applet>
		<applet name="manageState"
			description="$m{organization.state.manage}"
			label="$m{organization.state.manage.label}" icon="globe-africa"
			type="manage_entitylist" entity="state" menuAccess="true"
			allowSecondaryTenants="true">
			<property name="baseRestriction" value="nonSystemRecords" />
			<property name="searchTable" value="stateTable" />
			<property name="searchTable.new" value="true" />
			<property name="searchTable.report" value="true" />
			<property name="searchTable.quickFilter" value="true" />
			<property name="searchTable.basicSearchOnly" value="true" />
			<property name="createForm" value="stateForm" />
			<property name="createForm.save" value="true" />
			<property name="createForm.save.next" value="true" />
			<property name="createForm.save.close" value="true" />
			<property name="maintainForm" value="stateForm" />
			<property name="maintainForm.update" value="true" />
			<property name="maintainForm.delete" value="true" />
			<filter name="nonSystemRecords"
				description="$m{common.filter.nonsystemrecords}">
				<restriction type="greater_than" field="id" paramA="0" />
			</filter>
		</applet>
		<applet name="manageHub"
			description="$m{organization.hub.manage}"
			label="$m{organization.hub.manage.label}" icon="network-wired"
			type="manage_entitylist" entity="hub" menuAccess="true"
			allowSecondaryTenants="true">
			<property name="baseRestriction" value="nonSystemRecords" />
			<property name="searchTable" value="hubTable" />
			<property name="searchTable.new" value="true" />
			<property name="searchTable.report" value="true" />
			<property name="searchTable.quickFilter" value="true" />
			<property name="searchTable.basicSearchOnly" value="true" />
			<property name="createForm" value="hubForm" />
			<property name="createForm.save" value="true" />
			<property name="createForm.save.next" value="true" />
			<property name="createForm.save.close" value="true" />
			<property name="maintainForm" value="hubForm" />
			<property name="maintainForm.update" value="true" />
			<property name="maintainForm.delete" value="true" />
			<filter name="nonSystemRecords"
				description="$m{common.filter.nonsystemrecords}">
				<restriction type="greater_than" field="id" paramA="0" />
			</filter>
		</applet>
		<applet name="loadCountryData"
			description="$m{organization.country.importdata}"
			label="$m{organization.country.importdata.label}" icon="file-import"
			type="data_import" entity="country" menuAccess="true"
			allowSecondaryTenants="true">
			<property name="importdata.configName" value="countryUpload" />
			<property name="importdata.routeTo.appletName"
				value="manageCountry" />
		</applet>
		<applet name="loadStateData"
			description="$m{organization.state.importdata}"
			label="$m{organization.state.importdata.label}" icon="file-import"
			type="data_import" entity="state" menuAccess="true"
			allowSecondaryTenants="true">
			<property name="importdata.configName" value="stateUpload" />
			<property name="importdata.routeTo.appletName"
				value="manageState" />
		</applet>
		<applet name="loadHubData"
			description="$m{organization.hub.importdata}"
			label="$m{organization.hub.importdata.label}" icon="file-import"
			type="data_import" entity="hub" menuAccess="true"
			allowSecondaryTenants="true">
			<property name="importdata.configName" value="hubUpload" />
			<property name="importdata.routeTo.appletName"
				value="manageHub" />
		</applet>
		<applet name="loadZoneData"
			description="$m{organization.zone.importdata}"
			label="$m{organization.zone.importdata.label}" icon="file-import"
			type="data_import" entity="zone" menuAccess="true"
			allowSecondaryTenants="true">
			<property name="importdata.configName" value="zoneUpload" />
			<property name="importdata.routeTo.appletName"
				value="manageZone" />
		</applet>
		<applet name="loadBranchData"
			description="$m{organization.branch.importdata}"
			label="$m{organization.branch.importdata.label}" icon="file-import"
			type="data_import" entity="branch" menuAccess="true"
			allowSecondaryTenants="true">
			<property name="importdata.configName" value="branchUpload" />
			<property name="importdata.routeTo.appletName"
				value="manageBranch" />
		</applet>
	</applets>
	<!-- References -->
	<references>
		<reference name="zoneRef"
			description="$m{organization.zone.reference}" entity="zone"
			searchField="description" />
		<reference name="countryRef"
			description="$m{organization.country.reference}" entity="country"
			searchField="description" />
		<reference name="stateRef"
			description="$m{organization.state.reference}" entity="state"
			searchField="description" />
		<reference name="hubRef"
			description="$m{organization.hub.reference}" entity="hub"
			searchField="description" />
		<reference name="departmentRef"
			description="$m{organization.department.reference}"
			entity="department" searchField="description" />
		<reference name="branchRef"
			description="$m{organization.branch.reference}" entity="branch"
			searchField="description" />
		<reference name="mappedDepartmentRef"
			description="$m{organization.mappeddepartment.reference}"
			entity="mappedDepartment" searchField="description" />
		<reference name="mappedBranchRef"
			description="$m{organization.mappedbranch.reference}"
			entity="mappedBranch" searchField="description" />
		<reference name="mappedRoleWfStepRef"
			description="$m{organization.mappedrolewfstep.reference}"
			entity="mappedRoleWfStep" searchField="wfStepDesc" />
		<reference name="mappedWorkflowRef"
			description="$m{organization.mappedworkflow.reference}"
			entity="mappedWorkflow" searchField="description" />
		<reference name="mappedWfStepRef"
			description="$m{organization.mappedwfstep.reference}"
			entity="mappedWfStep" searchField="description" />
		<reference name="roleRef"
			description="$m{organization.role.reference}" entity="role"
			searchField="description" />
		<reference name="rolePrivilegeRef"
			description="$m{organization.roleprivilege.reference}"
			entity="rolePrivilege" searchField="description" />
		<reference name="privilegeCategoryRef"
			description="$m{organization.privilegecategory.reference}"
			entity="privilegeCategory" searchField="description" />
		<reference name="privilegeRef"
			description="$m{organization.privilege.reference}" entity="privilege"
			searchField="description" />
	</references>
	<!-- Entities -->
	<entities>
		<entity name="branch" description="$m{organization.branch}"
			label="$m{organization.branch.label}"
			type="com.flowcentraltech.flowcentral.organization.entities.Branch"
			auditable="true" reportable="true" changeEvents = "true">
			<field name="zoneId" label="$m{organization.branch.zoneid}"
				type="ref" inputLabel="$m{organization.branch.zone}"
				inputWidget="application.entitylist" references="zoneRef"
				basicSearch="true" />
			<field name="stateId" label="$m{organization.branch.stateid}"
				type="ref" inputLabel="$m{organization.branch.state}"
				inputWidget="application.entitylist" references="stateRef"
				basicSearch="true" nullable="true"/>
			<field name="hubId" label="$m{organization.branch.hubid}"
				type="ref" inputLabel="$m{organization.branch.hub}"
				inputWidget="application.entitylist" references="hubRef"
				basicSearch="true" nullable="true" />
			<field name="code" label="$m{organization.branch.code}"
				type="string" inputWidget="application.name" maxLen="16"
				basicSearch="true" auditable="true"/>
			<field name="description"
				label="$m{organization.branch.description}" type="string"
				inputWidget="application.text" maxLen="64" basicSearch="true" auditable="true"/>
			<field name="sortCode" label="$m{organization.branch.sortcode}"
				type="string" inputWidget="application.text" maxLen="32"
				nullable="true" basicSearch="true" auditable="true"/>
			<field name="altSortCode" label="$m{organization.branch.altsortcode}"
				type="string" inputWidget="application.text" maxLen="32"
				nullable="true" auditable="true"/>
			<field name="address" label="$m{organization.branch.address}"
				type="string" inputWidget="application.textarea" maxLen="512"
				nullable="true" auditable="true"/>
			<field name="headOffice"
				label="$m{organization.branch.headoffice}" type="boolean"
				inputWidget="application.checkbox" auditable="true"/>
			<field name="stateCode"
				label="$m{organization.branch.state.code}" type="list_only"
				key="stateId" property="code" />
			<field name="stateDesc"
				label="$m{organization.branch.state.description}" type="list_only"
				key="stateId" property="description" />
			<field name="hubName"
				label="$m{organization.branch.hub.name}" type="list_only"
				key="hubId" property="name" />
			<field name="hubDesc"
				label="$m{organization.branch.hub.description}" type="list_only"
				key="hubId" property="description" />
			<field name="zoneCode"
				label="$m{organization.branch.zone.code}" type="list_only"
				key="zoneId" property="code" />
			<field name="zoneDesc"
				label="$m{organization.branch.zone.description}" type="list_only"
				key="zoneId" property="description" />
			<field name="languageTag"
				label="$m{organization.branch.zone.languagetag}" type="list_only"
				key="zoneId" property="languageTag" />
			<field name="timeZone"
				label="$m{organization.branch.zone.timezone}" type="list_only"
				key="zoneId" property="timeZone" />
			<uniqueConstraint name="codeUc"
				description="$m{organization.branch.uc.code}" fieldList="code" />
			<uniqueConstraint name="sortCodeUc"
				description="$m{organization.branch.uc.sortcode}"
				fieldList="sortCode" />
			<upload name="branchUpload"
				description="$m{organization.branch.upload.branchupload}"
				onConstraint="update">
				<fieldSequence>
					<entry field="zoneCode" />
					<entry field="code" />
					<entry field="description" />
					<entry field="sortCode" />
					<entry field="altSortCode" />
				</fieldSequence>
			</upload>
		</entity>
		<entity name="mappedBranch"
			description="$m{organization.mappedbranch}"
			label="$m{organization.mappedbranch.label}"
			type="com.flowcentraltech.flowcentral.organization.entities.MappedBranch"
			delegate="mappedentity-environmentdelegate" table="FC_MAPPEDBRANCH"
			mapped="true" auditable="true" reportable="true" changeEvents = "true">
			<field name="zoneId"
				label="$m{organization.mappedbranch.zoneid}" type="long" />
			<field name="tenantId"
				label="$m{organization.mappedbranch.tenantid}" type="long"
				inputWidget="system.tenantlist" />
			<field name="code" label="$m{organization.mappedbranch.code}"
				type="string" inputWidget="application.name" maxLen="16"
				basicSearch="true" />
			<field name="description"
				label="$m{organization.mappedbranch.description}" type="string"
				inputWidget="application.text" maxLen="64" basicSearch="true" />
			<field name="sortCode"
				label="$m{organization.mappedbranch.sortcode}" type="string"
				inputWidget="application.text" maxLen="32" nullable="true"
				basicSearch="true" />
			<field name="address"
				label="$m{organization.mappedbranch.address}" type="string"
				inputWidget="application.textarea" maxLen="512" nullable="true" />
			<field name="headOffice"
				label="$m{organization.mappedbranch.headoffice}" type="boolean"
				inputWidget="application.checkbox" />
			<field name="zoneCode"
				label="$m{organization.mappedbranch.zone.code}" type="string" />
			<field name="zoneDesc"
				label="$m{organization.mappedbranch.zone.description}" type="string" />
			<field name="languageTag"
				label="$m{organization.mappedbranch.zone.languagetag}" type="string" />
			<field name="timeZone"
				label="$m{organization.mappedbranch.zone.timezone}" type="string" />
			<uniqueConstraint name="codeUc"
				description="$m{organization.mappedbranch.uc.code}" fieldList="code" />
			<uniqueConstraint name="sortCodeUc"
				description="$m{organization.mappedbranch.uc.sortcode}"
				fieldList="sortCode" />
		</entity>
		<entity name="department"
			description="$m{organization.department}"
			label="$m{organization.department.label}"
			type="com.flowcentraltech.flowcentral.organization.entities.Department"
			auditable="true" reportable="true" changeEvents = "true">
			<field name="code" label="$m{organization.department.code}"
				type="string" inputWidget="application.name" maxLen="16"
				basicSearch="true" auditable="true"/>
			<field name="description"
				label="$m{organization.department.description}" type="string"
				inputWidget="application.text" maxLen="64" basicSearch="true" auditable="true"/>
			<uniqueConstraint name="codeUc"
				description="$m{organization.department.uc.code}" fieldList="code" />
			<uniqueConstraint name="descUc"
				description="$m{organization.department.uc.description}"
				fieldList="description" />
		</entity>
		<entity name="mappedDepartment"
			description="$m{organization.mappeddepartment}"
			label="$m{organization.mappeddepartment.label}"
			type="com.flowcentraltech.flowcentral.organization.entities.MappedDepartment"
			delegate="mappedentity-environmentdelegate"
			table="FC_MAPPEDDEPARTMENT" mapped="true" auditable="true"
			reportable="true" changeEvents = "true">
			<field name="code"
				label="$m{organization.mappeddepartment.code}" type="string"
				inputWidget="application.name" maxLen="16" basicSearch="true" />
			<field name="description"
				label="$m{organization.mappeddepartment.description}" type="string"
				inputWidget="application.text" maxLen="64" basicSearch="true" />
			<field name="tenantId"
				label="$m{organization.mappeddepartment.tenantid}" type="long"
				inputWidget="system.tenantlist" />
			<uniqueConstraint name="codeUc"
				description="$m{organization.mappeddepartment.uc.code}"
				fieldList="code" />
			<uniqueConstraint name="descUc"
				description="$m{organization.mappeddepartment.uc.description}"
				fieldList="description" />
		</entity>
		<entity name="privilegeCategory"
			description="$m{organization.privilegecategory}"
			label="$m{organization.privilegecategory.label}"
			type="com.flowcentraltech.flowcentral.organization.entities.PrivilegeCategory"
			auditable="true" reportable="true">
			<field name="code"
				label="$m{organization.privilegecategory.code}" type="string"
				inputWidget="application.name" maxLen="64" />
			<field name="description"
				label="$m{organization.privilegecategory.description}" type="string"
				inputWidget="application.text" maxLen="96" />
			<uniqueConstraint name="codeUc"
				description="$m{organization.privilegecategory.uc.code}"
				fieldList="code" />
			<uniqueConstraint name="descUc"
				description="$m{organization.privilegecategory.uc.description}"
				fieldList="description" />
		</entity>
		<entity name="privilege"
			description="$m{organization.privilege}"
			label="$m{organization.privilege.label}"
			type="com.flowcentraltech.flowcentral.organization.entities.Privilege">
			<field name="applicationId"
				label="$m{organization.privilege.applicationid}" type="ref"
				references="application.applicationRef"
				inputLabel="$m{organization.privilege.application}"
				inputWidget="application.entitylist" />
			<field name="privilegeCategoryId"
				label="$m{organization.privilege.privilegecategoryid}" type="ref"
				references="privilegeCategoryRef"
				inputLabel="$m{organization.privilege.privilegecategory}"
				inputWidget="application.entitylist" />
			<field name="configType"
				label="$m{organization.privilege.configtype}" type="enum"
				references="configtypelist" inputWidget="application.enumlist" nullable="true" />
			<field name="code" label="$m{organization.privilege.code}"
				type="string" inputWidget="application.name" maxLen="64" />
			<field name="description"
				label="$m{organization.privilege.description}" type="string"
				inputWidget="application.text" maxLen="96" />
			<field name="applicationName"
				label="$m{organization.privilege.applicationname}" type="list_only"
				key="applicationId" property="name" />
			<field name="applicationDesc"
				label="$m{organization.privilege.applicationdesc}" type="list_only"
				key="applicationId" property="description" />
			<field name="privilegeCatCode"
				label="$m{organization.privilege.privilegecatcode}" type="list_only"
				key="privilegeCategoryId" property="code" />
			<field name="privilegeCatDesc"
				label="$m{organization.privilege.privilegecatdesc}" type="list_only"
				key="privilegeCategoryId" property="description" />
			<uniqueConstraint name="codeUc"
				description="$m{organization.privilege.uc.code}" fieldList="code" />
		</entity>
		<entity name="role" description="$m{organization.role}"
			label="$m{organization.role.label}"
			type="com.flowcentraltech.flowcentral.organization.entities.Role"
			auditable="true" reportable="true" changeEvents = "true">
			<field name="departmentId"
				label="$m{organization.role.departmentid}" type="mapped"
				inputLabel="$m{organization.role.department}"
				mapped="organization.mappedDepartment"
				inputWidget="organization.departmentlist" basicSearch="true" />
			<field name="code" label="$m{organization.role.code}"
				type="string" inputWidget="application.name" maxLen="16"
				basicSearch="true" auditable="true"/>
			<field name="description"
				label="$m{organization.role.description}" type="string"
				inputWidget="application.text" maxLen="64" basicSearch="true" auditable="true"/>
			<field name="activeAfter"
				label="$m{organization.role.activeafter}" type="timestamp"
				inputWidget="application.time" auditable="true"/>
			<field name="activeBefore"
				label="$m{organization.role.activebefore}" type="timestamp"
				inputWidget="application.time" auditable="true"/>
			<field name="email" label="$m{organization.role.email}"
				type="string" maxLen="64" auditable="true"/>
			<field name="dashboardCode"
				label="$m{organization.role.dashboard}" type="string" maxLen="64"
				nullable="true" />
			<field name="privilegeList"
				label="$m{organization.role.privileges}" type="child_list"
				references="rolePrivilegeRef" />
			<field name="wfStepList"
				label="$m{organization.role.wfsteps}" type="child_list"
				references="mappedRoleWfStepRef" />
			<uniqueConstraint name="codeUc"
				description="$m{organization.role.uc.code}" fieldList="code" />
			<uniqueConstraint name="descUc"
				description="$m{organization.role.uc.description}"
				fieldList="description" />
		</entity>
		<entity name="rolePrivilege"
			description="$m{organization.roleprivilege}"
			label="$m{organization.roleprivilege.label}"
			type="com.flowcentraltech.flowcentral.organization.entities.RolePrivilege" auditable="true">
			<field name="roleId"
				label="$m{organization.roleprivilege.roleid}"
				inputLabel="$m{organization.roleprivilege.role}" type="ref"
				references="roleRef" inputWidget="application.entitysearch" />
			<field name="privilegeId"
				label="$m{organization.roleprivilege.privilegeid}" type="ref"
				references="privilegeRef" inputWidget="application.entitysearch" />
			<field name="roleCode"
				label="$m{organization.roleprivilege.rolecode}" type="list_only"
				key="roleId" property="code" />
			<field name="roleDesc"
				label="$m{organization.roleprivilege.roledesc}" type="list_only"
				key="roleId" property="description" />
			<field name="roleWfItemVersionType"
				label="$m{organization.roleprivilege.rolewfitemversiontype}"
				type="list_only" key="roleId" property="wfItemVersionType" />
			<field name="privilegeCode"
				label="$m{organization.roleprivilege.privilegecode}"
				type="list_only" key="privilegeId" property="code" />
			<field name="privilegeDesc"
				label="$m{organization.roleprivilege.privilegedesc}"
				type="list_only" key="privilegeId" property="description" auditable="true"/>
			<field name="privilegeCategoryId"
				label="$m{organization.roleprivilege.privilegecatid}"
				type="list_only" key="privilegeId" property="privilegeCategoryId"
				inputLabel="$m{organization.roleprivilege.privilegecat}"
				references="privilegeCategoryRef"
				inputWidget="application.entitylist" />
			<field name="privilegeCatCode"
				label="$m{organization.roleprivilege.privilegecatcode}"
				type="list_only" key="privilegeId" property="privilegeCatCode" />
			<field name="privilegeCatDesc"
				label="$m{organization.roleprivilege.privilegecatdesc}"
				type="list_only" key="privilegeId" property="privilegeCatDesc" />
			<field name="applicationId"
				label="$m{organization.roleprivilege.applicationid}"
				type="list_only" key="privilegeId" property="applicationId"
				inputLabel="$m{organization.roleprivilege.application}"
				references="application.applicationRef"
				inputWidget="application.entitylist" />
			<field name="applicationName"
				label="$m{organization.roleprivilege.applicationcode}"
				type="list_only" key="privilegeId" property="applicationName" />
			<field name="applicationDesc"
				label="$m{organization.roleprivilege.applicationdesc}"
				type="list_only" key="privilegeId" property="applicationDesc" />
			<uniqueConstraint name="privilegeUc"
				description="$m{organization.roleprivilege.uc.privilege}"
				fieldList="roleId,privilegeId" />
		</entity>
		<entity name="mappedRoleWfStep"
			description="$m{organization.mappedrolewfstep}"
			label="$m{organization.mappedrolewfstep.label}"
			type="com.flowcentraltech.flowcentral.organization.entities.MappedRoleWfStep"
			delegate="mappedentity-environmentdelegate" table="FC_MAPPEDROLEWFSTEP"
			mapped="true" auditable="true" reportable="true">
			<field name="roleId" label="$m{organization.mappedrolewfstep.roleid}"
				type="ref" references="roleRef" inputWidget="application.entitysearch" />
			<field name="wfStepId" label="$m{organization.mappedrolewfstep.stepid}"
				type="long"  />
			<field name="wfStepName" label="$m{organization.mappedrolewfstep.stepname}"
				type="string"/>
			<field name="wfStepDesc" label="$m{organization.mappedrolewfstep.stepdesc}"
				type="string" />
			<field name="wfStepLabel" label="$m{organization.mappedrolewfstep.steplabel}"
				type="string" />
			<field name="workflowName"
				label="$m{organization.mappedrolewfstep.workflowname}" type="string"/>
			<field name="workflowDesc"
				label="$m{organization.mappedrolewfstep.workflowdesc}" type="string"/>
			<field name="applicationName"
				label="$m{organization.mappedrolewfstep.applicationname}" type="string"/>
			<field name="applicationDesc"
				label="$m{organization.mappedrolewfstep.applicationdesc}" type="string" />
			<field name="roleCode" label="$m{organization.mappedrolewfstep.rolecode}"
				type="string" />
			<field name="roleDesc" label="$m{organization.mappedrolewfstep.roledesc}"
				type="string" />
		</entity>
		<entity name="mappedWorkflow"
			description="$m{organization.mappedworkflow}"
			label="$m{organization.mappedworkflow.label}"
			type="com.flowcentraltech.flowcentral.organization.entities.MappedWorkflow"
			delegate="mappedentity-environmentdelegate" table="FC_MAPPEDWORKFLOW"
			mapped="true" auditable="true" reportable="true">
			<field name="label" label="$m{organization.mappedworkflow.labelfield}"
				type="string"/>
		</entity>
		<entity name="mappedWfStep"
			description="$m{organization.mappedwfstep}"
			label="$m{organization.mappedwfstep.label}"
			type="com.flowcentraltech.flowcentral.organization.entities.MappedWfStep"
			delegate="mappedentity-environmentdelegate" table="FC_MAPPEDWFSTEP"
			mapped="true" auditable="true" reportable="true">
			<field name="workflowId" label="$m{organization.mappedwfstep.workflowid}"
				type="long" />
			<field name="type" label="$m{organization.mappedwfstep.type}"
				type="enum_ref" references="wfsteptypelist"
				inputWidget="application.enumlist" />
			<field name="label" label="$m{organization.mappedwfstep.labelfield}"
				type="string"/>
		</entity>
		<entity name="zone" description="$m{organization.zone}"
			label="$m{organization.zone.label}"
			type="com.flowcentraltech.flowcentral.organization.entities.Zone"
			auditable="true" reportable="true" changeEvents = "true">
			<field name="code" label="$m{organization.zone.code}"
				type="string" inputWidget="application.name" maxLen="16"
				basicSearch="true" auditable="true"/>
			<field name="description"
				label="$m{organization.zone.description}" type="string"
				inputWidget="application.text" maxLen="64" basicSearch="true" auditable="true"/>
			<field name="languageTag"
				label="$m{organization.zone.languagetag}" type="string"
				inputWidget="application.languagetag" maxLen="64" nullable="true" auditable="true"/>
			<field name="timeZone" label="$m{organization.zone.timezone}"
				type="string" inputWidget="application.timezone" maxLen="64"
				nullable="true" auditable="true"/>
			<uniqueConstraint name="codeUc"
				description="$m{organization.zone.uc.code}" fieldList="code" />
			<uniqueConstraint name="descUc"
				description="$m{organization.zone.uc.description}"
				fieldList="description" />
			<upload name="zoneUpload"
				description="$m{organization.zone.upload.zoneupload}"
				onConstraint="update">
				<fieldSequence>
					<entry field="code" />
					<entry field="description" />
				</fieldSequence>
			</upload>
		</entity>
		<entity name="country" description="$m{organization.country}"
			label="$m{organization.country.label}"
			type="com.flowcentraltech.flowcentral.organization.entities.Country"
			auditable="true" reportable="true" changeEvents = "true">
			<field name="iso3Code" label="$m{organization.country.code}"
				type="string" inputWidget="application.name" maxLen="16"
				basicSearch="true" auditable="true"/>
			<field name="description"
				label="$m{organization.country.description}" type="string"
				inputWidget="application.text" maxLen="64" basicSearch="true" auditable="true"/>
			<uniqueConstraint name="codeUc"
				description="$m{organization.country.uc.code}" fieldList="iso3Code" />
			<uniqueConstraint name="descUc"
				description="$m{organization.country.uc.description}"
				fieldList="description" />
			<upload name="countryUpload"
				description="$m{organization.country.upload.countryupload}"
				onConstraint="update">
				<fieldSequence>
					<entry field="iso3Code" />
					<entry field="description" />
				</fieldSequence>
			</upload>
		</entity>
		<entity name="state" description="$m{organization.state}"
			label="$m{organization.state.label}"
			type="com.flowcentraltech.flowcentral.organization.entities.State"
			auditable="true" reportable="true" changeEvents = "true">
			<field name="countryId" label="$m{organization.state.countryid}"
				type="ref" inputLabel="$m{organization.state.country}"
				inputWidget="application.entitylist" references="countryRef"
				basicSearch="true" />
			<field name="code" label="$m{organization.state.code}"
				type="string" inputWidget="application.name" maxLen="16"
				basicSearch="true" auditable="true"/>
			<field name="description"
				label="$m{organization.state.description}" type="string"
				inputWidget="application.text" maxLen="64" basicSearch="true" auditable="true"/>
			<field name="countryCode"
				label="$m{organization.state.country.code}" type="list_only"
				key="countryId" property="iso3Code" />
			<field name="countryDesc"
				label="$m{organization.state.country.description}" type="list_only"
				key="countryId" property="description" />
			<uniqueConstraint name="codeUc"
				description="$m{organization.state.uc.code}" fieldList="countryId,code" />
			<uniqueConstraint name="descUc"
				description="$m{organization.state.uc.description}"
				fieldList="countryId,description" />
			<upload name="stateUpload"
				description="$m{organization.state.upload.stateupload}"
				onConstraint="update">
				<fieldSequence>
					<entry field="countryCode" />
					<entry field="code" />
					<entry field="description" />
				</fieldSequence>
			</upload>
		</entity>
		<entity name="hub" description="$m{organization.hub}"
			label="$m{organization.hub.label}"
			type="com.flowcentraltech.flowcentral.organization.entities.Hub"
			auditable="true" reportable="true" changeEvents = "true">
			<field name="name" label="$m{organization.hub.name}"
				type="string" inputWidget="application.name" maxLen="32"
				basicSearch="true" auditable="true"/>
			<field name="description"
				label="$m{organization.hub.description}" type="string"
				inputWidget="application.text" maxLen="64" basicSearch="true" auditable="true"/>
			<uniqueConstraint name="nameUc"
				description="$m{organization.hub.uc.name}" fieldList="name" />
			<uniqueConstraint name="descUc"
				description="$m{organization.hub.uc.description}"
				fieldList="description" />
			<upload name="hubUpload"
				description="$m{organization.hub.upload.hubupload}"
				onConstraint="update">
				<fieldSequence>
					<entry field="name" />
					<entry field="description" />
				</fieldSequence>
			</upload>
		</entity>
	</entities>
	<!-- Tables -->
	<tables>
		<table name="branchTable"
			description="$m{organization.branch.table}"
			label="$m{organization.branch.table.label}" entity="branch"
			itemsPerPage="20" serialNo="true" basicSearch="true">
			<column field="code" renderWidget="application.name"
				widthRatio="1" linkAct="maintainAct" />
			<column field="description" renderWidget="application.text"
				widthRatio="1" />
			<column field="sortCode" renderWidget="application.text"
				widthRatio="1" />
			<column field="altSortCode" renderWidget="application.text"
				widthRatio="1" />
			<column field="zoneDesc" renderWidget="application.text"
				label="$m{organization.branch.zone}" widthRatio="1" />
			<column field="statusDesc" renderWidget="application.text"
				label="$m{basestatusentity.field.label.status}" widthRatio="1" />
			<column field="createDt" renderWidget="application.datetime"
				widthRatio="1" />
			<column field="updateDt" renderWidget="application.datetime"
				widthRatio="1" />
		</table>
		<table name="departmentTable"
			description="$m{organization.department.table}"
			label="$m{organization.department.table.label}" entity="department"
			itemsPerPage="20" serialNo="true" basicSearch="true">
			<column field="code" renderWidget="application.name"
				widthRatio="1" linkAct="maintainAct" />
			<column field="description" renderWidget="application.text"
				widthRatio="1" />
			<column field="statusDesc" renderWidget="application.text"
				label="$m{basestatusentity.field.label.status}" widthRatio="1" />
			<column field="createDt" renderWidget="application.datetime"
				widthRatio="1" />
			<column field="updateDt" renderWidget="application.datetime"
				widthRatio="1" />
		</table>
		<table name="roleTable"
			description="$m{organization.role.table}"
			label="$m{organization.role.table.label}" entity="role"
			itemsPerPage="20" serialNo="true" basicSearch="true">
			<column field="code" renderWidget="application.name"
				widthRatio="1" linkAct="maintainAct" />
			<column field="description" renderWidget="application.text"
				widthRatio="1" />
			<column field="activeAfter" renderWidget="application.time"
				widthRatio="1" />
			<column field="activeBefore" renderWidget="application.time"
				widthRatio="1" />
			<column field="statusDesc" renderWidget="application.text"
				label="$m{basestatusentity.field.label.status}" widthRatio="1" />
			<column field="createDt" renderWidget="application.datetime"
				widthRatio="1" />
			<column field="updateDt" renderWidget="application.datetime"
				widthRatio="1" />
		</table>
		<table name="rolePrivilegeTable"
			description="$m{organization.roleprivilege.table}"
			label="$m{organization.roleprivilege.table.label}"
			entity="rolePrivilege" itemsPerPage="20" serialNo="true">
			<column field="applicationDesc"
				renderWidget="application.text"
				label="$m{organization.roleprivilege.application}" widthRatio="1" />
			<column field="privilegeCatDesc"
				renderWidget="application.text"
				label="$m{organization.roleprivilege.privilegecat}" widthRatio="1" />
			<column field="privilegeDesc" renderWidget="application.text"
				label="$m{organization.roleprivilege.privilege}" widthRatio="1" />
			<column field="updatedBy" renderWidget="application.text"
				label="$m{organization.roleprivilege.grantedby}" widthRatio="1" />
			<column field="updateDt" renderWidget="application.datetime"
				widthRatio="1" />
		</table>
		<table name="zoneTable"
			description="$m{organization.zone.table}"
			label="$m{organization.zone.table.label}" entity="zone"
			itemsPerPage="20" serialNo="true" basicSearch="true">
			<column field="code" renderWidget="application.name"
				widthRatio="1" linkAct="maintainAct" />
			<column field="description" renderWidget="application.text"
				widthRatio="1" />
			<column field="languageTag" renderWidget="application.text"
				widthRatio="1" />
			<column field="timeZone" renderWidget="application.text"
				widthRatio="1" />
			<column field="statusDesc" renderWidget="application.text"
				label="$m{basestatusentity.field.label.status}" widthRatio="1" />
			<column field="createDt" renderWidget="application.datetime"
				widthRatio="1" />
			<column field="updateDt" renderWidget="application.datetime"
				widthRatio="1" />
		</table>
		<table name="countryTable"
			description="$m{organization.country.table}"
			label="$m{organization.country.table.label}" entity="country"
			itemsPerPage="20" serialNo="true" basicSearch="true">
			<column field="iso3Code" renderWidget="application.name"
				widthRatio="1" linkAct="maintainAct" />
			<column field="description" renderWidget="application.text"
				widthRatio="1" />
			<column field="statusDesc" renderWidget="application.text"
				label="$m{basestatusentity.field.label.status}" widthRatio="1" />
			<column field="createDt" renderWidget="application.datetime"
				widthRatio="1" />
			<column field="updateDt" renderWidget="application.datetime"
				widthRatio="1" />
		</table>
		<table name="stateTable"
			description="$m{organization.state.table}"
			label="$m{organization.state.table.label}" entity="state"
			itemsPerPage="20" serialNo="true" basicSearch="true">
			<column field="code" renderWidget="application.name"
				widthRatio="1" linkAct="maintainAct" />
			<column field="description" renderWidget="application.text"
				widthRatio="1" />
			<column field="countryDesc" renderWidget="application.text"
				widthRatio="1" />
			<column field="statusDesc" renderWidget="application.text"
				label="$m{basestatusentity.field.label.status}" widthRatio="1" />
			<column field="createDt" renderWidget="application.datetime"
				widthRatio="1" />
			<column field="updateDt" renderWidget="application.datetime"
				widthRatio="1" />
		</table>
		<table name="hubTable"
			description="$m{organization.hub.table}"
			label="$m{organization.hub.table.label}" entity="hub"
			itemsPerPage="20" serialNo="true" basicSearch="true">
			<column field="name" renderWidget="application.name"
				widthRatio="1" linkAct="maintainAct" />
			<column field="description" renderWidget="application.text"
				widthRatio="1" />
			<column field="statusDesc" renderWidget="application.text"
				label="$m{basestatusentity.field.label.status}" widthRatio="1" />
			<column field="createDt" renderWidget="application.datetime"
				widthRatio="1" />
			<column field="updateDt" renderWidget="application.datetime"
				widthRatio="1" />
		</table>
		<table name="mappedRoleWfStepTable"
			description="$m{organization.mappedrolewfstep.table}"
			label="$m{organization.mappedrolewfstep.table.label}" entity="mappedRoleWfStep"
			itemsPerPage="20" serialNo="true">
			<column field="workflowDesc" renderWidget="application.text"
				label="$m{organization.mappedrolewfstep.workflow}" widthRatio="1" order="ASC"/>
			<column field="wfStepDesc" renderWidget="application.text"
				label="$m{organization.mappedrolewfstep.stepdesc}" widthRatio="1" />
			<column field="wfStepLabel" renderWidget="application.text"
				label="$m{organization.mappedrolewfstep.steplabel}" widthRatio="1" />
		</table>
	</tables>
	<!-- Forms -->
	<forms>
		<form name="branchForm"
			description="$m{organization.branch.form}" entity="branch">
			<tab name="basicDetails"
				label="$m{organization.branch.form.basicdetails}"
				contentType="miniform">
				<section name="branchDetails" columns="type_2">
					<field name="zoneId" inputWidget="application.entitylist"
						column="0" label="$m{organization.branch.zone}" required="true" />
					<field name="code" inputWidget="application.name" column="0"
						required="true" />
					<field name="description" inputWidget="application.text"
						column="0" required="true" />
					<field name="headOffice" inputWidget="application.checkbox"
						column="0" />
					<field name="status" inputWidget="application.enumlist"
						column="1" required="true" />
					<field name="stateId" inputWidget="application.entitylist"
						column="1" label="$m{organization.branch.state}"  />
					<field name="hubId" inputWidget="application.entitylist"
						column="1" label="$m{organization.branch.hub}"  />
					<field name="sortCode" inputWidget="application.integertext"
						column="1" />
					<field name="altSortCode" inputWidget="application.integertext"
						column="1" />
				</section>
				<section name="branchAddress" columns="type_1">
					<field name="address" inputWidget="application.textarea"
						column="0" />
				</section>
			</tab>
			<tab name="zoneDetails"
				label="$m{organization.branch.form.zonedetails}"
				contentType="miniform" disabled="true">
				<section name="zoneDetails" columns="type_2">
					<field name="zoneCode" inputWidget="application.name"
						column="0" />
					<field name="zoneDesc" inputWidget="application.text"
						column="0" label="$m{organization.branch.zone}" />
					<field name="languageTag"
						inputWidget="application.languagetag" column="1" />
					<field name="timeZone" inputWidget="application.timezone"
						column="1" />
				</section>
			</tab>
			<tab name="changeLog" label="$m{application.form.audit}"
				contentType="miniform_changelog" />
		</form>
		<form name="mappedBranchForm"
			description="$m{organization.mappedbranch.form}"
			entity="mappedBranch">
			<tab name="basicDetails"
				label="$m{organization.mappedbranch.form.basicdetails}"
				contentType="miniform" disabled="true">
				<section name="branchDetails" columns="type_2"
					disabled="true">
					<field name="code" inputWidget="application.name" column="0" />
					<field name="description" inputWidget="application.text"
						label="$m{security.user.branch}" column="0" />
					<field name="languageTag"
						inputWidget="application.languagetag" column="0" />
					<field name="timeZone" inputWidget="application.timezone"
						column="0" />
					<field name="zoneCode" inputWidget="application.name"
						column="1" />
					<field name="zoneDesc" inputWidget="application.text"
						column="1" label="$m{security.user.zone}" />
				</section>
			</tab>
		</form>
		<form name="departmentForm"
			description="$m{organization.department.form}" entity="department">
			<tab name="basicDetails"
				label="$m{organization.department.form.basicdetails}"
				contentType="miniform">
				<section name="departmentDetails" columns="type_2">
					<field name="code" inputWidget="application.name" column="0"
						required="true" />
					<field name="description" inputWidget="application.text"
						column="0" required="true" />
					<field name="status" inputWidget="application.enumlist"
						column="1" required="true" />
				</section>
			</tab>
			<tab name="changeLog" label="$m{application.form.audit}"
				contentType="miniform_changelog" />
			<relatedList name="relRole"
				description="$m{organization.department.form.related.role.description}"
				label="$m{organization.department.form.related.role.label}"
				applet="manageRole" />
		</form>
		<form name="mappedDepartmentForm"
			description="$m{organization.mappeddepartment.form}"
			entity="mappedDepartment">
			<tab name="basicDetails"
				label="$m{organization.mappeddepartment.form.basicdetails}"
				contentType="miniform" disabled="true">
				<section name="departmentDetails" columns="type_2" disabled="true">
					<field name="code" inputWidget="application.name" column="0"
						required="true" />
					<field name="description" inputWidget="application.text"
						column="0" required="true" />
				</section>
			</tab>
		</form>
		<form name="roleForm" description="$m{organization.role.form}"
			entity="role">
			<tab name="basicDetails"
				label="$m{organization.role.form.basicdetails}"
				contentType="miniform">
				<section name="roleDetails" columns="type_2">
					<field name="departmentId"
						label="$m{organization.role.department}" column="0"
						required="true" inputWidget="organization.departmentlist" />
					<field name="code" inputWidget="application.name" column="0"
						required="true" />
					<field name="description" inputWidget="application.text"
						column="0" required="true" />
					<field name="email" inputWidget="application.text" column="0" />
					<field name="activeAfter" inputWidget="application.time"
						column="1" />
					<field name="activeBefore" inputWidget="application.time"
						column="1" />
					<field name="dashboardCode" inputWidget="application.text"
						column="1" />
					<field name="status" inputWidget="application.enumlist"
						column="1" required="true" />
				</section>
			</tab>
			<tab name="privileges"
				label="$m{organization.role.form.privileges}"
				contentType="child_list" applet="manageRolePrivilege"
				reference="privilegeList" />
			<tab name="workflowSteps"
				label="$m{organization.role.form.wfsteps}"
				contentType="child_list" applet="manageMappedRoleWfStep"
				reference="wfStepList" />
			<tab name="departmentDetails"
				label="$m{organization.role.form.departmentdetails}"
				mappedFieldName="departmentId"
				mappedForm="organization.mappedDepartmentForm"
				contentType="miniform_mapped" disabled="true" />
			<tab name="changeLog" label="$m{application.form.audit}"
				contentType="miniform_changelog" />
			<fieldValidationPolicy name="emailValidation"
				description="$m{organization.role.form.fieldvalidationpolicy.email}"
				fieldName="email" validator="fc-emailvalidator" />
		</form>
		<form name="zoneForm" description="$m{organization.zone.form}"
			entity="zone">
			<tab name="basicDetails"
				label="$m{organization.zone.form.basicdetails}"
				contentType="miniform">
				<section name="zoneDetails" columns="type_2">
					<field name="code" inputWidget="application.name" column="0"
						required="true" />
					<field name="description" inputWidget="application.text"
						column="0" required="true" />
					<field name="languageTag"
						inputWidget="application.languagetag" column="1" />
					<field name="timeZone" inputWidget="application.timezone"
						column="1" />
					<field name="status" inputWidget="application.enumlist"
						column="1" required="true" />
				</section>
			</tab>
			<tab name="changeLog" label="$m{application.form.audit}"
				contentType="miniform_changelog" />
			<relatedList name="relBranch"
				description="$m{organization.zone.form.related.branch.description}"
				label="$m{organization.zone.form.related.branch.label}"
				applet="manageBranch" />
		</form>
		<form name="countryForm" description="$m{organization.country.form}"
			entity="country">
			<tab name="basicDetails"
				label="$m{organization.country.form.basicdetails}"
				contentType="miniform">
				<section name="countryDetails" columns="type_2">
					<field name="iso3Code" inputWidget="application.name" column="0"
						required="true" />
					<field name="description" inputWidget="application.text"
						column="0" required="true" />
					<field name="status" inputWidget="application.enumlist"
						column="1" required="true" />
				</section>
			</tab>
			<tab name="changeLog" label="$m{application.form.audit}"
				contentType="miniform_changelog" />
			<relatedList name="relState"
				description="$m{organization.country.form.related.state.description}"
				label="$m{organization.country.form.related.state.label}"
				applet="manageState" />
		</form>
		<form name="stateForm" description="$m{organization.state.form}"
			entity="state">
			<tab name="basicDetails"
				label="$m{organization.state.form.basicdetails}"
				contentType="miniform">
				<section name="stateDetails" columns="type_2">
					<field name="code" inputWidget="application.name" column="0"
						required="true" />
					<field name="description" inputWidget="application.text"
						column="0" required="true" />
					<field name="countryId" label="$m{organization.state.country}"
						inputWidget="application.entitylist" column="1" required="true" />
					<field name="status" inputWidget="application.enumlist"
						column="1" required="true" />
				</section>
			</tab>
			<tab name="changeLog" label="$m{application.form.audit}"
				contentType="miniform_changelog" />
			<relatedList name="relBranch"
				description="$m{organization.state.form.related.branch.description}"
				label="$m{organization.state.form.related.branch.label}"
				applet="manageBranch" />
		</form>
		<form name="hubForm" description="$m{organization.hub.form}"
			entity="hub">
			<tab name="basicDetails"
				label="$m{organization.hub.form.basicdetails}"
				contentType="miniform">
				<section name="hubDetails" columns="type_2">
					<field name="name" inputWidget="application.name" column="0"
						required="true" />
					<field name="description" inputWidget="application.text"
						column="0" required="true" />
					<field name="status" inputWidget="application.enumlist"
						column="1" required="true" />
				</section>
			</tab>
			<tab name="changeLog" label="$m{application.form.audit}"
				contentType="miniform_changelog" />
			<relatedList name="relBranch"
				description="$m{organization.hub.form.related.branch.description}"
				label="$m{organization.hub.form.related.branch.label}"
				applet="manageBranch" />
		</form>
	</forms>
	<!-- Assignment Pages -->
	<assignmentPages>
		<assignmentPage name="rolePrivilegeAssignment"
			description="$m{organization.role.privilege.assignment}"
			label="$m{organization.role.privilege.assignment}"
			entity="rolePrivilege"
			commitPolicy="roleprivilge-assignmenteditpolicy" baseField="roleId"
			assignField="privilegeId"
			filterCaption1="$m{organization.role.privilege.category}"
			filterCaption2="$m{organization.role.privilege.application}"
			filterList1="privilegecategorylist" filterList2="applicationlist"
			assignCaption="$m{organization.role.privilege.assigned}"
			unassignCaption="$m{organization.role.privilege.available}"
			assignList="privilegeinlist" unassignList="privilegenotinlist" />
		<assignmentPage name="roleWfStepAssignment"
			description="$m{organization.role.wfstep.assignment}"
			label="$m{organization.role.wfstep.assignment}"
			entity="mappedRoleWfStep"
			commitPolicy="roleprivilge-assignmenteditpolicy" baseField="roleId"
			assignField="wfStepId"
			filterCaption1="$m{organization.role.wfstep.workflow}"
			filterCaption2="$m{organization.role.wfstep.application}"
			filterList1="mappedworkflowlist"
			assignCaption="$m{organization.role.wfstep.assigned}"
			unassignCaption="$m{organization.role.wfstep.available}"
			assignList="mappedwfstepinlist" unassignList="mappedwfstepnotinlist" />
	</assignmentPages>
</application>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy