Question Replacement for global_reference in Dynamic browse

Ariharan

New Member
Program functionality:
I have dynamic browse program which will fetch data from QAD table/tables and update the values to the customerized xxusrw_wkfl table with xxusrw_wkfl.xxusrw_session = global_ref. (where global_ref = "xxshipbr" + string(year(today),"9999") + string(month(today),"99") + string(day(today),"99") + string(time). which is assigned before in this program). Then a static browse is created for xxusrw_wkfl with filter condition as xxusrw_global = global_domain and xxusrw_session = global_ref.
Issue with global_ref:
Whenever shipper or pre-shipper is created and keeping the dynamic browse program opened, the global_ref value is reseted in the browse and not in the program. So Browse is displayed with no data in it when we re-run the opened dynamic browse again but program is able to update the required data with correct xxusrw_session variable without any issue. When we re-opened the same dynamic browse program and run the report again, QAD is able to displayed the browse without any issue.
Question:
do we have any replacement for global_ref variable for solving this issue.

Waiting for your reply.

Regards,
Ariharan
 
Top