TransactionName
PowerServer will use the transaction object name to map with the
database cache name. But when the transaction object is defined as an
argument of a function, as shown below, PowerServer will get a
different transaction name from PowerBuilder.

|
1 2 3 |
transaction ltr_tmp ltr_tmp = create transaction gnv_manager.of_connect(ltr_tmp,"qa_datawindow") |
-
PowerBuilder will get ltr_tmp as the
transaction object name.For example,
12dw_1.settransobject(ltr_tmp)dw_1.retrieve() -
PowerServer will get atr_transobject as
the transaction object name.
Defining the transaction object as an instance variable or
global variable can ensure PowerBuilder and PowerServer get the same
transaction object name.
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest