i am trying to create netsuite employee identity management application in .Net, i have found their CRM Sample application that adds, updates, deletes & search customer, i need to implement function like add employee, delete employee, get all employee, update employee using their web service.
thanks in advance
Hope these links would help.
http://tellsaqib.github.com/NSPHP-Doc/dc/d5c/class_employee.html
http://tellsaqib.github.com/NSPHP-Doc/da/d81/class_add_request.html
Related
I'm currently building an integration with Netsuite using the Suitetalk REST API. I would like to retrieve the role of each contact associated with a customer to find the Primary and Operational contacts of the customer.
I have tried querying the customer endpoint:
record/v1/customer/ {customerId} /contact/ {contactId} /contactrole
This query returns Role id 14 which is 'Customer Center' for all customer contact records. This is obviously incorrect as this information is returned for contacts tagged with different roles when I check them via the UI.
I have also tried using Suiteql using the query endpoint with the similar results.
Is the query incorrect or should I be using a different endpoint? I have been stuck for days, so I would appreciate any suggestion.
A long comment. Hopefully it helps focus your search for a solution.
Contact Roles is the subrecord for contacts who have login access to a customer's account. The role listed there is the access role. Customer Center is the default access role in a vanilla Netsuite account.
The Records Catalog has contactList as the joining table for contact to company. I don't see any mention of role there that would correspond to contactrole in the records browser so it appears some documenation is missing.
You'll likely have to play with the SuiteQL queries feature to get this.
See Executing SuiteQL Queries Through REST Web Services in the NS help.
with suiteql you can get primary contact with this
{ "q": "select cus.companyname,cus.contact,cont.entityid from customer cus left outer join contact cont on cus.contact=cont.id where cus.id=<<id of ur customer>>"}
We have an automation in place to move information from BUG to a customized ticket template (Infra Requests.xml) in case of infrastructural issues. Currently an AD account is being used to create tickets. I want to use the CreatedBy field from Bug to create Infra Requests. I know we have way to check-in behalf and queued-build behalf, wondering if we have similar for create-workitem.
You can create a work item and update the CreatedBy field with the bypassRules option. The same question was here: How to change the Created By field on a Work Item in TFS?
Link to rest api: Work Items - Create
I am trying to filter the catalog item based on logged in customer business account. How do i get the logged in customer business account value in acumatica portal?
Regards,
R.Muralidharan
As you've found out, PXAccess.GetUserID() allows you to get this information, but you can also use the AccessInfo DAC in BQL queries:
Current<AccessInfo.userID>
Current<AccessInfo.userName>
I have used Base.currentCustomer.BAccountID and it works fine
i'm currently developing hook for user registration (jsp , action ,startup action)
i wont at startup time (application.startup.events) to create 2 teams using this code
but isn't work
Team team=TeamLocalServiceUtil.createTeam(CounterLocalServiceUtil.increment());
team.setCompanyId(companyId);
team.setName("individual");
team.setDescription("individual individual");
TeamLocalServiceUtil.addTeam(team);
could any one help me
and I've inspected team table in database there are 2 fields (companyid and groupid ) i can't see what is difference between them they are facing me any where what their benefit and how i can find them
companyId is what the UI calls "instance". Most likely you have only one. The technical name groupId typically refers to the site that you create the team in.
I'd rather advise to create the team in a single call:
Team team = TeamLocalServiceUtil.addTeam(ownerId, groupId, name, description)
If this doesn't help, please update your question with more information than "doesn't work". You can be a lot more specific.
companyId is the liferay portal instance id. If you setup liferay to be multi-tenant, this id is used to separate data between the virtual portal.
groupId is organizational or site id.It's used if you want to separate your data between organization or sites.
try below code to add team :-
Team team=teamPersistence.create(CounterLocalServiceUtil.increment(Team.class.toString()));
team.setCompanyId(companyId);
team.setName("individual");
team.setDescription("individual individual");
teamPersistence.update(team);
Just wondering if anyone can help me with a problem i am having.
in work we have office 365 synced with Active directory and i want to know if i could do the following.
we have a employee details list on sharepoint which holds all an employees contact number including the following; work numner, home number and mobile. we use this list to update an employees details, so for example if an employee gets a new number we would update the employee details list on sharepoint. can i sync this list with AD directory so that when i update an employees details on the sharepoint list the changes are also made to active directory ? any guidance on this would be much appreciated
This issue cannot be solved using SharePoint out-of-box features, so I advise you try the third-part tool, such as AD Information Sync.
This tool can sync the user, contact or computer information from AD to SharePoint list, also can update the changes between AD and list.