Register Callback endpoint with NetSuite CRM - netsuite

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!

Related

How to Log data in a SaaS Cloud Shop

As I now learned, it is not permitted by Shopware to set the permission "log_entry" and therefore use the API endpoint "api/log-entry" to add entries to the Shopware log in a SaaS Instance. :(
Would be the best solution to add an own "Log" Entity for that and provide the data to the shop owner also via an own listing view in the administration?
If so, that would be very bad, because it would be so much easier to just use the log feature Shopware already implemented.
Or is there another easier opportunity for that?
Danny
If you have a custom module you can use the Admin Extension SDK to dispatch a notification from within the iframe. Notifications of the error variant will also be persisted to log_entry.
If your app is subscribing to webhooks and that's when you want to log stuff, you'll probably have to go the route you described or preferably even log on the app server. While it may be inconvenient this measure was likely taken to disencourage using the Shopware log tables because they should be reserved for errors and the likes happening within the system and should not be opened up to apps logging errors happening on their side.

NetSuite Rest Web Services Query Last Update

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

Automating Approval Processes in Dynamics CRM

A bit of background before I begin.
Background:
I am working on migrating an existing .NET based system to Dynamics CRM and one of its key feature is its 'Request Approval Process'. I have implemented some simpler versions of such approval processes in past but this one is a bit complex since it involves multi-level approvals, multiple approvers at one level, amendment logic, delegation functionality, etc.
Analysis Till Now:
Before pushing this question at SO, I did a fair analysis of the requirements from my end and have come up with few possible approaches:
Workflow based approach (something on lines of this)
Complete custom logic using Plugins/Web Resources (something on lines of this)
I am not explaining the details of these approaches as of now but the core issue is that none of these two approaches are fitting correctly to my requirements.
Queries:
While analyzing these approaches I came across some newer functionalities added to CRM (listed below) but did not get any additional resources to explore them further. I just want to confirm that I am not trying to achieve something which is already present out-of-the-box or going in the incorrect direction.
1. Internal Process Automation:
Reference: Here
Any leads/thoughts on this approach? I am not able to find any good documentation/articles around this.
2. Graphical Approval Workflow:
Reference: Here
This feature seems to be useful but it is mentioned to be a part of Dynamics Marketing. With the new structuring of Dynamics 365, will this feature be a part of Dynamics CRM by default?
Also, the Prerequisites section of this link mentions certain Item Types for which you can configure this functionality. So can't we use this functionality for any entity records?
Any kind of help/inputs would be appreciated.
I'd suggest the best of both worlds: using out-of-box Workflows along with custom Workflow activities that you can write with C#. Use as much out-of-box functionality as you can, but when you need to query records or run custom logic, create a custom workflow activity that can be used in your out-of-box Workflow. Custom workflow activities are similar to plugins in that they are written using C#. You can have custom inputs and custom outputs for your activity.
For example, maybe your approval process needs to look up the appropriate approving user for this record. You could write a custom workflow activity that takes an input (the record being approved) and an output (the user that has the ability to approve). Then in your Workflow, you'd add your custom activity as a step. After that step, you could send an email to the approver by using the output of that custom step.
More information about custom workflow activities: https://msdn.microsoft.com/en-us/library/gg309745.aspx

Can system notes be accessed via web services?

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.

using mail server to communicate with jira using api

im new to jira and its mail handlers.i want to use the jira's mail handlers to scan two folders in my mail box.and update two projects related to those folders. and i did that.
but now i want to extend that functionality.i want to keep the mails in those folders (stop mail handlers from deleting it after processing) and make it able to move issues/tasks across projects simply by moving the associated mail from the folder to the other folder. resulting in deletion of the original issue/task from that project and creating it in the other folder. please help in making this a possibility.
for those who didnt understand my problem: imagine im sending a cv for the post of php developer to a mail. when the reciepent checks it, he puts it in the php folder in his mailbox.so then a task is created in the project php developers. but next the reciepents thinks im more suitable in web developement rather than in php. so he just moves the mail from php folder to the web folder.so the existing task in php project gets deleted and a new task is created under web developement project. can i do this? if so how? please guide me..
Update
sigh..
i dont know how to work with corporate people. now the situation has changed. i hope you could help me with this one.sorry about the sudden change in the question..again...
now my boss wants sth like this.
i created a mail client using imap function to access mail services and retrieve those mails to a web function. theres no problem in that. but now my boss wants to handle jira through that same app aswell. means as like the my question when moving, putting a mail to a folder the app it self should comunicate with jira and make the necesary issue creation and deletion.. is this possible #Kuf?? if so please help. because my deadline is due Wednesday. and im almost there to panic..lol..please forgive me for changing questions like this. as it is not my will..
edit
I have seen that rest api does this. but how to use it? any answers?
The simplest way I found was to receive the emails in your main account and forward them to a second account, while saving a copy on the mail server. Than, tell Jira to pull the emails from the second email.
UPDATE
In the past, I've looked for a way to change Jira's email handler functionality, as you can see in this question here. It is impossible to achieve what you're asking using Jira's email handler because the way it works, it does not keep records of which emails were already read, Jira's service checks for new emails, ignores emails according the pre-defined filters (spam or user defined), handles the rest of the emails, and deletes them so it won't process them again.
The way I can think of to get the functionality you want is to re-write the email handler, you can get the source code, re-write it, and build it into your Jira app.
Another way, which i find easier, is to get all the emails into Jira, and from within Jira move the issues from one project to another. You can even create pre-defined buttons using Jira Scripting Suite to easily move issues between projects (create a post function and attach it to workflow transition).
If you need any help let me know. Good luck!
EDIT 2
Which Jira version do you use? which actions are you planning to do using the remote API? Jira REST API is the newest, but some of the old APIs have capabilities that are lacking in REST. To try and decide which API suits you, have a a look at JIRA Remote API Reference.
If you decide to use the REST API, I suggest that you read Jira's Getting Started with REST manual, which shows how to use the REST API. For the full documentation check out JIRA REST API documentation (make sure to use the right version according to your Jira version).

Resources