{"id":6117,"date":"2017-12-29T23:51:16","date_gmt":"2017-12-29T23:51:16","guid":{"rendered":"https:\/\/alt2.minisoft.com\/support\/?p=6117"},"modified":"2017-12-29T23:51:16","modified_gmt":"2017-12-29T23:51:16","slug":"adding-custom-field-to-netsuite-sales-order-line","status":"publish","type":"post","link":"https:\/\/www.minisoft.com\/support\/adding-custom-field-to-netsuite-sales-order-line\/","title":{"rendered":"Adding Custom Field to NetSuite Sales Order Line"},"content":{"rendered":"<p>NetSuite allows custom fields to be added to nearly every object type, such as sales order, sales order line, item, and much more. Here we will show how to add a custom field to the Sales Order Line details.<\/p>\n<ol>\n<li data-aria-posinset=\"1\" data-aria-level=\"2\">Log in to your NetSuite account.<\/li>\n<li data-aria-posinset=\"2\" data-aria-level=\"2\">Navigate the following menu command:<br \/>\nCustomization &gt; List, Records, &amp; Fields &gt;Transaction Column Fields &gt; New<\/li>\n<li data-aria-posinset=\"3\" data-aria-level=\"2\">Enter a Label, the text identifying the field to the user. &#8220;Sample Checkbox&#8221; for this example.<\/li>\n<li data-aria-posinset=\"4\" data-aria-level=\"2\">Enter the ID, which will be appended to &#8220;custcol&#8221; to identify the field in Web Service transactions. &#8220;_sample_checkbox&#8221; in this example, for a real ID of custcol_sample_checkbox.<\/li>\n<li data-aria-posinset=\"5\" data-aria-level=\"2\">Enter a Description that helps someone understand what this field is, why it exists, and how to use it.<\/li>\n<li data-aria-posinset=\"6\" data-aria-level=\"2\">Choose the Type from the dropdown list. &#8220;Check Box&#8221; in this example.<\/li>\n<li data-aria-posinset=\"7\" data-aria-level=\"2\">On the &#8220;Applies To&#8221; tab at the bottom, click the checkboxes for the document types to which this field will be added. &#8220;Sale Item&#8221; and &#8220;Item Fulfillment&#8221; in this example. Also click other checkboxes for desired behaviors. We will check &#8220;Print on Picking Ticket&#8221; and &#8220;Print on Packing Slip&#8221;.<\/li>\n<li data-aria-posinset=\"8\" data-aria-level=\"2\">On the &#8220;Display&#8221; tab, choose where to insert this field if that matters to you, and type help text for the field (not sure where this is displayed).<\/li>\n<li data-aria-posinset=\"9\" data-aria-level=\"2\">On the &#8220;Validation &amp; Defaulting&#8221; tab, select any options that you wish. They will differ depending on the Type you selected for the field.<\/li>\n<li data-aria-posinset=\"10\" data-aria-level=\"2\">On the Translation tab, you can enter other translations of the Label and Help text for the Field.<\/li>\n<li data-aria-posinset=\"11\" data-aria-level=\"2\">Click the Save button to add the field.<\/li>\n<\/ol>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/NS1.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-large wp-image-6118\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/NS1-1024x636.png\" alt=\"\" width=\"1000\" height=\"621\" srcset=\"https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/NS1-1024x636.png 1024w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/NS1-300x186.png 300w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/NS1-768x477.png 768w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/NS1-150x93.png 150w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/NS1-250x155.png 250w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/NS1-550x342.png 550w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/NS1-800x497.png 800w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/NS1-290x180.png 290w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/NS1-483x300.png 483w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/NS1-805x500.png 805w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/NS1.png 1085w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><\/a><\/p>\n<p><span class=\"TextRun SCXO33544696\" lang=\"EN-US\" xml:lang=\"EN-US\"><span class=\"NormalTextRun SCXO33544696\">Now you can view an order to see the new checkbox in the lines. Here is order SLS00000297:<\/span><\/span><span class=\"EOP SCXO33544696\">\u00a0<\/span><\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/NS2.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-6119\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/NS2.png\" alt=\"\" width=\"289\" height=\"112\" srcset=\"https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/NS2.png 289w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/NS2-150x58.png 150w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/NS2-250x97.png 250w\" sizes=\"(max-width: 289px) 100vw, 289px\" \/><\/a><\/p>\n<p><span class=\"TextRun SCXO216744571\" lang=\"EN-US\" xml:lang=\"EN-US\"><span class=\"NormalTextRun SCXO216744571\">Scroll to the Lines information at the bottom, then scroll to the right side of the line data to see the new Sample Checkbox field:<\/span><\/span><span class=\"EOP SCXO216744571\">\u00a0<\/span><\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/NS3.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-6120\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/NS3.png\" alt=\"\" width=\"234\" height=\"213\" srcset=\"https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/NS3.png 234w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/NS3-150x137.png 150w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/NS3-198x180.png 198w\" sizes=\"(max-width: 234px) 100vw, 234px\" \/><\/a><\/p>\n<p><span class=\"TextRun SCXO18312463\" lang=\"EN-US\" xml:lang=\"EN-US\"><span class=\"NormalTextRun SCXO18312463\">If you edit the record, you can see what the field looks like in edit mode:<\/span><\/span><span class=\"EOP SCXO18312463\">\u00a0<\/span><\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/NS4.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-6121\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/NS4.png\" alt=\"\" width=\"200\" height=\"90\" srcset=\"https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/NS4.png 200w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/NS4-150x68.png 150w\" sizes=\"(max-width: 200px) 100vw, 200px\" \/><\/a><\/p>\n<p><span class=\"TextRun SCXO63318223\" lang=\"EN-US\" xml:lang=\"EN-US\"><span class=\"NormalTextRun SCXO63318223\">And after you check it and save the record, you can see that &#8220;Yes&#8221; indicates a checked state, and blank is unchecked.<\/span><\/span><span class=\"EOP SCXO63318223\">\u00a0<\/span><\/p>\n<p><a href=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/NS5.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-6122\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/NS5.png\" alt=\"\" width=\"209\" height=\"85\" srcset=\"https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/NS5.png 209w, https:\/\/www.minisoft.com\/support\/wp-content\/uploads\/2017\/12\/NS5-150x61.png 150w\" sizes=\"(max-width: 209px) 100vw, 209px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>NetSuite allows custom fields to be added to nearly every object type, such as sales order, sales order line, item, and much more. Here we will show how to add a custom field to the Sales Order Line details. Log in to your NetSuite account. Navigate the following menu command: Customization &gt; List, Records, &amp; [&hellip;]<\/p>\n","protected":false},"author":75,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[106],"tags":[107,125],"_links":{"self":[{"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/6117"}],"collection":[{"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/users\/75"}],"replies":[{"embeddable":true,"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/comments?post=6117"}],"version-history":[{"count":1,"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/6117\/revisions"}],"predecessor-version":[{"id":6123,"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/6117\/revisions\/6123"}],"wp:attachment":[{"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/media?parent=6117"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/categories?post=6117"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.minisoft.com\/support\/wp-json\/wp\/v2\/tags?post=6117"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}