on ‎2015 Oct 01 5:51 AM
Hello, colleguas!
We use Journal.lgf.
So, when we post the Journal, the logic runs and we see the right changes in data. But when we unpost the Journal, we see changes in data of journals restrictions only.The logic doesn't running for unpost of the journal. Is it correct work of journal.lgf?
What logic I can use to change data the way I need?
Best regads,
Thank you very much for your help,
Olga.
Request clarification before answering.
Hi Olga,
You have strange expectations
Journal.lgf, same as default.lgf work with values AFTER save to db!
If you want script to correctly work on unpost you have to use 3 accounts - not 2
Like: A,B,C and script will calculate C = B - A
*WHEN ACCOUNT
*IS A
*REC(EXPRESSION=[ACCOUNT].[B] - %VALUE%,ACCOUNT=C)
*ENDWHEN
*WHEN ACCOUNT
*IS B
*REC(EXPRESSION=%VALUE%-[ACCOUNT].[A],ACCOUNT=C)
*ENDWHEN
Vadim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 41 | |
| 4 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.