Zoho Reports Integration

Configuring the Integration with a Zoho Account

Go to Openbravo and log in as “System Administrator” and go to Zoho || Zoho Integration

Header:

Name: A describing name.

Database: DAtabase name.

Username: Name that identifies the Zoho Reports account user

Password: The Password indicates the Password for this User Id. Passwords are required to identify authorized users.

Active: There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reporting. There are two reasons for de-activating and not deleting records:

The system requires the record for auditing purposes.

The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are existing invoices for it. By de-activating the Business Partner you prevent it from being used in future transactions.

Defining the Importing Rules

Log in as System administrator and go to General Setup || Application || HQL Query Tool

HQL query tool allows a user to enter HQL queries in a window and see the results directly.

Queries make use of the Entities and Properties of the entity model. The entity model can be viewed on this location: Entity[1]Model.

Name: A more descriptive identifier (that does need to be unique) of a record/document that is used as a default search option along with the search key (that is unique and mostly shorter). It is up to 60 characters in length.

Zoho Table: Table in Zoho Reports to import to

Import type: Defines how the importation will be done

HQL: This is the query (HQL languaje) that defines the data to import to Zoho Reports.

It is important to explicitly define aliases for each field in the query, this aliases will be used as column names in Zoho Reports table.

Column Aliases: This parameter is required for hql aliases that don't match names of columns in Zoho table. A JSON object with the following format:

{

"hqlCol1":"zohoCol1",

"hqlCol2:"zohoCol2",

...

"hqlColN":"zohoColN"

}

Where hqlCol* is the alias in the hql query and zohoCol* is the name of the zoho column.

Matching columns: When importation type is update, this is a list of comma separated column names indicating which ones are used as identifier for the update.

Active: There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reporting. There are two reasons for de-activating and not deleting records:

(1) The system requires the record for auditing purposes.

(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are existing invoices for it. By de-activating the Business Partner you prevent it from being used in future transactions.

Scheduling the Import Rules

Import rules can be processed immediately (“Run immediately” schedule option) or schedule them to be run automatically.

Import Process

Timing: When to run a Process Request - either immediately, at a later date or on a recurring basis.

Security based on role: A flag indicating whether access to an item should be based on a user's role within the system.

Start date: The date on which an item is due to start.

Start time: The time at which an item is due to, or did, start.

Frequency: The frequency is used in conjunction with the frequency type in determining an event. Example: If the Frequency Type is Week and the Frequency is 2 - it is every two weeks.

Interval in seconds: Interval in hours between an event (such as a process execution).

Repetitions: The number of times this element will repeat.

Interval in minutes: Interval in hours between an event (such as a process execution).

Hourly interval: Interval in hours between an event (such as a process execution).

Number of repetitions: The number of times this element will repeat.

Daily option: Option to run a Process Request on a daily basis.

Daily_interval: The daily interval between executions of a process.

A day in the week when the process runs can be defined (Mon-Sun)

Monthly option: An option by which to schedule a Process in a monthly manner. The option can be a specific date within each month, the last day of each month, or the Nth selected day within each month, such as the first Wednesday of each month.

Day of the week: A day within a week.

Day of month: The specific date within each month. For example, specifying 15 will signify the 15th of each month.

Finishes: Specify that this item should finish.

Finish Date: The time that this item will finish.

Finish Time: Request a process to be run in the background or scheduled.

Monitoring the Import Process

Duration: Elapsed time from when the Process began to when the Process finished its execution. The result is displayed in an hours, minutes, seconds and milliseconds format (HH:MM:SS:sss).

Process Log: The log of the Process execution.

Manage the your data in Zoho Reports

Once your tables from Openbravo have been imported to Zoho Reports, those tables will appear as tables in Zoho database.
From there it is possible to start creating reports and objects using those imported tables as datasources.