This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
An import receives an item number, a fixed review priority, and a review date as text. Which declarations best represent the values after parsing?
Use Code[20] for the item number, an enum for review priority, and Date for the review date.
Code[20]
Date
Keep all three values in global Text variables so every procedure can reuse them.
Text
Use Integer for the item number, Boolean for priority, and Text for the date.
Integer
Boolean
An extension needs one stable import procedure, while its CSV parsing helpers may change. How should the developer define the access boundary?
Expose the stable procedure through a public façade and keep the implementation codeunit internal with local helpers.
Make every helper public so dependent extensions can call any parsing step.
Mark the façade local and use permissions to let dependent extensions call it.
An import must update a field whose table validation maintains related values. Which record operation preserves that behavior?
Call Validate with the new field value, and then call Modify(true) on the record.
Validate
Modify(true)
Assign the field directly, and call Modify(false) to avoid all table code.
Modify(false)
Change the page control value because page validation protects every integration.
A browser upload contains independent CSV rows. The import should continue after malformed rows without risking partial writes inside its error boundary. Which design is appropriate?
Upload into an InStream, parse with a supported API, use a write-free try method for row validation, and update records only after validation succeeds.
InStream
Read a service-tier file path, update the record inside the try method, and assume a caught error rolls back the update.
Convert the entire upload to one text value and stop on the first row that contains an invalid date.
You must answer all questions before checking your work.
Was this page helpful?
Need help with this topic?
Want to try using Ask Learn to clarify or guide you through this topic?