--- title: "Available-To-Promise (ATP) check" slug: "available-to-promise-atp-check" description: "Learn about ATP functionality in Zilliant eCommerce." updated: 2024-11-14T00:03:09Z published: 2024-11-14T00:03:09Z canonical: "docs.zilliant.com/available-to-promise-atp-check" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.zilliant.com/llms.txt > Use this file to discover all available pages before exploring further. # Available-To-Promise (ATP) check When a user places an order, eCommerce can display up-to-date information for the products’ estimated delivery schedule. By default, the **Order Requested Date** is **Today's Date** when the user creates an order, and eCommerce runs an ATP check in relation to it. The estimated delivery schedule updates when the **Order Requested Date** or quantity ordered changes. For example If a user orders two of the same product, where one can be shipped on 01/15/2025 and the other on 01/18/2025, the later date (01/18/2025) is shown by default. This can be customized by using a [Groovy](/v1/docs/about-groovy) script to show both dates with respective quantities. Zilliant allows you to enable the ATP check function through eCommerce or through Zilliant [CPQ](/v1/docs/about-cpq). ## Enable the ATP check function in eCommerce 1. From the top navigation bar, select your account. 2. From the dropdown menu, select **Commerce Administration**. Note You must have the Commerce System Administrator [role](/v1/docs/user-roles) to access this menu item. 3. From the left navigation area, select **Operation Settings**. 4. From the top sub-navigation bar, select **Order & Inquiry**. 5. In the **Checkout** section, switch **Availability to Promise check from ERP** on. ## Enable the ATP check function in Zilliant CPQ 1. From the left navigation area, select **Administration**. 2. From the top navigation bar, select **Master Data Management**. 3. Select **Setting Boolean**, then select **Setting Custom Implementation For ATP Availability Check**. 4. Switch **Setting Value Boolean** on. 5. Whitelist **BAPI_MATERIAL_AVAILABILITY** in ERP. To adjust the ERP response, manage the ATP Check Script groovy exit. For more details about Groovy, read [About Groovy](/v1/docs/about-groovy).