AR Upsert step
The following screenshot illustrates the AR Upsert step in the Spoon client:

Overview of Checksum mechanism
You can configure a Checksum value for a job transformation in AR Upsert step. This is used in a job transformation with other Input step, which obtains data from the external source.
The AR Upsert step uses the Secure Hash Algorithm (SHA) logic to calculate a Checksum value for all the fields you have mapped in the Filed Mapping tab of AR Upsert step. The AR Upsert step does not perform field-by-field comparison while updating records in a AR System form. It refers to the Checksum value and decides whether or not to update the record. This steps improves the performance by eliminating unnecessary calls to the Atrium Integrator to insert or update records in a form.
You must add a checksum field with the field ID 304412001 to your form to use the checksum feature.
The Checksum computation is based on the following conditions:
Result | Condition |
|---|---|
Entry in a form in updated |
|
A new entry is added in a form | When the Checksum flag is checked and an entry does not exist in the staging or target form. |
No operation is performed | When the Checksum flag is checked and when an entry exists in the staging or target form. The Checksum value of the input row matches with the Checksum value present on the staging or target form. |
General tab
The General tab in the AR Upsert step allows you set connection and values for available fields.

The General tab has the following fields:
Field | Description |
|---|---|
Connection | Created new AR System server connection. |
Form Name | Displays the name of the AR System form where the ouput data is captured. |
Use Checksum Checkbox | Performs checksum comparison in update mode. |
Alternate Target Form Name | Specifies when the target form is different from the staging form. When you provide the Alternate Target Form Name in an AR Upsert step, the operations are performed on the staging form. When you update any record, an entry is inserted into the staging form. The Alternate Target form is used for Checksum comparison. Example: In such scenarios you can specify CTM: People as an Alternate Target Form. When AR Upsert gets the same record for processing, it does comparison based on last Checksum value from CTM: People against the input record Checksum. If checksum is matched, then the record is not imported to CTM: LoadPeople, if the record does not match, then it creates a new record in CTM: LoadPeople form. |
Batch Commit Size | (Optional) Imports the bulk data. When you specify a Batch Commit Size, the bulk API imports the data. You can specify the Batch Commit Size as variable. When you specify the Batch Commit Size as a variable, the AR Upsert step uses the actual value provided. |
Fallback to single row commit if batch commit fails | Helps switch to single-row commit. Use this option to switch to a single-row commit if batch-commit fails. |
Insert Only | Creates a new record if an entry does not exist in the AR System form. Skips the record, if an entry already exists in a AR System form. The Insert Only mode ignores the Use Checksum flag and adds a new entry. |
Update Record | Performs an update as well as insert operation, based on the Checksum conditions. |
Match By Request ID | Matches output rows by Request ID. Select this option to match output rows by Request ID. When you select the Match by Request ID checkbox, a new entry is created when the Request ID is not provided for the input row. |
Multi Match Option | Helps work with multiple records are displayed for a given qualification. Select when more than one record matches the given qualification. |
Configure Matching Qualification | Helps configure a matching qualification. Select to configure a matching qualification in the qualification helper dialog. |
Field Mapping tab
You can map the output fields from previous steps, or stream fields, to their respective AR System form fields, using the Field Mapping tab. You can also exclude a particular field from computing checksum. By default all fields are included in the checksum calculation.
The following screenshot illustrates the Field Mapping tab in the AR Upsert step:

The Edit Mapping button provides a helper dialog to map the fields.
The following screenshot illustrates the Enter Mapping dialog from the Field Mapping tab:

The following table shows AR Upsert data type conversions:
Atrium Integrator adapter data type | AR System data type |
|---|---|
None | Null |
Number | Real |
String | Char |
Date | Date |
Boolean | Enum |
Integer | Ulong |
Bignumber | Decimal |
Binary | Attach |