tOpenbravoERPInput - 6.3

Talend Open Studio for Big Data Components Reference Guide

EnrichVersion
6.3
EnrichProdName
Talend Open Studio for Big Data
task
Data Governance
Data Quality and Preparation
Design and Development
EnrichPlatform
Talend Studio

Function

tOpenbravoERPInput connects to an OpenbravoERP database entity via the appropriate Web service.

Purpose

This component allows you to extract data from OpenBravoERP database according to the conditions defined in specific columns.

tOpenbravoERPInput properties

Component Family

Business

 

Basic settings

Openbravo REST WebService URL

Enter the URL of the Web service that allows you to connect to the OpenbravoERP database.

 

Username and Password

User authentication information.

To enter the password, click the [...] button next to the password field, and then in the pop-up dialog box enter the password between double quotes and click OK to save the settings.

 

Entity

Select the appropriate entity from the drop-down list.

 

Schema and Edit Schema

A schema is a row description. It defines the number of fields (columns) to be processed and passed on to the next component. The schema is either Built-In or stored remotely in the Repository.

Since version 5.6, both the Built-In mode and the Repository mode are available in any of the Talend solutions.

Click Edit schema to make changes to the schema. If the current schema is of the Repository type, three options are available:

  • View schema: choose this option to view the schema only.

  • Change to built-in property: choose this option to change the schema to Built-in for local changes.

  • Update repository connection: choose this option to change the schema stored in the repository and decide whether to propagate the changes to all the Jobs upon completion. If you just want to propagate the changes to the current Job, you can select No upon completion and choose this schema metadata again in the [Repository Content] window.

Click Sync columns to retrieve the schema from the previous component connected in the Job.

Note

For this component, the schema corresponds to a selected entity.

 

WHERE Clause

Enter your WHERE clause.

 

Order by

Select this check bow to define how to order the results (the elements in the drop-down list depend on the entity selected)

Sort: Choose whether to organise the results in either Ascending or Descending order.

 

First result

Enter the row number you want to retrieve first.

 

Max result

Enter the maximum number of results you want to retrieve.

Advanced settings

Advanced separator (for numbers)

Select this check box to modify the separators to be used for the numbers. Either:

Thousands separator

or

Decimal separator

 

tStatCatcher Statistics

Select this check box to collect the log data at a component level.

Global Variables

NB_LINE: the number of rows read by an input component or transferred to an output component. This is an After variable and it returns an integer.

ERROR_MESSAGE: the error message generated by the component when an error occurs. This is an After variable and it returns a string. This variable functions only if the Die on error check box is cleared, if the component has this check box.

A Flow variable functions during the execution of a component while an After variable functions after the execution of the component.

To fill up a field or expression with a variable, press Ctrl + Space to access the variable list and choose the variable to use from it.

For further information about variables, see Talend Studio User Guide.

Usage

This component is generally used as an input component. An output component is required.

Limitation

n/a

Related Scenario

For a scenario in which tOpenbravoERPInput might be used, see Scenario: Writing data in a Microsoft CRM database and putting conditions on columns to extract specified rows