How To Set the value of a custom transaction body field on the order

To use this method, pass in an object that contains the field ID, its type, and the value you want to set.var cart = container.getComponent(‘Cart’);var data = {fieldId: “custbody_customerref”,type: “string”,value: “C123456”} cart.setTransactionBodyField(data).then(function() {console.log(data.fieldId + ‘ was set to ‘ + data.value);}).fail(function(error) {console.log(‘setTransactionBodyField failed.’);});

PROPOSAL TO ADD WISHLIST IN PLP PAGE

This proposal covers both the functional and UI development for adding Wishlist to PLPpage in SCA webstore for Point Australia website. Requirement Website URL: https://www.pointaustralia.com.au/ Customers need to add items to the Wishlist from the PLP page itself. Show a hearticon below the item image. Update the color to match the website theme. Onclicking on… Continue reading PROPOSAL TO ADD WISHLIST IN PLP PAGE

How to create workflow to send email upon order approval for orders from webstore?

Created a work flow and give the basic details name,idSelect record type as transaction and sub type as sales order.Event type as Approve.Here we want to set context as user interface and we need to check whether this order is created from website. for this we give condition whether that sales order source the the… Continue reading How to create workflow to send email upon order approval for orders from webstore?

how to create workflow to send email upon order creation from webstore

Created a work flow and give the basic details name,idSelect record type as transaction and sub type as sales order.Here we want to set context as webstore then this work flow triggered only when an order created from webstore. Work flow action we can give condition here.   Here we give condition for customers from Australian… Continue reading how to create workflow to send email upon order creation from webstore

Use nlapiTriggerWorkflow to Trigger a Transition Based on the Click of a Button

Use the nlapiTriggerWorkflow SuiteScript API to trigger a Workflow that is currently running on a record. Solution Create WorkFlowNavigate to Customization > Workflow > Workflows > NewBasic Information:Name: Enter Customer – nlapiTriggerWorkFlowRecord Type: Select CustomerSub Types: Select CustomerExecute As Admin: Enter CheckmarkRelease Status: Select ReleasedInitiation: Select Event BasedEvent Definition:On Create: Enter CheckmarkTrigger Type: Select Before… Continue reading Use nlapiTriggerWorkflow to Trigger a Transition Based on the Click of a Button