Hi Gurus,
There are 12 records in the cube:
A1.111 | 2013.03 | DS1.811 | V1.BUDGET | E1.S000 | LC | F1.1006 | 28 095 |
A1.111 | 2013.03 | DS1.811 | V1.BUDGET | E1.S000 | LC | F1.1006 | 15 128 |
A1.111 | 2013.03 | DS1.811 | V1.BUDGET | E1.S000 | LC | F1.1006 | 8 233 |
A1.111 | 2013.03 | DS1.811 | V1.BUDGET | E1.S000 | LC | F1.1008 | 25 000 |
A1.111 | 2013.03 | DS1.811 | V1.BUDGET | E1.S000 | LC | F1.1008 | 13 462 |
A1.111 | 2013.03 | DS1.811 | V1.BUDGET | E1.S000 | LC | F1.1008 | 7 326 |
A1.111 | 2013.03 | DS1.811 | V1.BUDGET | E1.S000 | LC | F1.3001 | 179 101 |
A1.111 | 2013.03 | DS1.811 | V1.BUDGET | E1.S000 | LC | F1.3001 | 96 439 |
A1.111 | 2013.03 | DS1.811 | V1.BUDGET | E1.S000 | LC | F1.3001 | 52 484 |
A1.111 | 2013.03 | DS1.811 | V1.BUDGET | E1.S000 | LC | F1.3004 | 7 458 |
A1.111 | 2013.03 | DS1.811 | V1.BUDGET | E1.S000 | LC | F1.3004 | 4 016 |
A1.111 | 2013.03 | DS1.811 | V1.BUDGET | E1.S000 | LC | F1.3004 | 2 185 |
Then I run a following Logic scripts:
*XDIM_MEMBERSET VERSION = %VERSION_SET%
*XDIM_MEMBERSET TIME = 2013.03
*XDIM_MEMBERSET ENTITY = BAS(E1_UGE)
*XDIM_MEMBERSET RPTCURRENCY = LC
*XDIM_MEMBERSET CAR = CAR1_NA
*WHEN ACCOUNT
*IS BAS(A5.2)
*REC(FACTOR = 1, ACCOUNT = "A1.111", AUDITTRAIL = "DS1.811")
*REC(FACTOR = 1, ACCOUNT = "A1.5836", AUDITTRAIL = "DS1.811")
*ENDWHEN
After that 10 records were added in the cube: 10 correct records are blue and 2 wrong results are red.
They have to be as bold records in the bottom (8715 and 8815).
A1.111 | 2013.03 | DS1.811 | V1.BUDGET | E1.S000 | LC | F1.1002 | 7 882 |
A1.111 | 2013.03 | DS1.811 | V1.BUDGET | E1.S000 | LC | F1.1003 | 1 089 |
A1.111 | 2013.03 | DS1.811 | V1.BUDGET | E1.S000 | LC | F1.1006 | 28 095 |
A1.111 | 2013.03 | DS1.811 | V1.BUDGET | E1.S000 | LC | F1.1006 | 15 128 |
A1.111 | 2013.03 | DS1.811 | V1.BUDGET | E1.S000 | LC | F1.1006 | 8 233 |
A1.111 | 2013.03 | DS1.811 | V1.BUDGET | E1.S000 | LC | F1.1006 | -42 741 |
A1.111 | 2013.03 | DS1.811 | V1.BUDGET | E1.S000 | LC | F1.1007 | 1 365 |
A1.111 | 2013.03 | DS1.811 | V1.BUDGET | E1.S000 | LC | F1.1008 | 25 000 |
A1.111 | 2013.03 | DS1.811 | V1.BUDGET | E1.S000 | LC | F1.1008 | 13 462 |
A1.111 | 2013.03 | DS1.811 | V1.BUDGET | E1.S000 | LC | F1.1008 | 7 326 |
A1.111 | 2013.03 | DS1.811 | V1.BUDGET | E1.S000 | LC | F1.1008 | -36 973 |
A1.111 | 2013.03 | DS1.811 | V1.BUDGET | E1.S000 | LC | F1.3001 | 179 101 |
A1.111 | 2013.03 | DS1.811 | V1.BUDGET | E1.S000 | LC | F1.3001 | 96 439 |
A1.111 | 2013.03 | DS1.811 | V1.BUDGET | E1.S000 | LC | F1.3001 | 52 484 |
A1.111 | 2013.03 | DS1.811 | V1.BUDGET | E1.S000 | LC | F1.3004 | 7 458 |
A1.111 | 2013.03 | DS1.811 | V1.BUDGET | E1.S000 | LC | F1.3004 | 4 016 |
A1.111 | 2013.03 | DS1.811 | V1.BUDGET | E1.S000 | LC | F1.3004 | 2 185 |
A1.5836 | 2013.03 | DS1.811 | V1.BUDGET | E1.S000 | LC | F1.1002 | 7 882 |
A1.5836 | 2013.03 | DS1.811 | V1.BUDGET | E1.S000 | LC | F1.1003 | 1 089 |
A1.5836 | 2013.03 | DS1.811 | V1.BUDGET | E1.S000 | LC | F1.1006 | 8 715 |
A1.5836 | 2013.03 | DS1.811 | V1.BUDGET | E1.S000 | LC | F1.1007 | 1 365 |
A1.5836 | 2013.03 | DS1.811 | V1.BUDGET | E1.S000 | LC | F1.1008 | 8 815 |
I have found out that -42741 is equal to (28095 + 15128 + 8233)*-1 + 8715.
If I try to rec on different scope, for example AUDITTRAIL = "DS1.812", then results are completely right.
Is it bug or my mistake?
Looking forward to hearing from you,
Oleksandr