AXForum  
Вернуться   AXForum > Microsoft Dynamics CRM > Dynamics CRM: Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 12.10.2012, 13:12   #1  
Blog bot is offline
Blog bot
Участник
 
25,644 / 848 (80) +++++++
Регистрация: 28.10.2006
Another version of my multiple choice question I posed here.

Given:

Codeunit 50000:
OnRun()
Cust.INIT;
Cust.INSERT;
Cust.INSERT; // This duplicate stament has been put here intentionally

Codeunit 50001:
OnRun()
IF CODEUNIT.RUN(50000) THEN
MESSAGE('OK')
ELSE
MESSAGE('LASTERRORTEXT: %1', GETLASTERRORTEXT);

Which error/message will occur when codeunit 50001 is being executed?
  1. 'OK'
  2. 'LASTERRORTEXT: The Customer already exists. Identification fields and values: No.='''
  3. 'The Customer already exists. Identification fields and values: No.='''
  4. none
Note
  • Variable Cust in codeunit 50000 is linked to the Customer table.
  • As before of course you're free to test it in NAV, but first give it a try "from the bare head".


Читать дальше
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 


Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 14:11.