JohnDanter2
VIP Member
Hi folks
E1 have given us a lovely UDC (00|RF) and a lovely little BSFN B0998610. This will auto refesh cache for a given database table/s if setup in said UDC.
Some APPLs call the BSFN on the way in and then again on the way out
Example code from P0008
I've had an idea of making this work via an auto firing orchestration, attached to Dialog Is Initialised (step 1) and again on End Dialog (step 2)
My question is, how would I add this to my own orchestration and use a variable returned from step 1 in step 2
Or should I just create 1 orchestration that calls both the BSFNs on the way out of a form?
Thanks
John
E1 have given us a lovely UDC (00|RF) and a lovely little BSFN B0998610. This will auto refesh cache for a given database table/s if setup in said UDC.
Some APPLs call the BSFN on the way in and then again on the way out
Example code from P0008
Code:
Form: Work With Fiscal Date Patterns - W0008B
Event: Post Dialog is Initialized
00002 -IsClearTableCacheEnabled_09(B0998610.IsClearTableCacheEnabled_09)
"P0008" -> szApplicationName [OBNM]
VA frm_cClearTblCacheEnabled_EV01 [EV01] <- cClearTableEnabled [EV01]
Form: Work With Fiscal Date Patterns - W0008B
Event: End Dialog
00002 -If VA frm_cClearTblCacheEnabled_EV01 [EV01] is equal to ("1","2")
And VA frm_cUpdateOccurred_EV01 [EV01] is equal to "1"
00003 | -ClearTableCache_09(B0998610.ClearTableCache_09)
| "F0008" -> szTableName [OBNM]
| "P0008" -> szApplicationName [OBNM]
00004 End If
I've had an idea of making this work via an auto firing orchestration, attached to Dialog Is Initialised (step 1) and again on End Dialog (step 2)
My question is, how would I add this to my own orchestration and use a variable returned from step 1 in step 2
Or should I just create 1 orchestration that calls both the BSFNs on the way out of a form?
Thanks
John