on ‎2016 Sep 05 4:37 PM
Dear All,
I urgently need help regarding an issue I have:
I have a default script logic that calls an account based rule (IFRS starter kit FLOW_CALC). I need the logic to run only when data with flow is F99 as i only need to calculate flow for BS accounts. However, the program seems to run at all times regardless of the flow in the data loaded via DM or excel input. As such, if i load P&L/BS data first, it goes in fine, but when i load the second set of data, the first set is zerorized even if i choose not to run defualt logic. I've tried using various filter options in the script to no avail. Please see my script below
*RUN_PROGRAM CALC_ACCOUNT
CATEGORY = %VERSION_SET%
CURRENCY = LC
TID_RA = %TIME_SET%
CALC=FLOW_CALC
OTHER = [FLOW=F99]
*ENDRUN_PROGRAM
I appreciate your help,
Regards,
Request clarification before answering.
Sorry, but not clear!
If you run CALC_ACCOUNT in default logic then it will run each time you sent data. If you want to perform some calculations only on sent data scope - use WHEN/ENDWHEN.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, but this is not possible in general! There is no conditional code execution, only some simulation.
Data can be submitted for different flows simultaneously! What to do in this case?
What to do if:
CURRENCY= EUR, FLOW=F99, SIGNEDDATA=Value1
CURRENCY= LC, FLOW=F01, SIGNEDDATA=Value2
Do you understand the issue?
Thanks Vadim,
Your suggestions made me realize I'd been looking at the wrong place.
The issue is not with the default logic or the program, but a bit of a mistake I made in executing the data import. I mistakenly chose the option to clear data in the same Entity, Time and category region. So each time data is loaded for the same region it clears whatever was there before.
Thanks for always been helpful.
Regards,
Seyi.
| User | Count |
|---|---|
| 17 | |
| 8 | |
| 7 | |
| 6 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.