In Enterprise Designer, with the Project Explorer tab active, right-click the BPAD you want to modify.
If the component is locked, you must check it out before you can modify it.
To the far right of the value for Envelope Attribute Definitions, click the ellipsis [...] button to display the Envelope Attribute Definitions dialog box.
See Figure 4–10.
You use this dialog box to create and set the envelope attribute definitions (EAD) of the current BPAD.
Click the Add button as many times as needed (a four-row EAD is illustrated in Figure 4–11) and then, for each row created:
Change Name to a meaningful node name for the OTD you will generate.
Change Display to the text you want to display as a prompt or label for the parameter in ePM.
For Type, select the data type for this attribute:
String (the default) allows the ePM user to enter any character data
Password accepts any ePM input, and masks the input
Integer accepts positive or negative whole numbers only
Number extends this to also accept decimal numbers (floating-point numbers)
Boolean requires the ePM user to make a yes-or-no choice
List of Values presents the ePM user with a drop-down list restricted to the items you have set up
DateTime prompts the ePM user to supply a date and/or time value, based on the formatting you provide
For Required, select or clear the box according to whether you want the parameter to be a required or optional entry. (In the ePM GUI, parameters that have been designated as required are flagged with a red asterisk.)
For Direction, choose ToPartner, FromPartner, or Both according to whether you want the parameter to appear with the ToPartner parameters, FromPartner parameters, or both.
For Default, you can optionally enter a default value to appear in ePM before the user enters data or makes a selection. This is the value that is used if it is not overridden by the ePM user.
For List of Values, which is available only for an attribute whose data type is “List of Values”, double-click the ellipsis [...] button to the far right and use the List of Values dialog box to add entries to the drop-down list that is seen by the end user:
Add appends a new item to the end of the list
Edit modifies the currently selected item
Up and Down move it higher or lower in the list
Format String allows you to use special characters as shorthand for certain often-used information; for example, %f is the working filename, %M is the current month, %d the current day, and so forth. For more information, see the eWay Batch Adapter User’s Guide. The chapter on understanding OTDs has a section on using special characters.
When you have finished adding and modifying envelope attributes, click OK.
Repeat the corresponding steps for the business attributes definition (BAD).
Click OK to close the properties dialog.
The BPAD can now be used to generate an OTD.
After you have completed these steps, the BPAD appears as a choice in the drop-down list of BPADs when you configure the delivery protocols of your B2B Host.
After you have completed these steps, activation of the B2B Host causes the BPAD parameters (that is, the ones you defined for the EAD and the BAD) to appear in ePM.