In NetSuite Rest WebServices, we can define multiple integrations and each one has a different Application ID (a Guid value).
is there any way to query salesOrders (or any other records) created by a specific Integration?
Not sure what platform you are using. But, in the past, I've done just the opposite of that (pulling records not created by a specific user), using the createdby field. You can do it via saved searches in most integration platforms, and some allow you to do it via a normal NetSuite query. Hope that helps some...?
Related
we have one requirement for updating/notifying enterprise applications about any/specific data change in NetSuite CRM.
I googled, but could not find, if NetSuite allows to register endpoint so that any update would be pushed to that registered endpoint. Is there any such configuration NetSuite CRM provides?
Aside from purchasing an off the shelf integration package, there are two main ways to accomplish this. Both of them are not pretty.
Polling SuiteTalk. Poll SuiteTalk as a specified frequency for any updated records. I've implemented a ruby gem that provides most of this functionality out of the box. https://github.com/NetSweet/netsuite_rails
Writing User Event SuiteScripts. Using these scripts you can trigger a script to run, that script can call an external URL and pass the NS internalId & type of the record that was updated.
sudhirk,
There's no mechanism for what you ask. Netsuite allows for a lot of different ways to configure 'incoming' data. (ie. RESTlets, SuiteTalk (WebServices), Suitelets, etc). However, building a 'push' endpoint is nearly non existent. If your external systems have simple HTTP GET options, you could use nlapiRequestURL to push data. Otherwise, you're looking into a more formal integration project. I do this daily in my job, and we prefer to use BOOMI as the middleware.
Hope this helps!
I am developing a Net Suite application based on web services (SuiteTalk). I have learned about the concept of System Notes, which are a journal of changes on all types of objects. Yet, I see no way to access the list of system notes (say last N notes) via web services. Are you aware if this is possible and how? If not, what would be an alternative solution?
I know you can do it via a RESTlet/Suitelet, not sure about web services.
In JS you can do a search with a joint field on the results.. something like :
nlobjSearchColumn( 'date','systemnotes');
*I think is systemnotes.
Do the filter criteria on a UI search, and link that search to the service script, from there is pretty standard.
I am using On-Premise crm dynamics 2011 and I am facing problem in the following situation. The requirement in one of the modules I am developing is to get an input from the end user and use it to filter the contacts in crm and display it to the user. I was doing this by using asp.net and crm sdk and I was retrieving the entity collection filtered by the user input and displaying the resultant contacts in a web page (custom aspx page outside crm). However, now the requirement is to display the contacts list within crm itself. Not in my asp.net application.
I was actually doing a similar thing of displaying a contact, by using the filter and fetching the guid of the contact and using the url
(http://server/organization/sfa/conts/edit.aspx?id=12b3bd97-57f8-e211-b4fd-000c29ea65f3).
This is fine with displaying a single contact. I was displaying all the contacts using the url
(http://server/organization/main.aspx?etc=2&etn=contact&extraqs=%3fpagemode%3diframe%26sitemappath%3dWorkplace%257cCustomers%257cnav_conts&pagetype=entitylist&viewid=%7b00000000-0000-0000-00AA-000010001004%7d&viewtype=1039).
Now the question is how can I open a similar form that displays only filtered contacts? Is there an in built form to fulfill my requirement? if not what I should do. I thought of creating a custom page and embedding in crm, however is it advisable in practical situations? I have this doubt because I would be installing this customization to the client servers. Therefore there is a chance that they might not allow third party customizations. I was wondering if there was any other way to do it.
An example is, when a customer calls, I use his phone number as a filter to lookup for a contact in crm and if there are many contacts associated with the number I need to display them all to the user.
I would build a custom html page.
Query the results using the OData service and display the results in a grid.
You can then add this webpage to a form or a dashboard using an IFRAME.
I've used a combination of crmfetchkit and jQGrid to implement this in the past.
http://crmfetchkit.codeplex.com/
http://www.trirand.com/blog/
Implementation is 100 percent client side javascript and works pretty well.
I have an entity with a pre delete plugin. Is it possible to differentiate in the plugin if the delete request has been issued manually in crm or programmatically using the crmservice from the sdk?
As far as I know is not possible to differentiate inside a plugin a request made by web interface from another made using the sdk.
You could infer it from other information.
If you know a particular user who will always be performing the delete (e.g. a service account), then you could inspect IPluginExecutionContext.InitiatingUserId.
Or you could have a 'delete by service' field, don't put that field on the form, then before you issue your delete via the crmservice, update that field to a known value. Then your plugin can just inspect that field.
Not quite as elegant as inspecting an origin field, but you should be able to perform the logic you need.
I'm using the built-in Domain Catalog database to list all the databases on a particular Domino server. I'm creating a custom view to show certain information about each database. What I'd like to have is a column that displays the creator of each database. However, if the Domain Catalog is keeping track of this information, I can't find it.
Is there a field in the Domain Catalog that provides this information that I just haven't been able to find? Is there some other way I might find this information and get it into this view? #DBlookup and related functions don't work in column formulas.
That information is not stored in the catalog, and is probably not stored in the database either (It's not shown on any of the property tabs).
You would probably need to get/write a server add-in to monitor database creation and store that data somewhere. Then you'd need to account for databases created by adminp/replication - your add-in might pick them up as having been created by a server.
This question was also asked in the R4/R5 forums in 1998 and received no answer.
Interesting question. There is no such attribute for database, but you can dig for some clues.
New databases: use NotesNoteCollection and look for some specific design element (icon, for example) and look for first element in $UpdatedBy field.
New copies/from templates: above mentioned method won't work. It will return info from original/template, not current database. In this case, try using Created property of DB and check user footprints after that date - in ACL log (he probably altered ACL immediately after copy), new design elements (probably made new view, folder, agent...) or profile documents.
What Frantisek said. Looking in the log archive (ugh!) may tell you who deployed it, but in a well run environment that won't be who developed it. A list of $UpdatedBy(0) for all design notes should give you a good idea. The catch will be that it mayl be people who left the company years ago. : )