Announcements
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;
}
André Arnaud de Cal... 291,359 Super User 2024 Season 2
Martin Dráb 230,370 Most Valuable Professional
nmaenpaa 101,156