Skip to content

Conversation

@onbuyuka
Copy link
Contributor

@onbuyuka onbuyuka commented Dec 24, 2025

Add Data Capture support for Fulfillment Orders

Summary

This PR adds Data Capture functionality for Fulfillment Orders, mirroring the existing implementation for Order Fulfillments. This allows users to view the raw JSON data retrieved from Shopify for debugging and troubleshooting purposes.

Changes

Pages

  • ShpfyFulfillmentOrderCard.Page.al: Added "Retrieved Shopify Data" action with actionref in the promoted area to view captured data for the selected fulfillment order
  • ShpfyFulFillmentOrders.Page.al: Added the same "Retrieved Shopify Data" action to the list page for quick access from the list view

Table

  • ShpfyFulFillmentOrderHeader.Table.al: Extended OnDelete trigger to clean up associated Data Capture records when a fulfillment order header is deleted

Codeunit

  • ShpfyFulfillmentOrdersAPI.Codeunit.al:
    • Added DataCapture.Add() call in ExtractFulfillmentOrder to save the fulfillment order JSON response
    • Added DataCapture.Add() call in ExtractFulfillmentOrderLines to save the fulfillment order lines JSON response

Work Item(s)

Fixes AB#616999

@github-actions github-actions bot added the AL: Apps (W1) Add-on apps for W1 label Dec 24, 2025
@github-actions github-actions bot added this to the Version 28.0 milestone Dec 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AL: Apps (W1) Add-on apps for W1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants