NetSuite Saved Search Result Is Blank - netsuite

I tried to create a saved search to pull information from the "Shipping Method" field under Item Fulfillment; while the result is not showing any information even there is information under the "Shipping Method field".
Please see the criteria and result as follows.
Can someone please suggest how can I fix this?
Thank you.
Criteria:
Main Line is true
Type is Item Fulfillment
Status is Item Fulfillment:Picked
Date is after 9/1/2019
Result:
Created From : Internal ID
Created From : Document Number
Shipping Method (Custom Body)
Shipping Carrier

The shipping method field you have is a custom body field. It is not the native shipping method field, which is "Ship Via".
If you are setting a custom shipping method, that's ok, just as long as it's setup properly on your end. In this case, it may be, but you may be expecting different data as what you're describing is in the "Ship Via" field.

Related

Pull item receipt line item on custom record field

I have a custom record that is used by quality team to acknowledge inspection against item receipt. Currently, they are manually selecting item receipt and then the item to be inspected from the full item list. I would like the item field to display only the shortened list of items ONLY from the particular receipt, once the user selects receipt number in the field. Is that possible?
Yes its possible!
You can try creating a Saved Search and add in all the required fields from custom record and Item Receipt.
Later you can develop a Suitelet and create the field (which will be used by the User to select receipt number). Then you can pass it as a Filter to above saved search and display the results accordingly.
Let me know if you have any issues in comments below.

Netsuite Saved Search check for field on related record

I have a Saved Search (type is invoice) and I need to check for (custom) field on Cash Refund. How can I do this? (I've tried "Deposit/Refund transaction fields", but that doesn't do anything)
Found the answer: In the Saved Search under Criteria pick "Applying Transaction fields", pick the custom field from the "Cash Refund".
That worked for me.. but make sure you do some tests..

Is there a way to query NetSuite tables to tell if an invoice has been emailed

I am writing some code to integrate with our installation of NetSuite. We use a service by CData to replicate the primary NetSuite tables down to our local SQL Server. My code will send an electronic invoice (outside of NetSuite) but I don't want to send it if it has already been emailed from within NetSuite using their built in feature.
The "Invoice" table contains all the main header info for invoices and there is an "Email" column in there. If that field has a value in it does that mean the invoice has been emailed? Or can someone fill in that field WITHOUT emailing the invoice? (I need to know if the invoice has in fact been sent)
The email column should be the email on the communication sub tab.
You can see if an invoice has been sent the "Message" sub tab in communication. If the record in there is a type = "email" then the message has been sent through Netsuite's internal functionality.
Does that help? Also, can I ask if you were successful with this? I am also looking to send emails using a CData connection.
I was looking for a status that would indicate if the invoice had been printed or not. Didn't find it. The solution could be to build a custom field on the transaction called 'Print status'. It would be a drop down list with 3 possible values: Pending, Printed Original and Printed copy. Set the field to 'Disabled' and its default value as 'Pending'.
We could go further and add a custom field called 'Date last printed' and even a 'Last printed by'.
Then we can build a workflow of action type 'Set field value', the condition of Field value = 'Pending' and an action to set the 'Print status' to 'Printed original' once the invoice is first printed.
A second action to set it to 'Printed copy' if someone reprints the invoice.
Using 'Set field value, we can also chane the transaction form to one that points to a pdf template with 'COPY' on it.
My issue is that the standard Action, Print of the invoice does not trigger any action on the workflow. So I guess we should look into building this via script.
Let me know if you find an easy workflow alternative.
Good luck.

How to find out what fields are referring to a NetSuite custom field

I have a problem deleting a custom field from a vendor in NetSuite. When I try to delete it I get the following error message.
This custom field cannot be deleted because it is referred to by other custom fields
I've looked at many of my other custom fields and columns but I can't find any that are referencing this one. Is there a way to find all fields that refer to a particular custom field?
This is because you might be using this custom field value some where else. I'm not sure if there is any inbuilt functionality to identify the other fields which are being referred by your custom field. I had a similar issue but I solved it using mass update. I set that field value for all the vendor as blank then I was able to delete the custom field.
In case it is a custom list field then follow the steps bellow :
First delete the list from Setup > Customization > Transaction Item Options, then from the Custom Item Fields and then finally from the Custom Lists
To narrow down the list of fields to check, go to Customization->Lists, Records & Fields->Entity Fields. Sort that list by the Vendor column. That is the list that needs to be checked. Open each of these fields, and check that the 'Field' under the 'Validation and Defaulting' tab is not your custom field that you want to delete. Then check the values on the 'Sourcing and Filtering' tab as well.
Good luck, and hopefully there is not too many vendor fields to check this way!

add value from text field to look up field crm plugin

thank first all to helping me, out
I have got a big problem
I trying to run a post operation plugin in crm 2013
I have got, to Entities One is "account" and the other one is "sales"
My problem is :
The filed in entities account is lookup filed
And the filed in sales is text filed
The value from the sales Test filed I have to add in the look up filed
I have allready retrieve the value from the sales test field
Only problem is I can’t add the value in the look up:
get an error message.
It would be appreciated if you can share the error message which you are getting.
Assuming that you are trying to set the primary contact for the account, I would have coded as follows,
Entity account=new Entity("account");
account.Id=;
account["primarycontactid"]=new EntityReference("contact",);
service.Update(account);
In this case i again assume the text value which you have retrieved is a Guid value. If not, get that value from CRM using a service.Retrive() or service.RetrieveMultiple() methods and do it as above.
Hope this helps!!!.

Resources