WooCommerce free orders are not searchable - search

When searching for a free order "0" price total nothing is showing "No orders found" everything is updated.

Related

On Order Quantity Wrong in NetSuite

I'm working in a NetSuite instance where the Quantity On Order that is displayed on the item master in the "Location" sublist is not accurate for certain items only. The column for "Quantity On Order" is empty, but I have an open, approved Purchase Order in the system. Does anyone have tips for troubleshooting?
I've compared different items and can't find why one is working and the other isn't. There may be two items on the same PO and one item has a correct value for Quantity on Order and the other item does not. I've reviewed the Item Location Configuration records, and they're identical on the items I'm comparing.

"Please enter a value for amount." when creating invoice with discount with custom price level outside the US

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.

NetSuite saved search to pull backorder quantity based on location

I am trying to build an item saved search to pull the quantity backorder based on location. There are 8 locations in NetSuite. I would like to get backorder quantity from 3 locations. In the criteria I have added the "Inventory Location" is any of "Loc1, Loc2, Loc3".
In the results section, when I add the field "Back Ordered" and preview the results it's showing me the sum of backordered quantity of all locations. I would like to get the backordered quantity of three locations. Is there a way to pull the Back Ordered quantity based on location?
In results tabs add location field and in the summarytype "Group" should do the trick
Yes
Instead of using the column "Back Ordered" in your search use the column "Location Back Ordered" and include "Inventory Location" as one of your columns.
When multi-location is turned on then for each of the aggregate fields there is a "Location X" field that gives the quantity value for a location.

Netsuite saved search sort by total items sold

As the title states, I'm trying to sort a saved item search by how many of each item has been sold. Problem is my search keeps timing out. My problem is probably on the results tab where I'm tying to get the total sold by sum'ing the Transaction:Quantity field. Does Netsuite hold this data somewhere else that I won't need to do any calculations?

NetSuite: PO Rate in Saved Search

I am trying to pull the PO Rate in a Saved Transaction search. This is a built in field on the Sales Order. When I pull it in to the search, it shows no data for Sales Orders that clearly have it if you go to the record. I have tried pulling it by selecting the Field and by using a formula to pull the Field ID (porate). Nothing seems to work. These are Sales Orders without a PO at this time, but the Po Rate field is populated and we need it extracted.
We need this for an upload of data. I know this seems like an easy task - and we thought it would be. Anything you can advise is appreciated
If the line item has "Created Po" i.e. it has special order lines or Drop ship line items , the field "Po rate" has value and it does gets pulled into Search Results.
Also, there are extra lines in search results for shipping and taxes which will not have "Po Rates". Also, you may want to apply filter mailline is false, as porate is line item field

Resources