Q
You are working on a finance and operations app. You have a custom table called BankCheque with two fields BankAccount and CheckNo.
You need to run a user interface-driven process to add 100 new check numbers, starting from 10000, by using the sandbox framework without freezing the web client.
You need to marshal the state of the current instance to the new instance.
Which method should you use?
Question Info
Choose the Best Option
Click any option to instantly check if you're correct.
Explanation
Option A is correct because the pack()/unpack() method is used to marshal the state of the current instance to the new instance prior to starting the run() method. Option B is incorrect because the run() method is used to start the process, not to marshal the state. Option C is incorrect because the AsyncInfo() method is used to run a synchronous operation on the asynchronous session, not to marshal the state. Option D is incorrect because callStaticMethod() is used to run the AsyncInfo static method by using the sandbox framework, not to marshal the state.
Implement the SysOperationSandbox framework - Training | Microsoft Learn
The user interface - Training | Microsoft Learn
Use X++ runtime functions for common tasks - Training | Microsoft Learn
Want to remember what you got wrong?
Create a free account in seconds to track your score, revisit mistakes and continue X++ Programming Language where you left off.
- Save your progress & streak
- Topic-wise quizzes & scores
- Bookmark tricky questions
- Printable MCQ sets
Nice — 3 questions done!
Don't lose this streak. Sign up free to save your score and pick up exactly where you stopped.
Share This Question
Challenge a friend or share with your study group.