July 30, 2023

tOpenbravoERPInput – Docs for ESB 7.x

tOpenbravoERPInput

Extracts data from OpenBravoERP database according to the conditions defined in
specific columns.

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

tOpenbravoERPInput Standard properties

These properties are used to configure tOpenbravoERPInput running in the Standard Job framework.

The Standard
tOpenbravoERPInput component belongs to the Business family.

The component in this framework is available in all Talend
products
.

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. When you create a Spark
Job, avoid the reserved word line when naming the
fields.

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

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

Usage rule

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

Related Scenario


Document get from Talend https://help.talend.com
Thank you for watching.
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x