Define Available Earnings

XML Forms Guide

Version
R2024.1.1
Define Available Earnings

The List_EmployeeEarning.PREarningId reference in the <BindingProperty> section brings the full list of earning codes into focus. You can limit the codes that are available for listing their IDs in the <Filter> section.

Copy
<Field>
    <Style>IVComboBox</Style>
    <Block>1</Block>
    <Row>3</Row>
    <Column>3</Column>
    <BindingProperty>List_EmployeeEarning.PREarningId</BindingProperty>
    <DataProvider>PREarnings</DataProvider>
    <DisplayMemberPath>Shortname</DisplayMemberPath>
    <SelectedValuePath>Id</SelectedValuePath>
    <IsReadOnly>true</IsReadOnly>
    <IsRequired>true</IsRequired>
    <Filter>
        <FieldName>Id</FieldName>
        <FieldValue>170</FieldValue>
    </Filter>
    <InitialValue>170</InitialValue>
</Field>

See also: