Proposal Summary This proposal outlines the customization and automation requirements to streamline their Return Authorization (RMA) process within NetSuite. The client seeks to automate the creation of Item Receipts and Credit Memos from Return Authorizations (RAs) by introducing a custom button that, when clicked, performs these actions based on the provided RMA data. The… Continue reading Proposal for Automating Item Receipts and Credit Memos from Return Authorizations
Tag: Create item receipt
Create Item Receipt for a Purchase Order from a payload that contains respective item details.
Let the variable requestBody contains the payload. Sample payload. { “purchaseOrderPONumber”: “65416981”, “item”: { “items”: [ { “itemId”: “114579”,//item internal id “line”:”1″, “quantity”: “99”, “rate”: “1.00” } … Continue reading Create Item Receipt for a Purchase Order from a payload that contains respective item details.
Transforming transfer order based on item fulfillment
/** * * @param docNum * @param IFDetails * @param ifInternalId * @return {*|number} */ function IRcreation(docNum, IFDetails, ifInternalId) { try { let trecord = record.transform({ fromType: record.Type.TRANSFER_ORDER, fromId: docNum, toType: record.Type.ITEM_RECEIPT, isDynamic: true, defaultValues: {‘itemfulfillment’: ifInternalId.toString()} }); let itemCount = trecord.getLineCount({sublistId: ‘item’}); log.debug(‘in itemCount’, itemCount); for (let i = 0; i < itemCount; i++)… Continue reading Transforming transfer order based on item fulfillment