To fetch the subsidiary address field in the Packing slip PDF, we can use the “subsidiary.mainaddress_text” where the mainaddress_text is the internal id of the address field in Subsidiary record. On saving the Advance PDF template, an error will be thrown but proceeding with Save will fetch the value properly in the PDF.
Category: Advanced PDF Templates
Advanced PDF Templates designs – PDF samples and xml codes
EDIT PDF LAYOUT
The width of the columns in PDF Layout of a form can be adjusted by customizing the form. CUSTOMIZE> CUSTOMIZE FORM> PRINTED FIELDS> COLUMNS Here we can choose different fields want to be included in the column of PDF Layout. Width and label of the column for that field can be adjusted there. If we… Continue reading EDIT PDF LAYOUT
Serial Number of Inventory Detail
Refer the following sample code for fetching the serial number from inventory details into advanced PDF template
Display the Item line in the same order of IF screen
Remove picked/packed items from the Picking ticket
//info: CDUS-1825 We have a requirement where the client only wants the items that have not yet been picked/picked to be printed on the picking ticket. In the normal functionality of NetSuite, only after item fulfillment or the item is shipped, the item will be removed in the picking ticket print which is available under… Continue reading Remove picked/packed items from the Picking ticket
Quantity Back Ordered from a Sales Order on a Packing Slip using an Advanced PDF/HTML Template
Quantity (Sales Order): soline.quantityorderedQuantity Backordered(Sales Order): soline.quantityordered-soline.quantity
Adding condition in Email template
We have met a scenario where we need to take the difference between two field and convert that answer in to 2 decimal points Here the two field are ‘transaction.shippingcost’ and ‘transaction.custbody_srtipesubtotal’. So taking the difference between these fields and assigning that two a variable ‘shippingcostvalue’ .Then checking whether the variable ‘shippingcostvalue’ has content. If… Continue reading Adding condition in Email template
Change Company Logo Size for Transaction Form PDF Layouts
When printing Transaction Forms, User wants to change the Size of the Company Logo on the Printed Transactions. Upon checking the Custom Transaction Form, they are using Basic Type Printing. Solution: Navigate to Setup > Company > Printing & fax (under Preferences Section) Click Printing subtab Locate PDFs Section Locate Logo Scaling Factor Change value as necessary Click Save
Populate Image from custom field into Advanced PDF Template
To populate image from custom body field into Advanced PDF template, refer following sample
Transaction Email Attachment Format impact in Email Template
//Info: APPN-2028 After updating the Advanced Pdf templates, we need to set this in Transaction forms to preview the result in Associated Prints.If we want the same print as the Email attachment, we usually select the same template in the Email template section. But, Is the issue solved..? The answer is No! We need to… Continue reading Transaction Email Attachment Format impact in Email Template