This script supports revenue recognition review for Item Receipt records. It reads setup fields, applies validation, and updates process status when records meet the configured conditions.
Behavior
Reads the current record and related configuration fields.
Validates the record against the process rules documented on this page.
Updates status, queue, or review fields used by saved searches and workflows.
Logs skipped records with enough detail for support review.
Runtime and deployment
Area
Setting
Script type
Suitelet
Deployed to
Item Receipt
Status
Released
Log level
Audit
Operational notes
Review linked fields and searches before changing this script.
Test with a small set of records before enabling broad changes.
Check execution logs after deployment changes.
CSDocs Script Source
/** * @NApiVersion 2.x * @NScriptType Suitelet * @author Alex Morgan */define(["N/record", "N/search", "N/log"], function (record, search, log) { function revenueRecognitionReview(context) { var recordType = "itemreceipt" var project = "Demo Core Utilities" log.audit({ title: project, details: "Demo processing for " + recordType }) return true } return { execute: revenueRecognitionReview, beforeSubmit: revenueRecognitionReview, onRequest: revenueRecognitionReview, }})
Related configuration
This object references:
Demo Core Utilities - connected through the revenue recognition review process.
item-receipt - connected through the revenue recognition review process.