biuan SAP® BUSINESS ONE SDK
API Sales Opportunity Interests Setup Service / Update Sales Opportunity Interest Setup

Description

Updates an existing interest.

The data for the interest, including the key of the interest to be updated, is contained in the SalesOpportunityInterestSetup object passed to the method. To update an interest, you must first retrieve it using the GetSalesOpportunityInterestSetup method.

Syntax

Parameters

pISalesOpportunityInterestSetup
The data for the interest to be updated. The SalesOpportunityInterestSetup object must contain the key of the object to be updated.

Example

Updating a sales opportunity interest (C#)
SalesOpportunityInterestSetupParams interestParams = interestService.GetDataInterface(SalesOpportunityInterestsSetupServiceDataInterfaces.soissSalesOpportunityInterestSetupParams) as SalesOpportunityInterestSetupParams; // Make sure that a record with SequenceNumber = 1 exists interestParams.SequenceNo = 1; SalesOpportunityInterestSetup interest = interestService.GetSalesOpportunityInterestSetup(interestParams); interest.Description = "new value"; interest.Sort = interest.Sort + 1; try { interestService.UpdateSalesOpportunityInterestSetup(interest); } catch (Exception e) { PrintExceptionMessage(e); }

See Also

Related information


Sales Opportunity Interest Setup SalesOpportunityInterestSetup Object· Table: OOIN
Represents an area of interest for the sales opportunity. Source table: OOIN Mandatory properties: Description
   Parent: Sales Opportunity Interests Setup Service SalesOpportunityInterestsSetupService Service· Table: OOIN

Sales Opportunity Interest Setup Params Collection SalesOpportunityInterestSetupParamsCollection Collection
A collection of SalesOpportunityInterestSetupParams objects.
   Parent: Sales Opportunity Interests Setup Service SalesOpportunityInterestsSetupService Service· Table: OOIN

Sales Opportunity Interests Setup Service Data Interfaces SalesOpportunityInterestsSetupServiceDataInterfaces Enumeration
SalesOpportunityInterestsSetupService data interfaces.
   Parent: Sales Opportunity Interests Setup Service SalesOpportunityInterestsSetupService Service· Table: OOIN

Sales Opportunity Interests Setup Service SalesOpportunityInterestsSetupService Service· Table: OOIN
The SalesOpportunityInterestsSetupService service enables you to add, look up and remove interests in the interests master data table. Interests can be assigned to sales opportunities; the interest describes an area of interest to the sales...



SAP® Business One is the trademark(s) or registered trademark(s) of SAP AG in Germany and in several other countries. Contact
This website is not affiliated with, maintained, authorized, endorsed or sponsored by SAP AG or any of its affiliates