Dropship Purchase Orders can only be created by manually clicking the Drop Ship or Speclink on the line item of a Sales Order. A sample code snippet for creating it in SuiteScript 2.0 is provided below.
Author: Manikandan TM
PROPOSAL FOR CYCLE COUNT CREATION WITH BIN.
Proposal summary This proposal covers the scope of showing the items which have backorder is generated or the stock level hits zero from the prior day’s sales orders on the inventory count page. We will consider the bin numbered items in the inventory count record creation. Requirement Establishing daily cycle counts based on the following.… Continue reading PROPOSAL FOR CYCLE COUNT CREATION WITH BIN.
PROPOSAL FOR REMOVE THE CORRESPONDING PO AND ETA COLUMN VALUES FROM SALES ORDERS.
Proposal summary This is a proposal for removing the corresponding PO and ETA column value from the sales order. Requirement Determine which sales orders are included in the corresponding PO and make sure the committed quantity equals the order quantity. If the condition is met, remove the corresponding PO value and the estimated time of… Continue reading PROPOSAL FOR REMOVE THE CORRESPONDING PO AND ETA COLUMN VALUES FROM SALES ORDERS.
PROPOSAL FOR SENDING A NOTIFICATION WHEN SALES ORDER IS CANCELLED.
Proposal summary This proposal is for sending an email notification when a sales order is closed. Requirement When an order is canceled, both the sales rep and the customer should get an email notification. Email can be sent from customersupport@corpdesign.com The email message content: Dear customer, Please note that as per your request PO#___/SO#___ was… Continue reading PROPOSAL FOR SENDING A NOTIFICATION WHEN SALES ORDER IS CANCELLED.
Notify the purchase order quantity update by email.
Proposal Summary This proposal summarises the email notification of purchase order quantity value modifications. When a user or system changes the item quantity value in a purchase order item line, the system must be notified through email of the revised item data. Requirements Send an email to acknowledge the quantity update on the purchase order’s… Continue reading Notify the purchase order quantity update by email.
Adding currency symbol in advance PDF
Here I am adding the code for displaying currency symbols. value?string.currency Sample code Result $2.00
Drop-ship Purchase Orders.
Drop-ship Purchase Orders can only be created by manually clicking either the Drop Ship or Spec. Ord link on the Sales Order’s line item. Below is a sample code snippet to create it using SuiteScript 2.0. var salesOrderId = ‘12345’; var entityId = nlapiLookupField(‘salesorder’, salesOrderId, ‘entity’);var vendorId = ‘777’; var params = {‘recordmode’ : ‘dynamic’,‘soid’ :… Continue reading Drop-ship Purchase Orders.
PROPOSAL FOR UPDATING THE AUTOMATIC PURCHASE ORDER CREATION FUNCTIONALITY BASED ON THE ITEM’S PREFERRED VENDORS.
Proposal summary This proposal addresses the creation of automated purchase orders from sales orders based on the preferred vendor for the corresponding items. Requirement Change the CREATE PO to create POs based on preferred vendor instead of just ZT RMB vendor by default. So if SO has items for 3 different preferred vendors, it will… Continue reading PROPOSAL FOR UPDATING THE AUTOMATIC PURCHASE ORDER CREATION FUNCTIONALITY BASED ON THE ITEM’S PREFERRED VENDORS.
Get substring from a string using string index
This code snippet will assist you in obtaining a substring by utilising the built-in functionality of freemarker.
Is there a built-in in Freemarker that allows me to entirely remove HTML tags from a string?
You could use the Freemarker built-in string replace function with the “r” flag to enable regular expressions. Here’s a simple regexp that does the trick: ${page_title?replace(‘<[^>]+>’,”,’r’)} Note that if you use backslashes within the regular expression they must be escaped, as follows (contrived example that removes whitespace): ${page_title?replace(‘\s+’,”,’r’)}