Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 143529

table CustTable update() and additional actions

$
0
0

Hi,


While updating some custome field (MyField - a ref AccountNum) in CustTable I need change values in other records same table and same field. It's a correct way - I mean especially declaration variable custTable inside method and using update_recordset?



void update(boolean _updateSmmBusRelTable = true, boolean _updateParty = true)
{
CustTable   this_Orig = this.orig();
CustTable       custTable;
(...)
if (this.MyField != this_Orig.MyField)
{
update_recordSet custTable setting
            MyField = this.MyField
            where custTable.MyField == this.AccountNum
                && custTable.AccountNum != this.AccountNum;
}
}


Viewing all articles
Browse latest Browse all 143529

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>