返回列表 发帖

X3的<统计>功能.

Statistical(红色文字,为翻译确认,紫色文字有待进一步润色)

Statistical

Statistics are simple and straightforward X3 tools that provide the ability to store numerical elements in a temporary table (STAT):

       统计是一个简单有效的X3工具,能帮助我们统计数据到临时的统计表中(STATfficeffice" />

1 to N numerical amounts and cumulated figures, where N is set by the STA activity code (10 by default)

       1-N个统计项目及累计项目可以被指定。NSTA 活动代码里面被指定(缺省是10个)

Elements depend on the company, on the site, on a frequency parameter and on a number of other criteria

Commercial budgets may be associated to the statistical results

       商业预测可以与统计结果关联起来,查看预测执行情况

Statistic calculations are triggered by standard X3 object events, such as the creation or modification of an object record. They can also be done in batch mode.

统计被X3的对象时间触发,比如销售订单录入。也可以用批处理的方式执行。

Viewing the statistics results:

       查看统计结果:

Mutli-level display, with drill-down capabilities

       多等级显示,能不同等级向下挖掘。

Over a specified period or by comparison between two periods

       可以查询多个指定期间数据,或者在两个期间之间进行比较

With graphical capabilities

       带有图形处理能力,你可以自己选择任意一列进行图形分析

Can be called from object management and from the Portal.

       能够被对象管理或门户调用

Statistical Triggers    路径:参数-功能-统计触发器

Statistical Triggers define the context in which calculation should be performed, and the data to be calculated.

       统计触发器,详细说明了什么样的计算被执行,什么样的数据被计算

A number of statistical triggers are present in the X3 standard. They should be sufficient for normal operation. They exist for all transactional data (Orders, Invoices etc.)

       X3标准功能中推出了大量的统计触发器。他们足够用来一般统计用的,几乎覆盖所有的交易数据,如订单,发票等。

Standard triggers are customisable (Linked tables, criteria etc.) This is considered as Parameterisation.

       标准的触发器是客户化定制的(可用来连接表、查询标准等)。他们被作为参数来考虑

New statistical triggers may be created, but they must be called by code:

       你可以自己创建新的统计触发器,但是他们必须用code 命名

Real-time update is done by calling a subprogram with the statistical trigger code as an argument.

       触发器可以设置为实时更新统计结果。系统通过调用带有统计触发器的子程序来执行实时更新动作。as an argument.

The context in which the call must be done is defined by the developer (specific program).

       和这个被执行的调用相关的内容必须被开发人员定义(特殊程序)

The main table must be on-line and correctly read.

       这个主要的表必须在用且能被正确读取。

Linked Tables  链接表

The link expression provides the system with the necessary information to point to correct records. They depend on the linked table key (Table dictionary).

       这个链接表达式提供给系统必要的信息,来指向正确的关联记录

Triggering Criteria

       触发条件:

Triggering criteria are formulae that allow additional conditions to be defined on the main and linked tables.

       在主表(main)和链接表上,触发条件可以被定义公式,作为附加条件

Variables变量

Freely named variables will receive calculated values each time the trigger is called.

       你可以自己给变量命名,这个变量在每次触发器被调用时会被重新计算。这个变量也是在后面<统计参数>窗口的字段卡片页中变量行定义中将被用到,通过右键可以选择这些变量。

A Currency information (a constant or an expression) is available if the value is a currency amount, for conversion purposes.

       出于换算的目的,如果你定义的项目是币种金额的话,一个币种信息(常量或表达式)是可用的。

The Date, Company  and Site fields (from the main table) are important information because statistical information is centred on a date, a company and a site.

       日期、公司、地点字段(来自主表)是非常重要的信息,因为统计信息是他们为中心进行检索的。

Statistical Parameters  路径:参数-功能-统计参数

Statistical Parameters are used to define:

       统计参数需要事先定义:

The statistical records (table STAT) that will be created when statistics are updated

       当统计被更新的时候系统自动创建统计记录(表STAT

The final presentation (Columns) that will be used to show the data.

       在统计参数窗口的高级卡片中,列窗口里面定义的内容,将被显示在统计窗口中。

Data may be presented:

       数据可以被展现

Over a single period or two periods, defined when statistical data is viewed

       在统计数据被查询的时候可以指定一个期间,或两个期间进行对比。

With complex calculations that may be performed on statistical amounts

       在统计列中可以定义复杂的计算,系统将执行这些计算

With progressive totals and percentages

       可以计算累计,可以计算提高或降低的百分比

With a possibility of entering forecasts.

       通过设置可以选择是否需要输入预算

Statistical records are identified by an Update Code.

       统计记录被一个更新代码识别

Different Statistical Parameters may be defined with the same Update Code, in which case their values will be combined in the same presentation.

       不同的统计参数可以指定为相同的更新代码,在这种情况下,他们的值将被合并,在相同的描述中

Statistical Parameters: Presentation  统计参数描述

Fields  字段:该窗口<字段>卡片中的<字段>子窗口

This defines the list of grouping ‘By’ fields/detail levels that will be used to accumulate values in the Statistical Parameter (e.g. Order amounts by Project and then by Customer).

       这个窗口用来进行统计分组定义的,比如销售订单金额按项目+客户分组统计。

       统计结果出来时,先看到的是项目汇总金额,向下挖掘,则看到该项目下不同客户的汇总情况。

 

Values  值:该窗口<字段>卡片中的<>子窗口

 

This is used to define values that will be used in the displayed columns. The information may come from Statistical Trigger variables (in that case the Variable column contains the variable name from the Statistical Trigger)

这个用来定义在统计中将要被被统计显示的列。通过右键可以选择变量,这些变量来自前面统计触发器中的变量定义,前面我们曾经提到过的。

Forecast enables the user to enter forecast values for the amount, in order to compare them to the actual values.

       如果预测列设置为“yes”,则允许用户输入预测,以便与实际数据比较

       预测录入也允许分层,例如以上面的例子来说,可以输入最底层,某个项目多个客户的预测值,当向上挖掘到项目时,则自动汇总该项目下所有客户的预测值。

       预测录入时还提供了简单的计算功能,如10%增长,取整为数,帮助你用现在的预测为基础,上调或下调预测值。

Columns   值:该窗口<高级>卡片中的<>子窗口

This defines actual columns that will be viewed in the Statistical Enquiry screens, using the variables defined in the Values section.

       这个窗口用来定义统计中显示出来的字段。

       描述部分是统计窗口中显示的标题,可以根据统计内容输入。

       公式列:通过右键选择字段。

最难理解的就是这里:在公式列点击右键弹出变量菜单。

       不知道,C1P1CC1PP1变量是从哪里来的。

       实际上C1P1CC1PP1这些变量名是自动产生的,产生的依据就是刚才<字段>卡片中的变量。

        假如只有一个变量,则只会产生C1变量,如果允许预测,则会产生P1变量,预测,CC1PP1等是系统自动产生,描述前期数据的(即上年同期)

如果有两个变量,则会产生C2变量,依此类推。

       然后你可以定义这些变量相互进行运算,如C1-P1,则是实际减预测。

 

The following syntax is used to reference variables in the Values section:

       这下面的语法被用来定义变量

Ci = Current period value, variable from line i in previous page.

   Ci:当前期值,来自<字段>卡片的变量行,

CCi = Previous period value (if two periods are compared).

       前期值(如果有两个期间被比较的话)

Pi = Forecast value, variable from line i in previous page.

       预测值,来自<字段>卡片的变量行

 

Ppi = Previous period value.

       前期预测值

 

Conditions  条件:

Conditions allow additional criteria to be entered for values to be taken into account, according to the context.

       允许定义附加条件,以便把这个值带到统计数据中,根据前后关系

Statistical Validation   统计审核

   菜单路径:功能-统计-统计审核

Statistics may be calculated:  统计可以通过下面手段被计算

 

In Real Time when the Statistical Trigger has been defined accordingly.

 

当统计触发器被定义为实时处理模式时,实时更新。如订单一录入就自动更新。

 

In Batch mode, via the Usage / Statistics / Statistical Validation function.

当统计触发器被定义为批处理模式时,可以通过下面路径的窗口被激活

 

       功能-统计-统计审核

 

Two calculation modes are possible when computing statistics in batch mode:

      

       统计审核(计算)时,你可以选择两种统计模式

Resynchronisation: Computes statistics (Over a period of time or since the last calculation date) after resetting all previously computed records over the same period.

       同步模式:计算统计(超过一个期间或者自从上次统计后开始统计),在重新设置所有的依前计算记录,在相同期间的情况。应该就是重新统计的意思。

Incremental: Does not reset previous records.

       增加的:不清原有统计记录,计算统计结果。也就是增量统计,可能要速度快点。

  

 

程序中翻译的是增加和恢复两种模式,如下图:

 

随机帮助如下:

       增加的:原有的统计记录不清零,重新计算统计结果

       恢复的(同步的):原有的统计记录清零,重新计算

查询和预测录入就非常简单啦,大家先自己用一下。前面也提到了一些。

返回列表