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

Description

Deletes an existing interest.

The interest is specified by its key (Num), which is contained in the SalesOpportunityInterestSetupParams object passed to the method.

Syntax

Parameters

pISalesOpportunityInterestSetupParams
The key of the interest to be deleted.

Remarks

You cannot delete a sales opportunity interest that is associated with a sales opportunity.

Example

Deleting 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; Console.WriteLine("Get a SalesOpportunityInterestSetup object with key=" + interestParams.SequenceNo.ToString()); SalesOpportunityInterestSetup interest = interestService.GetSalesOpportunityInterestSetup(interestParams); try { interestService.DeleteSalesOpportunityInterestSetup(interestParams); } 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