(RUS) Set up the functions directory for electronic reporting

Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2

You can use the functions directory to create and update functional queries, which are used to calculate requisites based on data from databases. You can use configured functions to create values for fixed requisites.

The fixed requisite values are calculated based on the operator and line type that are selected in the Operator and Line type fields in the Query function setup form. For a Constant line type, when you create two consecutive lines that have numeric values, an arithmetic operation is performed, and the value is displayed in the cell. If one of the lines is a string, a line is created.

Example

For the values in the following table, the following line is created: 2500Rubles500Rubles900Rubles.

Operator

Line type

Data

+

Constant

50

*

Constant

50

/

Constant

Rubles

+

Constant

500

+

Constant

Rubles

+

Constant

300

*

Constant

3

+

Constant

Rubles

Use the following procedure to set up the functions directory for electronic reporting.

  1. Click General ledger > Setup > Financial reports generator > Functions.

  2. Click New, and then in the Function and Name fields, enter an identification number and a name for the function.

  3. Click Setup, and then click New to create a query function.

  4. In the Operator field, select the mathematical sign to apply to the requisite value.

    备注

    The Operator field is used to set up the mathematical sign for the amount that is applied to the requisite value. The mathematical sign that you select in this field is also used when you set up multi-line composite vouchers. The Credit balance, Credit activity, and Turnover in correspondence credit voucher types use a minus sign (-).

  5. In the Line type field, select the data source that is used to calculate the requisite value.

  6. On the Type of transactions tab, do the following:

    • In the Type of operation field, select the type of operation. For more information, see (RUS) Query function setup (form).

    • In the Balance type field, select a balance type.

      备注

      This field is available only if you select Balance, Credit balance, Debit balance, Active balance (debit), or Passive balance (credit) in the Type of operation field.

    • In the Period field, select the voucher calculation period.

    • In the Account interval and Account fields, select whether the mathematical operator is applied to an Account or an Interval, and an account number.

      备注

      The Account field is available only if you select Account in the Account interval field.

    • In the Offset interval field, select whether an Account or Interval is offset.

      备注

      This field is available only if you select Turnover in correspondence, Turnover in correspondence credit, or Turnover in correspondence debit in the Type of operation field.

    • In the Offset account field, select an account number.

      备注

      This field is available only if you select Account in the Offset interval field.

    • In the Transaction usage field, select the rule for calculating the requisite value.

  7. On the Operations/Tax tab, press CTRL+N to create a line, and then in the Posting layer field, select the posting layer that has transactions to include on the report.

  8. On the Type of operation tab, press CTRL+N to create a line, and then in the Transaction type field, select a transaction type.

  9. On the Financial dimensions tab, do the following:

    • Click Add to create a line, and then the Reference field, select a dimension type.

    • In the From and To fields, select the starting and ending codes for the dimension range for the transactions that are included on the report.

  10. Do the following on the other tabs:

    • On the Budget tab, in the Budget model field, select a budget model number.

      备注

      This tab is available only if you select Budget in the Line type field.

    • On the Tax registers tab, in the Register code and Register field fields, select a register number and a field. The data from the register field is used as the cell value.

      备注

      This tab is available only if you select Register in the Line type field.

    • On the Constant tab, in the Data field, enter the value that is used in the calculation. The constant value can be a number or a line.

      备注

      This tab is available only if you select Constant in the Line type field.

    • On the Contractor tab, in the Balance detail field, select an option to indicate whether the balance is from a document, agreement, or contractor.

      备注

      This tab is available only if you select Contractor in the Line type field.

    • On the Requisite tab, in the Fixed requisite field, select a requisite for the report.

      备注

      This tab is available only if you select Fixed requisite in the Line type field.

  11. If you selected Interval in the Account interval or Offset interval field, do the following to indicate the account interval for the cell.

    • Click Setup > Account interval.

    • Press CTRL+N to create a line, and then in the From and To fields on the Account interval and/or Offset interval tab, select the starting and ending ledger account numbers that are used in the calculation. Close the form.

  12. If you selected Function query in the Line type field, click Edit the query to open the Query wizard form. You can use this form to set up query parameters to calculate cell values.

    备注

    The Edit the query button is available only if you select Function query in the Line type field.

After you create the lines, you can arrange them in the correct order. Select a line, and then click Up or Down to move the selected line one position up or down.

See also

(RUS) Functions (form)

(RUS) Query function setup (form)

(EEUR) Account interval (form)

(EEUR) Query wizard (form)