In Netsuite, how is the practice of including a free item done? Let's say there will be a free item A for a sales order which exceeds $1000. How do you record this in the system?
Thanks.
There are a few ways. One is just to add the free item with a price level of "Free". The item can be added via script, or by a person like the approver or fulfiller.
For managing the free item price you can also create a 100% discount coupon code that would be applied to the free item when it is added to an order over $1000.
Related
I'm attempting to create invoices via the SOAP web services. The add action is failing with the following message:
ERROR|USER_ERROR|Please enter a value for amount.
There is no amount property on the body of the invoice, just its line items. I checked every line item for the presence of an amount property, and they all had one. Eventually, I isolated the issue to the discount line items, as invoices without them were successfully being created. The discount line items are of the form:
<ns9:item xsi:type="ns9:InvoiceItem">
<ns9:item xsi:type="ns1670:RecordRef" internalId="80608" xmlns:ns1670="urn:core_2019_1.platform.webservices.netsuite.com"/>
<ns9:amount xsi:type="xsd:double">-6.3</ns9:amount>
<ns9:quantity xsi:type="xsd:double">1.0</ns9:quantity>
<ns9:price xsi:type="ns1671:RecordRef" internalId="-1" xmlns:ns1671="urn:core_2019_1.platform.webservices.netsuite.com"/>
<ns9:location xsi:type="ns1672:RecordRef" internalId="118" xmlns:ns1672="urn:core_2019_1.platform.webservices.netsuite.com"/>
<ns9:taxCode xsi:type="ns1673:RecordRef" internalId="63807" xmlns:ns1673="urn:core_2019_1.platform.webservices.netsuite.com">
<ns1673:name xsi:type="xsd:string">AVALARA-VAT - (63807)</ns1673:name>
</ns9:taxCode>
<ns9:customFieldList xsi:type="ns1674:CustomFieldList" xmlns:ns1674="urn:core_2019_1.platform.webservices.netsuite.com">
<ns1674:customField xsi:type="ns1674:StringCustomFieldRef" scriptId="custcol_sq_referenceid">
<ns1674:value xsi:type="xsd:string">51962_discount</ns1674:value>
</ns1674:customField>
</ns9:customFieldList>
</ns9:item>
Some details about the discount line item (not sure if these are relevant):
The discount line item itself has a rate, but I've been creating invoices with an amount because these invoices stem from data transformed as part of an integration, and I only have access to the external system's discount amount.
The discount line item has the Non-Taxable tax schedule, with explicitly defined sales and purchase tax codes for the UK of UNDEF-GB.
The discount line item is assigned an account which includes all subsidiaries.
2 things I've found are:
This exact same discount line item has been in other successfully synced invoices, the only difference I've found being that the customer, location, and subsidiary associated with this invoice is in Great Britain, not the US.
I'm can create this invoice by not specifying the price level as -1, and so have it be undefined.
I have 2 questions:
Why does NetSuite not think I'm providing a value for the amount of this discount line item only on invoices created in the UK (or not in the US)?
Is it good practice to have discount line items have the custom price level (-1) or an undefined price level (or does it matter)?
Thanks for taking the time to think about this problem and let me know if you need any more details.
This error is a bit of a red herring. While it's not clear what's causing it, price levels are intended to be used with items that are sold. Discount items are not sold items, and so it doesn't make NetSuite since to assign them a price level.
Removing the price level from discount line items so it is undefined is valid and prevents the error from being thrown.
I'm struggling to figure out how can I create a promotion type: "For every 3 items bought, Save 99% Off on the lowest price item" with the new promotions system of hybris from Backoffice, it's not very intuitive. Which are the conditions and actions that I must set?
In your Conditions, you will need to create a container with the products that qualify. (Container, with nested qualifying products condition or qualifying categories)
In the actions part, you need to use the partner-product promotion type. Here you can specify the discount value, the selection strategy => cheapest. In this configuration, you need to define the qualifying container and container to receive the discount. In your case both need to be the same container. With these containers, you can specify how many products are needed (qualifying product containers) and how many get discounted (target product containers)
This should look something similar to this, with your products added.
You can find more info on this promotion type on the SAP help
I'm trying to do a saved search in NetSuite that returns all of the customers in a particular state and, for those which have an Inside Sales Rep, the name of that rep.
But if I specify Sales Team Role = Inside Sales Rep in the criteria, the result only contains customers who have an Inside Sales Rep (and we have some that do not).
If I don't specify the Sales Team Role in the criteria but list Sales Team Role and Sales Team Member in the Results, then I get every customer, but a row for every sales team member, with their role - so multiple lines per customer. I don't want that.
I just want a line in the results for each customer and, if there is an Inside Sales Rep on that customer, that person's name.
Any suggestions?
Basically, you need a left join ;).
Instead, you can use a formula to return either the sales rep if the role is inside sales, or null, or null if there is no sales rep. Then you aggregate it using maximum.
Or you can use the rank function (using the formula above within the rank syntax), selecting where rank = 1. This allows you to save your aggregation for when you need it, at the expense of clarity.
I use Excel to store information about purchased products and invoices (according ID, Item!, Quantity, Price(per), Date etc.). Every time I have to put the new information about orders into table. For example: I have an order. First I create new rows in table for each order. Then I purchase them and after delivery I can fill the rows. But sometimes I order the same item, but with different price and quantity or I should to order more, since last time was not enough.
Therefore, I want to create a "program" in Excel to organize them and to check the order status, whether task already done or not.
The problem is that I can't use the same cell for different prices. And reorder can be also not sufficient.
Any kind of help is welcome!
P.S.
I can do it in MS Excel?
Do I have to learn maybe MS Access?
Is there any freeware relevant for my purpose?
I want to write a web part to calculate price, and have the customer enter data like Length and Width into a price calculation form , inside the shopping cart. Is this possible?
This shouldn't be that difficult to implement, however I would add those fields as text product options directly to given product. This makes much easier to calculate the price and you don't have to customize the shopping cart source files. With this approach all you need to do is override the CalculateUnitPriceInternal(ShoppingCartItemInfo) method according to our documentation:
Custom Info Provider
Best regards,
Jan Hermann