Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The step inserts/updates objects on the OpenERP server in bulk using the 'import_data' function.  The same import function used by the OpenERP GTK client.  The only exception to using the import function is when the Return ID option is selected.  All new rows (rows that failed the lookup) are created individually using the 'create' function on the OpenERP server.  The create function returns the ID that we need to return to the output stream.

Since: PDI version 4.45.0 -M1, September 9th 2011,(PDI-6684)

Options

Option

Description

Step Name

Name of the step; the name has to be unique in a single transformation.

Connection

The OpenERP database connection to write data to.

Model Name

Model/Object name to create/update data for

Commit Batch Size

Maximum number of records that will be batched into a call to the OpenERP server.

Return ID

If selected, the ID field is appended to the output stream.  If you don't need it, don't select it as it will slow down the transformation.

Output ID Name

If the Return ID is selected, this field specifies the output field name that the object ID will be copied to.

Key value fields

Maps key object fields to the corresponding stream fields.  If no fields are specified, all rows are handled as new records.

Update fields

Maps stream fields to objects fields for update.

...