You are writing an X++ method to delete a SalesLine record. You need to ensure that the call to the delete() method succeeds. Which two criteria must be met to accomplish this goal? Each correct answer presents part of the solution.

A. The record to delete must have been read from the database using the forupdate keyword in a select statement.
B. The dispose() method must be called after the delete() method is called.
C. The delete() method must be called inside a transaction by using the ttsbegin and ttscommit statements.
D. The dodelete() method must be used in this case in order to validate the record deletion.

  Discussion forum

Question
0

Leave an answer