Custom Disability Form

XML Forms Guide

Version
R2024.1.1
Custom Disability Form

You can configure custom forms that allow users to submit disability information for reporting to the German government.

The following is an example of a form for disability data:

Copy
<WF_DynamicForm>
  <DataClass>Employee</DataClass>
  <ValidationRule Type="EmployeeDisabilityValidationRule" Event="OnSubmit" />
  <FormHeader>
    <Style>header</Style>
    <Title>lblNameForm</Title>
  </FormHeader>
  <EmployeeHeaderPanel>
    <Style />
  </EmployeeHeaderPanel>
  <ContextProvider>
    <Name>PayGroupProvider</Name>
  </ContextProvider>
  <UsedClass>
    <Name>List_EmployeeEmploymentStatus</Name>
    <Mode>Current</Mode>
    <AddNewInstanceIfEmpty>true</AddNewInstanceIfEmpty>
    <DefaultStatus>Update</DefaultStatus>
  </UsedClass>
  <UsedClass>
    <Name>List_EmployeeDisability</Name>
    <Mode>CurrentAndFuture</Mode>
    <AddNewInstanceIfEmpty>false</AddNewInstanceIfEmpty>
    <DefaultStatus>Update</DefaultStatus>
  </UsedClass>  
  <FormBody>
    <Style>IVFormBody</Style>
    <Block>
      <Style />
      <!--Number of Columns Defined-->
      <NumberOfColumns>4</NumberOfColumns>
    </Block>
    <!-- Disability Grid -->
    <Grid>
      <Style />
      <Block>1</Block>
      <Row>1</Row>
      <Column>0</Column>
      <ColumnSpan>4</ColumnSpan>
      <RowSpan>3</RowSpan>
      <ItemSource>List_EmployeeDisability</ItemSource>
      <AuthorizationKey>HRMS_PERSONAL</AuthorizationKey>
      <GridColumn>
        <BindingProperty>DisabilityWorkingTimeId</BindingProperty>
        <HeaderCaption>lblWorkingTime</HeaderCaption>
        <DataProvider>DisabilityWorkingTimes</DataProvider>
        <DisplayMemberPath>ShortName</DisplayMemberPath>
        <SelectedValuePath>DisabilityWorkingTimeId</SelectedValuePath>
        <CountryContextProvider>EmployeePayGroup</CountryContextProvider>
        <CountryContextDataProvider>DisabilityWorkingTime</CountryContextDataProvider>
      </GridColumn>
      <GridColumn>
        <BindingProperty>DisabilityEvidenceTypeId</BindingProperty>
        <HeaderCaption>lblDisabilityEvidenceType</HeaderCaption>
        <DataProvider>DisabilityEvidenceTypes</DataProvider>
        <DisplayMemberPath>ShortName</DisplayMemberPath>
        <SelectedValuePath>DisabilityEvidenceTypeId</SelectedValuePath>
        <CountryContextProvider>EmployeePayGroup</CountryContextProvider>
        <CountryContextDataProvider>DisabilityEvidenceType</CountryContextDataProvider>
      </GridColumn>
      <GridColumn>
        <BindingProperty>DisabilityEvidenceIssuingAgencyId</BindingProperty>
        <HeaderCaption>lblDisabilityEvidenceIssuingAgency</HeaderCaption>
        <DataProvider>DisabilityEvidenceIssuingAgencies</DataProvider>
        <DisplayMemberPath>ShortName</DisplayMemberPath>
        <SelectedValuePath>DisabilityEvidenceIssuingAgencyId</SelectedValuePath>
        <CountryContextProvider>EmployeePayGroup</CountryContextProvider>
        <CountryContextDataProvider>DisabilityEvidenceIssuingAgency</CountryContextDataProvider>
      </GridColumn>
      <GridColumn>
        <BindingProperty>DisabilityGroupId</BindingProperty>
        <HeaderCaption>lblDisabilityGroup</HeaderCaption>
        <DataProvider>DisabilityGroups</DataProvider>
        <DisplayMemberPath>ShortName</DisplayMemberPath>
        <SelectedValuePath>DisabilityGroupId</SelectedValuePath>
        <CountryContextProvider>EmployeePayGroup</CountryContextProvider>
        <CountryContextDataProvider>DisabilityGroup</CountryContextDataProvider>
      </GridColumn>
      <GridColumn>
        <BindingProperty>EvidenceNumber</BindingProperty>
        <IsRequired>false</IsRequired>
      </GridColumn>
      <GridColumn>
        <BindingProperty>ValidFrom</BindingProperty>
        <DisplayFormat>MMM dd/yyyy</DisplayFormat>
        <IsRequired>false</IsRequired>
      </GridColumn>
      <GridColumn>
        <BindingProperty>EffectiveStart</BindingProperty>
        <DisplayFormat>MMM dd/yyyy</DisplayFormat>
      </GridColumn>
      <GridColumn>
        <BindingProperty>EffectiveEnd</BindingProperty>
        <DisplayFormat>MMM dd/yyyy</DisplayFormat>
      </GridColumn>
    </Grid>       
  </FormBody>
</WF_DynamicForm>