Order Status Code
This page provides detailed instructions on the Order Status Code transform code block and what should be added to the Script Manifest file in order to execute the code
Last updated
Was this helpful?
This page provides detailed instructions on the Order Status Code transform code block and what should be added to the Script Manifest file in order to execute the code
Last updated
Was this helpful?
This block is dependent on the following blocks being implemented:
Initialization
UOS
The following code should be added to the main workflow in the appropriate position, after Google Analytics and before Order Channel and Marketing per the page
Add this code to create the [drp.order_status
] and [drp.order_business_unit
] tables to help identify the status and source of orders
This script determines what orders need to be updated and is used to drive a incremental approach to updates reducing CPU utilization for refreshing data. We recommend that this code is always turned on
These scripts create the two tables in this section of the data model
This script updates the [drp.order_status
] table and flags orders that are in Recharge