--- title: "Adjust the template" slug: "adjust-the-template" tags: ["WebEDI Template", "Custom Type Definitions", "Supplier Tolerance"] updated: 2026-03-30T15:25:06Z published: 2026-03-30T15:25:06Z canonical: "docs.lobstersoftware.com/adjust-the-template" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # Adjust the template ## Modifying the template to fit your requirements The WebEDI Template demonstrates the capabilities of the Lobster Data Platform within the described example case. Use it as a foundation to implement your own WebEDI processes, and change or extend the implementation as needed. The most important configuration items are described below. ### Custom type definitions - Extend **Orders/Shipments** with additional attributes and types - Adapt **package definitions** to match your real packaging - Configure the **supplier tolerance sheet** with percentage or absolute thresholds and date windows - Use the basic definitions as a framework and adapt or extend them as required You have configured the custom type definitions to reflect your business requirements. ### Profiles The template includes profiles for both directions: receiving orders and sending order confirmations and ASNs. **TEMPLATE_webEDI_Import_Order** - Use this profile to receive and import orders - Replace the source structure (ORDERS_D23A) with your custom order format ![Interface showing source and target structures for EDI order import configuration.](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/import_profile.png) - Map your format to the pre-filled order format - Replace the static values for `buyerAccount_attr` and `supplierAccount_attr` **TEMPLATE_webEDI_Export_OrderConfirmation** - Use this profile to send order confirmations - Replace the target structure (ORDRSP_D23A) with your custom format ![Interface showing order confirmation settings and template loading options in Lobster software.](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/export_profile.png) - Map the pre-filled order confirmation format to your custom format **TEMPLATE_webEDI_Export_ASN** - Use this profile to send ASNs - Replace the target structure (DESADV_D23A) with your custom format - Map the pre-filled ASN format to your custom format - Refer to the generic guideline and adjust to your customer-specific EDI guideline, including segments, qualifiers, and formats You have configured the inbound and outbound profiles to match your order, order confirmation, and ASN formats. ### Event handling for validation The template validates confirmed quantities and confirmed delivery dates against supplier-specific tolerances. To extend validation to additional fields, follow the steps below. 1. Extend the `SupplierToleranceSheet` entity, the `Order` entity, and the input forms **webEDI: TolerancesDefault** and **webEDI: OrderConfirmation** with any additional fields you require. The validation runs in the event handler **webEDI: validate order confirmation.** 2. Extend the fallback values in the **Set dummy tolerances if search result is empty** block to include the new fields. 3. Extend the **Validation based on supplier tolerances** block to validate the new fields.![Flowchart illustrating a loop for validating order details and setting status.](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/event_handling.png) You have extended the validation logic to cover your additional tolerance fields and business rules.