Показать сообщение отдельно
Старый 06.11.2012, 08:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,644 / 848 (80) +++++++
Регистрация: 28.10.2006
Malaysia: Using a normal table as a temporary table
Источник: http://axmas.blogspot.com/2012/11/us...ary-table.html
==============



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));
}
}



Источник: http://axmas.blogspot.com/2012/11/us...ary-table.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.