About this task
If the field is
located in an output record on the input side of a map, both the input
and output records are functional.
Note: If the field
is contained in an output record, the validation information is set
from the column information.
For more information
about properties, see Sterling B2B Integrator Map Editor Properties.
To create a output record
field on the input side of the map:
Procedure
- Right-click a map object. From the shortcut
menu, select either Create Sub or Insert.
- From the shortcut menu, select Field.
The SQL Field Properties dialog box opens.
- In the Name tab, specify
the following:
- Unique field name
- Description
- Additional notes (if applicable)
- Is this a field on the input side of the
map?
- If Yes, click the Query tab
and continue with the next step.
- If No (this is a field on the output side), select
the Column tab and continue with step 8.
- From the Associate Statement Record list,
select the record with which this field is associated.
- From the Name list, select the table
name.
If the Name list is not
available, you did not test the SQL query. Instead, select a number
from the Number box.
- Do you want to enable nulls?
- If Yes, select the Nulls Allowed option and
continue with step 11.
- If No, continue with step 11.
- In the Column tab,
select the column name from the Name list.
If the Name list is not available, you did not
select to connect to a data source to create a table in the SQL
File Properties dialog box. Instead, select a number from
the Number box.
- Do you want to enable nulls?
- Will this field be used in a WHERE clause?
- If Yes, select the Table Key option and continue
with the next step.
- If No, continue with the next step.
- In the Validation tab,
specify the following:
- Whether the field is required
- Minimum length
- Maximum length
- Type of data
- How the data is formatted
- Do you want to specify a standard rule for
this field?
- If Yes, click the Standard Rule tab,
define the rule, and continue with the next step.
- If No, continue with the next step.
- Do you want to specify an extended rule for
this field?
- If Yes, click the Extended Rule tab,
define the rule, and continue with the next step.
- If No, continue with the next step.
- Click OK to save the
field and close the SQL Field Properties dialog box.