class VendTableTmp
{
}
server static void main(Args _args)
{
VendTable vendTable;
vendTable.setTmp();
vendTable.AccountNum = '1000';
vendTable.Blocked = CustVendorBlocked::No;
vendTable.Party = 1;
vendTable.doInsert();
vendTable.clear();
vendTable.AccountNum = '1002';
vendTable.Blocked = CustVendorBlocked::All;
vendTable.Party = 2;
vendTable.doInsert();
while select vendTable
{
info(strFmt( "%1 - %2", vendTable.AccountNum, vendTable.Blocked));
}
}
No comments:
Post a Comment