Delivery options and prices use case for the Assisted Text Authoring widget

The delivery options and prices use case is an example of how you can configure the Assisted Text Authoring widget. To create the delivery options and prices use case, you must set specific configuration values in the Assisted Text Authoring widget. You must also reset the widget configuration before you configure the widget for the delivery options and prices use case.

To configure the Assisted Text Authoring widget for this use case, complete these tasks:

Configuration values for Business Context Variables

This table shows the configuration values for business context variables:
Field Sample value
Variable BCCustomerNumber
Source InforCustomerPartyMaster.id1

Configuration values for Business Context Tasks

This table shows the configuration values for GetCustomerTask:
Field Sample value
Task type M3 API
Task name GetCustomerTask
Program CRS610MI
Transaction GetBasicData
Input Customer number: {BCCustomerNumber}
Output Select all outputs
This table shows the configuration values for GetTextBlockTask:
Field Sample value
Task type M3 Text Block
Task name GetTextBlockTask
This table shows the M3 Text Block parameters for GetTextBlockTask:
Key Sample value
FILE OCUSMA00
TFIL OSYTXH
KV01 {UserContext.CONO}
KV02 {BCCustomerNumber}
LNCD {languageCodeVariable}
CONO {UserContext.CONO}

Configuration values for Generate Tasks

This table shows the configuration values for GetDeliveryOptionsTask:
Field Sample value Notes
Task type GenAI
Task name GetDeliveryOptionsTask
Prompt You are at [location]. Retrieve delivery services and costs by size and weight to {GetCustomerTask.CUA1} {GetCustomerTask.CUA2}{GetCustomerTask.CSCD}. Provide a list of delivery services and costs as an itemized list. Specify a location in [location]. {GetCustomerTask.CUA1} is address line 1, {GetCustomerTask.CUA2} is address line 2, and {GetCustomerTask.CSCD} is the country code of the customer address.

Configuration values for Save Tasks

This table shows the configuration values for SaveDeliveryOptionsTask:
Field Sample value
Task type M3 Text Block
Task name SaveDeliveryOptionsTask
M3 Text Block task type Save
This table shows the M3 Text Block parameter values for SaveDeliveryOptionsTask:
Key Sample value
FILE OCUSMA00
TFIL OSYTXH
KV01 {UserContext.CONO}
KV02 {GetCustomerTask.CUNO}
LNCD {languageCodeVariable}
This table shows the M3 Text Block head parameter values for SaveDeliveryOptionsTask:
Key Sample value
KFLD {GetCustomerTask.CUNO}
LNCD {languageCodeVariable}
USID {UserContext.USID}
CONO {UserContext.CONO}
This table shows the M3 Text Block content values for SaveDeliveryOptionsTask:
Field Sample value
Text header Delivery Options
Text block body {modalTextblockVariable}

Configuration values for the widget display

This table shows the configuration values for the widget display:
Section Field Sample value
Main Display Configuration Text Block {GetTextBlockTask}
Modal Display Configuration New Text Content {GetDeliveryOptionsTask}