Example query for Charts widget
- Create a query for CHARTS and select the Visible in API check box.
-
Add the code below to the Query
Text. Click Save.
SELECT PROJECT_CODE, DESCRIPTION, PROJECTMGR, PROJ_CUSTOMER, TARGET_UNIT_PRICE, TARGET_UNIT_COST, PLANNED_COST, ACTUAL_COST, BUDGETED_COST FROM FSPROJECT WHERE PLANNED_COST > 0 AND TARGET_UNIT_PRICE > 5
- Open the Lookup Set form.
- Create a Lookup Set for WIDGETLOOKUP.
-
Add a row in the Lookup tab and
specify this information:
- Lookup Code
- CHARTLANG
- Description
- Specify any description. Example: Chart based on Language
- Auto Start
- Yes
- Query Code
- CHARTS
-
Add column labels below in Lookup
Language tab.
Language Code Column Labels English Project Code;Description;Project Manager;Project Customer;Target Unit Price;Target Unit Cost;Planned Cost;Actual Cost;Budgeted Cost
French Code de projet;Description;Gestionnaire de projet;Client du projet;Prix unitaire cible;Coût unitaire cible;Coût prévu;Coût réel;Coût budgété
-
Add the information below to the Lookup
Set tab:
- Lookup Code
- CHARTLANG
- Set Code
- WIDGETLOOKUP
- Format
- A
- Click Save.
- Go to the Homepage. A separate Home Page for French must be configured and published to the Infor OS Pages Catalog for customers to define Language specific pages. The chart widget text is not translated automatically on the English Home Page, but the browser language is applied to other forms and available translations will be displayed. Add the PLM Process Charts widget.
-
In the PLM Process Charts widget,
click Configure and provide the
details below:
- Title
- Graphiques PLM Process
- Database
- Widgets
- Query Code
- WIDGETLOOKUP\CHARTLANG
- Label Column
- Code de projet
- Value Column
- Prix unitaire cible;Coût unitaire cible
- Select any chart type and click Save.
- Now, the Charts widget displays the data.