internal final class TestUpdateRecordSet
{
/// <summary>
/// Class entry point. The system will call this method when a designated menu
/// is selected or when execution starts and this class is set as the startup class.
/// </summary>
/// <param name = "_args">The specified arguments.</param>
public static void main(Args _args)
{
Query q = new Query();
QueryBuildDataSource qbds = q.addDataSource(tableNum(InventTable));
qbds.addRange(fieldNum(InventTable, ItemId)).value("020061253001");
Map fieldMap = new Map(Types::String, Types::String);
fieldMap.insert(fieldStr(InventTable, NetWeight), any2Str("105"));
Query::update_recordset(fieldMap, q, true, true, true);
}
}
static void Job340(Args _args)
{
InventTable inventTable;
inventTable.skipDataMethods(true);
inventTable.skipDatabaseLog(true);
inventTable.skipEvents(true);
update_recordSet inventTable
setting netWeight = 10;
}
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,900 Super User 2024 Season 2
Martin Dráb 229,275 Most Valuable Professional
nmaenpaa 101,156