Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

OptionsCalculation
Budget

Allocated the full GL balance based on the selected calculation option of ulGLBudgetCalculationOption. The dashboard page "9) Budget overview" contains an overview of the budget table content and the calculations for allocating to Segments per calculation option.

It calculates the % of the grand total of the selection option as a percentage to use for the expenditure allocation.

Note that this option is not available for production/line based expenditure

Direct

Allocated the full GL balance to the indicated Segment. The segment to allocate to is specified in the UDF ucGLChannelSegment (segment relates expenditure) or ucGLLineSegment (production line based expenditure) . Thevalue inside these fields should be build as followed two examples:

Line/Segmentoutcome
KA-100100% of the balance will be allocated to KA segment
L1-50;L2-5050% of the balance will be allocated to L1 segment and 50% to L2
Litre

Allocated the full GL balance based on the percentage litres sold per segment for the selected period.

Based on the SalesRep.Address3 field Sales is allocated to a specific segment. Based on this field a % of total is calculated per segment. These percentages are available in the page "10) Sales & Production overview"


Example calculation




Expense GL Balance1,000
Total litres sold2,500
Sales litres per segmentQtyPercentage
KA1,00040%
DT2008%
BPlus80032%
Horeca50020%

2,500100%



Cost per segments:

KA400
DT80
BPlus320
Horeca200



Note that Logistics requires an additional value in the UDF ulGLWarehouse : SDW;SDWII;Both

Based on the selected option it includes/exclude sales made via the SDW or SDWII in the percentage of total litres/packs sold.

This field corresponds with the value SalesRep.Bank_Account on the invoice.


PacksSame as litres, however it looks at packs sold instead of Litres sold.
Pcs

Allocated the full GL balance based on the percentage of pcs manufactured per line for the selected period.


Example calculation




Balance on GL expense account7,500
Total Qty produced for period5,000
Selected Line. (in UDF)Should be set to all



Qty per line

L1                            1,300.0026%
L2                               600.0012%
Cup                            1,200.0024%
Glass                            1,900.0038%

5,000100%



Cost per line

L11950
L2900
Cup1800
Glass2850

7500



Currently Note only available in Production/line option

...

All invoices are linked to a Salesrep. The Address3 field determines to what segment the sales is considered.




Sage data

All data is loaded via a SQL connection with views/functions to calculate the figure.

GL Balance

The Sage GL balances are calculated by summing all transactions per GL account per financial period. These balances will correspond with an user running a Trial balance from the Sage UI.

Sales data

The Sales is loaded into the report consolidated per day, meaning it is not available per invoice (this to lower the amount of data to compute in the report). This information is however available in the "Sales detail" Dashboard.

Sales consists of archived documents of the type: Case invoice (0), Credit note (1) and Sales Order (4)

Only the lines that contain stock items of the type "Rayyan" and "Private label" are loaded in the data. 

Manufacture data

The manufacture data is loaded per manufacture transaction. Only the manufactures that contain a value on the UDF ulMANULineSegment and which are processed are loaded into the report.



Pages

1) Production expenses

...