Transfer Order Script
---
description: >-
Release Note Bloom & Grow Group-HK-NS Revision Date: December 20, 2023 Project
Name: Bloom & Grow Group-HK-NS Version: 1.0 Release task Jira code: BGGN-1486
---
Transfer Order Script
#
Release Note
This document summarizes the update details to the already existing script ‘TransferOrder\UE’ in the Sandbox environment. The script is now configured to trigger an error if an attempt is made to save a transfer order with a 'transfer price' of zero. As part of this update, we have introduced a custom field called 'Zero Value Item' in item records. If this checkbox is selected for an item and that particular item is included in the transfer order, the script will no longer throw an error even if the transfer price is zero.
#
BGGN-1486 Update Transfer Price Script
##
Deliveries
Created a custom field in the item record named 'ZERO VALUE ITEM.' If this checkboxis checked for an item, and that specific item is included in the transfer order, thescript will no longer generate an error, even if the transfer price is zero.
If the checkbox 'ZERO VALUE ITEM' is not checked in the item record, and that particular item is included in the transfer order with a transfer price of zero, thescript will throw an error.
In the error message, there is a 'Go Back' button. Clicking the 'Go Back' buttonwill refresh the transfer order page.
Please note that the script currently manages contexts such as 'create,' 'edit,' and'make a copy,' specifically initiated through the 'User Interface.
##
Environment
.png)
##
Target Personas
.png)
##
Testing Steps
Create a Transfer Order by ensuring that the 'ZERO VALUE ITEM' checkbox is leftunchecked for the included item
.png)
Navigation to Create a Transfer Order: Transactions> Inventory> Enter Transfer Orders.
Include the required details and ensure that the 'ZERO VALUE ITEM' checkbox is unchecked in the corresponding item record. If the transfer price of the item is zero, the transfer order will not be saved, and an error message will be triggered during the saving process.
.png)
Click on Save.
The 'Transfer Order' will not be saved because the transfer price for that itemis zero, triggering an error message.
.png)
Clicking the 'Go Back' button will refresh the transfer order page.
To save a transfer order with an item having a transfer price of zero, navigatetothespecific item record and click on Edit.
.png)
.png)
Check the 'ZERO VALUE ITEM' checkbox, and then click on Save.
Create a transfer order for that specific item.
.png)