I am trying to create an SO using restlet in Netsuite. The question that I have is when the item is an itemgroup, how do i pass the json so that the restlet can customize the price level etc for children elements of the group.
Currently if I pass the parrent, the child items automatically get passed in the SO that is created via restlet. Here unfortunately I can only control the Quantity and not price level.
Is there a way so that I can pass( from different endpoint) Json to the restlet so that It can create the SO with all the right pricing for ItemGroup?
Thanks in Advance.
I don't think you can do this. You can't change the price of an item for a specific sales order. The price will only change if you change the value of the Item record in NetSuite.
You could look at adding discounts on your Sales Order. If your prices on an order differ from the item price on NetSuite,you can add a discount item to the sales order.
Related
I want to preview the upcoming invoice using disposable prices. The user (sales team) can input any price they want for the product, and a table with the upcoming invoice is displayed and refreshed with each change in the input.
Since Prices are resources that we can't delete, is there a way to use temp/disposable prices valid only on the invoices.retrieveUpcoming request?
Edit:
I don't want to create a Price that will not be used at all. Think that the user can input any value at any time, and for each new value, I create a new price just to get the upcoming invoice.
The Retrieve Upcoming Invoice API has the subscription_items parameter which itself contains the price_data parameter allowing you to pass dynamic pricing as needed without having to create the Price upfront. It mirrors what the Create Subscription API offers.
How to add a column to the Sub record inventory detail?
just like expiration date on inventory number subrecord on Item Receipt, can we have a custom field for manufacturing date in inventory number subrecord. Is there any feature need to be enabled? Does NetSuite have any functionality of Production/Manufacturing date? or any way to create a custom field in inventory number subrecord that is visible in IR subrecord?
In Netsuite go to
Customization -> Lists, Records, Fields -> Item Number Fields
If you have a production run you either have lot numbered or serialized inventory. You can make the field applicable to all Lot Numbered or all Serialized or to just specific skus.
Note that the items need to have been created as lot numbered or serialized items. If the items you want to use were not created as such then you’ll need to replace them with new items. If you want to use the same skus for the new items you’ll need to rename the original items.
Just like expiration date on inventory number subrecord on Item Receipt, can we have a custom field for manufacturing date in inventory number subrecord. Is there any feature need to be enabled? Does NetSuite have any functionality of Production/Manufacturing date? or any way to create a custom field in inventory number subrecord that is visible in IR subrecord?
As far as I am aware, it is not possible to add a custom field to the inventory detail subrecord. Checking the CUSTOMISATION > LIST, RECORDS & FIELDS NS menu (using the administrator role), this sub-record is not available. I have, however, in the past re-created the subrecord using a Suitelet and a saved search which auto-populates the item lines with additional columns. Perhaps this route is a potential solution for you too.
I have recently encountered this in an implementation. We were requested to add the Gross Weight and Net Weight fields in the Inventory Details window.
We used a SuiteApp called Lot Auto Number (Answer ID: 100706).
After surfing the web for more than 3 months, most of the problems that will face NetSuite users are related to Item Fulfillment. I want to know what is the relation between the Invoice and Item Fulfillment.
Invoice will not be created until we fulfill the order, so, there must be a relation between Invoice & IF.
But unfortunately, I cannot get at least Item Fulfillment Order #.
Our Customers are asking to include the Number in the Invoice, but, there is no relation between the 2 records unless one field which is (created from) and this field is getting the Sales Order Number and it is useless to us, since we may issue from one sales order many Item Fulfillment Transactions.
Could anyone suggest any help or hint on how to reach Item Fulfillment # from Invoice Record?
Thanks a lot
There is no system link between an Invoice and an Item Fulfillment.
Sales Orders are linked to one or more Item Fulfillments, and one or more Invoices, but as far as NetSuite is concerned there is nothing connecting any specific fulfillment to any specific invoice. In fact you could have products from multiple fulfillments that are invoiced together, or vice versa, a single fulfillment with multiple invoices.
If you want to store a link between the two documents you would need to customize this yourself using scripting and a custom field.
functionally it is possible only if the policy goes by One SO-One IF-One Inv.
Else you may need to look for scripting.
I am wondering if it is possible in NetSuite to filter items available to sell based on a customer.
The requirement is that the company restricts selling certain items to some selected customers. Just wanted to know if this is possible in NetSuite.
I am aware that it is possible in sales order form to have an 'Item saved search' as the filtering criteria. But this does not allow filtering items based on selected customer fields. Seems 'Item saved search' that is assigned for the form can only use static fields or some variables from the 'Item work flow'.
Other way I tried is by restricting the 'Custom' price level on the sales order form. This way I am able stop selling anything not assigned to the customer price level. But I cannot stop those items being listed in the drop-down and search list.
Really appreciate any help on this.
You can use clientscript with validateLine function
Create script parameter with item list record type and select item which you want to restrict.
Within validateLine function restrict item which is selected within a script parameter record.
I was successful in filtering class based on a particular department and the following approach was followed:
var selectedCustom = 'T';
var v_form = type + '_form';
var formCustom = document.forms[v_form];
var fldCustom = getFormElement(formCustom, fldnamCustom.toLowerCase());
Using the above approach the following function was able to filter the list of values
addSelectOption(document, ldCustom, v_class, v_class_id, selectedCustom);