Below is an example of how to include direct deposit information fields in a custom XML form:
Copy
<!-- Used Class for EmployeeDirectDeposit -->
<UsedClass>
<Name>List_EmployeeDirectDeposit</Name>
<Mode>All</Mode>
</UsedClass>
<Grid>
<Block>1</Block>
<Row>65</Row>
<Column>0</Column>
<RowSpan>8</RowSpan>
<ItemSource>List_EmployeeDirectDeposit</ItemSource>
<GridColumn>
<BindingProperty>DepositNumber</BindingProperty>
<HeaderCaption>lblDepositNumber</HeaderCaption>
<IsRequired>true</IsRequired>
</GridColumn>
<GridColumn>
<BindingProperty>IsRemainder</BindingProperty>
<HeaderCaption>lblIsRemainder</HeaderCaption>
</GridColumn>
<GridColumn>
<BindingProperty>RoutingTransitNumber</BindingProperty>
<HeaderCaption>lblDDRoutingNumber</HeaderCaption>
<IsRequired>true</IsRequired>
</GridColumn>
<GridColumn>
<BindingProperty>BuildingSocietyNumber</BindingProperty>
<HeaderCaption>lblBuildingSocietyNumber</HeaderCaption>
<IsRequired>true</IsRequired>
</GridColumn>
<GridColumn>
<BindingProperty>DFPayMethodId</BindingProperty>
<HeaderCaption>lblPaymentMethod</HeaderCaption>
<DataProvider>PayMethods</DataProvider>
<DisplayMemberPath>ShortName</DisplayMemberPath>
<SelectedValuePath>DFPayMethodId</SelectedValuePath>
<IsRequired>true</IsRequired>
</GridColumn>
<GridColumn>
<BindingProperty>BankNumber</BindingProperty>
<HeaderCaption>lblDDInstitutionNumber</HeaderCaption>
<IsRequired>true</IsRequired>
</GridColumn>
<GridColumn>
<BindingProperty>AccountNumber</BindingProperty>
<HeaderCaption>lblAccountNumber</HeaderCaption>
<IsRequired>true</IsRequired>
</GridColumn>
<GridColumn>
<BindingProperty>DepositValue</BindingProperty>
<HeaderCaption>lblAmount</HeaderCaption>
<IsRequired>true</IsRequired>
</GridColumn>
<GridColumn>
<BindingProperty>IsPercentage</BindingProperty>
<HeaderCaption>lblIsPercentage</HeaderCaption>
</GridColumn>
</Grid>