Attribute Tags for Use in Email Messages
Attribute tags are not supported in System Email Templates.
You can use the NetSuite attribute tags to include information from sales orders in email messages sent to your customers. Use the following structure for your tag:
<%=getCurrentAttribute("salesorder","field")%>
Replace the word field with a Field Internal ID from the list in the table below. For example, include the estimated ship date of the order in the email message by using the following attribute tag:
<%=getCurrentAttribute("salesorder","shipdate")%>
The same structure works for both the fulfillment email and the order received email. The fields exposed by attribute tags come from the original sales order form associated with the transaction.
The table below lists common fields available for use with attribute tags.
Field Internal ID |
Field UI Label |
---|---|
actualshipdate |
Actual Ship Date |
balance |
Balance |
billaddress |
Bill To |
entity |
Entity |
giftcert |
Gift Certificate |
orderstatus |
Order Status |
otherrefnum |
P.O. number |
paymentmethod |
Pymt. Method |
paypaltranid |
PayPal Tran. ID |
salesrep |
Sales Rep |
shipaddress |
Ship To |
shipdate |
Estimated Ship Date |
shipmethod |
Shipping Method |
shippingcost |
Shipping Cost |
subsidiary |
Subsidiary |
taxrate |
Tax Rate |
taxtotal |
Tax Total |
terms |
Terms |
total |
Total |
trandate |
Date |
tranid |
Doc. No. |