Retrieve upcoming invoice with disposable prices - stripe-payments

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.

Related

Is it possible to have a custom field in Inventory Detail subrecord on Item Receipt? NETSUITE

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).

Netsuite Invoice and Item Fulfillment

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.

restlet item group cusstom price

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.

Does Acumatica have an object to calculate GL Account Summary information?

We are trying to write customization to generate a download GL account summary information from Acumatica to text file. Need to be able to calculate period summary information (beginning balance, net change, and ending balance for each account using code. I'm assuming that Acumatica has an object to calculate those values for a specific Financial Period ID...but I dont know what it is. Can anyone help?
The information you're looking for is already stored in the GLHistory table. The data is aggregated by ledger, branch, financial period, account and subaccount. This information is updated by accumulator attributes that are used during the GL release process.

Creating promotions with specific prices in Netsuite

Is there a way to create promotions in Netsuite 2016.1 so that items can have individually lowered prices? I know how to reduce items by percentages and how to set a flat price for all items, but I'm trying to allow individual items to have different temporary prices. Does Netsuite have this capability, or should I begin creating it via SuiteScript and custom records/fields?
Thanks!
Try the pricing groups feature of NetSuite. This lets you set a custom price for a set of items, which can then be assigned to various customers. This is primarily meant for negotiating prices with a large customer.
You might be able to use this feature to set temporary prices by switching the pricing group on and off for different customers with a script.
I am not aware of any way to temporarily set specific prices.
A thing I've done in the past was to create a set of custom fields and scripts that did the following for a Daily Specials program.
Take a group of products and copy their current on-line price to another field;
Update their online prices to a pre-determined value
assign them to a "Daily Specials" category.
set a custom checkbox field so that the item thumbnails could be easily bannered in a category list
A daily batch inspected a configuration table for that day's specials. It cleared all the current specials(prices back; remove from category; clear checkbox) and then assigned that day's specials.
this was driven by a table that allowed the product manager to schedule products based on seasonality and availability.

Resources