X++:
static void Job26(Args _args)
{
CustTable custTable;
Name name1 = '';
Name name2 = 'альфа'
;
// выводит весь список клиентов
while select * from custTable
where (!name1 || custTable.Name == name1)
{
info (custTable.Name);
}
// выводит только клиента 'альфа'
while select * from custTable
where (!name2 || custTable.Name == name2)
{
info (custTable.Name);
}
}