### OData Example with Filtering and Sorting Source: https://www.uniconta.com/da/unipedia/odata-filterfunktion This example demonstrates how to filter debtors by balance, order them by name, and limit the results to the top 10. ```text https://odata.uniconta.com/odata/123456/DebtorClient?$filter=Balance gt 0&$orderby=Name asc&$top=10 ``` -------------------------------- ### Example OData Endpoint URL Source: https://www.uniconta.com/da/unipedia/odata-filterfunktion This is an example URL for an OData endpoint. Calling such an endpoint directly will return all available fields for the specified resource. ```url https://odata.uniconta.com/odata/DebtorClientUser ``` -------------------------------- ### OData Filter Examples Source: https://www.uniconta.com/da/unipedia/odata-filterfunktion Examples of constructing $filter URLs for specific data retrieval needs. These demonstrate filtering by account number, balance, date ranges, and item status. ```odata Account eq '1101798' ``` ```odata Balance gt 0 ``` ```odata Date ge datetime'2024-01-01T00:00:00' and Date le datetime'2024-12-31T23:59:59' ``` ```odata Blocked eq false ``` -------------------------------- ### Import Budget Fields Example Source: https://www.uniconta.com/da/unipedia/projektbudget This table outlines the fields available for importing project budgets. Ensure the 'Aktuel' field is checked on the budget for successful import of budget lines. The 'Budget' field should not be imported directly but is generated during the import process. ```text Budget (nøglen)| **Projekt**| **Budgetgruppe**| Kommentar| Oprettet| Aktuel ---|---|---|---|---|--- ``` -------------------------------- ### Conditional IF Statement Example Source: https://www.uniconta.com/da/unipedia/vaerktoejer/scripts-i-uniconta Provides an example of an IF-ELSE statement structure, commonly used in calculated fields or scripts for conditional logic. ```javascript if (rec.IncludeInDiscount== 1) { "Discount is acceptet" } else { "Discount is not allowed" } ```