ManPageW PerformanceMeasureCalculation

From ADempiere ERP Wiki

Jump to: navigation, search

Return to Index

Enjoy it, and help to fill it! But please, always respecting copyright.

Please write your contributions under the Contributions Section



Window: Performance Measure Calculation

Description : Define how you calculate your performance measures

Help : The Performance Measure Calculation defines how performance measures will be calculated. The sql needs to return a single value. Please check examples.
The date trestriction is defined in the Goal. Any restrictions for Organizations, Business Partners, Products, etc. are as Performance Goal Restrictions.



Tab: Performance Measure Calculation

Description : Maintain your Performance Measure Calculation

Help : The Performance Measure Calculation defines how performance measures will be calculated. See examples.
The SELECT definition must contain the SELECT and FROM keywords in upper case, the WHERE definition must contain the WHERE keyword in upper case. The main table must not have an alias! The WHERE clause can only contain values of the main table (e.g. when selecting from Header and lines, only header variables can be used in the where clause) and be fully qualified if there is more then one table.

Table Name  : PA_MeasureCalc

Fields

Name Description Help Technical Data
Client Client/Tenant for this installation. A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client. AD_Client_ID

NUMBER(10)

TableDir

Organization Organizational entity within client An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations. AD_Org_ID

NUMBER(10)

TableDir

Name Alphanumeric identifier of the entity The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length. Name

NVARCHAR2(60)

String

Description Optional short description of the record A description is limited to 255 characters. Description

NVARCHAR2(255)

String

Active The record is active in the system 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 reports.

There are two reasons for de-activating and not deleting records: (1) The system requires the record for audit purposes. (2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.

IsActive

CHAR(1)

YesNo

Entity Type Dictionary Entity Type; Determines ownership and synchronization The Entity Types "Dictionary", "Adempiere" and "Application" might be automatically synchronized and customizations deleted or overwritten.

For customizations, copy the entity and select "User"!

EntityType

VARCHAR2

Table

Sql SELECT SQL SELECT clause The Select Clause indicates the SQL SELECT clause to use for selecting the record for a measure calculation. Do not include the SELECT itself. SelectClause

NVARCHAR2(2000)

Text

Sql WHERE Fully qualified SQL WHERE clause The Where Clause indicates the SQL WHERE clause to use for record selection. The WHERE clause is added to the query. Fully qualified means "tablename.columnname". WhereClause

NVARCHAR2(2000)

Text

Date Column Fully qualified date column The Date Column indicates the date to be used when calculating this measurement DateColumn

NVARCHAR2(60)

String

Org Column Fully qualified Organization column (AD_Org_ID) The Organization Column indicates the organization to be used in calculating this measurement. OrgColumn

NVARCHAR2(60)

String

B.Partner Column Fully qualified Business Partner key column (C_BPartner_ID) The Business Partner Column indicates the Business Partner to use when calculating this measurement BPartnerColumn

NVARCHAR2(60)

String

Product Column Fully qualified Product column (M_Product_ID) The Product Column indicates the product to use to use when calculating this measurement. ProductColumn

NVARCHAR2(60)

String

Table Database Table information The Database Table provides the information of the table definition AD_Table_ID

NUMBER(10)

TableDir

Key Column Key Column for Table KeyColumn

NVARCHAR2(60)

String

Contributions

Personal tools