There is a requirement to display the Supply Required by Date field on the Item Fulfillment To Be Generated page. The standard Supply Require by Date field returns a timestamp value when being sourced automatically through a custom field. The field only displays its value once the record has been saved which is the opposite of the desired result.
Solution
- Create a Transaction Line Field
- Navigate to Customization > Lists, Records, & Fields > Transaction Line Fields > New
- Label: Enter Supply Required by Date (custom)
- Store Value: Enter Checkmark
- Type: Select Free-Form Text
- Click Applies To tab
- Item Fulfillment: Enter Checkmark
- Click Save
- Create the Workflow to set the value on the field
- Navigate to Customization > Workflow > Workflows > New
- Name: Enter Set Supply Required by Date
- Record Type: Select Item Fulfillment
- Released Status: Select Released
- Keep Instance and History: Select Always
- Enable Logging: Enter Checkmark
- Event Definition:
- On Create: Enter Checkmark
- Click Save
- Double-click State 1
- Click New Sublist Group
- Trigger On: Select Entry
- Parameters:
- Sublist: Select Items
- Click Save
- Click on the New Action button
- Click Set Field Value
- Parameters:
- Field: Select Supply Required by Date (custom)
- Value:
- Formula: Enter SUBSTR({createdfrom.requesteddate}, 0, 10)
- Click Save