A developer is asked to periodically create a CSV file in a WebDAV folder to hold the orders information of the last 30 days.
What are the appropriate actions to implement such a requirement?
Correct Answer: A
This is a scheduled batch-processing requirement and therefore belongs in the B2C CommerceJob Framework. The developer should implement a custom job step, define its step type, and provide the corresponding CommonJS script that obtains order information, writes the CSV file, and stores the output in the required WebDAV location.
A custom job step can then be included in a Business Manager job and scheduled at the required interval. The script can use B2C Commerce APIs such as OrderMgr for order retrieval and file/CSV APIs for output generation. The job framework also provides status handling, execution history, step transitions, and operational monitoring, making it the appropriate architecture for periodic exports.
Option B is invalid because Business Manager does not use Unixcroncommands as the mechanism for storefront application scheduling. Scheduling is managed through B2C Commerce Jobs. Option C is unrelated: OCAPI provides external API access and the Customers resource would not be the correct architecture for periodic server-side order exports.
Study Guide reference:Application Development - Job Framework, custom job steps,steptypes.json, CommonJS job scripts, CSV exports, and WebDAV file processing.