biuan SAP® BUSINESS ONE SDK
API Determination Criterias Service

Description

The DeterminationCriteriasService service enables you to look up and update determination criteria.

Source table: ODMC.

Object Model

Remarks

To open the Determination Criteria window, from the SAP Business One Main Menu, choose Administration -> Setup -> Financials -> G/L Account Determination -> Determination Criteria.

This window is available only if the Enable Advanced G/L Account Determination checkbox is selected (Administration -> System Initialization -> Company Details -> Basic Initialization tab).

Example

C#
Dim oDeterminationCriteriasService As DeterminationCriteriasService = oCompany.GetCompanyService().GetBusinessService(ServiceTypes. DeterminationCriteriasService) Dim oDeterminationCriteria As SAPbobsCOM.DeterminationCriteria = oDeterminationCriteriasServices.GetDataInterface (DeterminationCriteriasServiceDataInterfaces.dcDeterminationCriteria) Dim param As SAPbobsCOM. DeterminationCriteriaParams = oDeterminationCriteriasServices.GetDataInterface (DeterminationCriteriasServiceDataInterfaces.dcDeterminationCriteriaParams) param.DmcId = 1 oDeterminationCriteria = oDeterminationCriteriasService.Get(param) oDeterminationCriteria.IsActive = SAPbobsCOM.BoYesNoEnum.tYES oDeterminationCriteria.Priority = 8 oDeterminationCriteriasService.Update(oDeterminationCriteria)

See Also

SAP® B1 DI-API C# definition

public class DeterminationCriteriasServiceClass : IDeterminationCriteriasService, DeterminationCriteriasService { public extern DeterminationCriteriasServiceClass(); public virtual extern DeterminationCriteria Get( DeterminationCriteriaParams pIDeterminationCriteriaParams); public virtual extern object GetDataInterface( DeterminationCriteriasServiceDataInterfaces enumMSDI); public virtual extern object GetDataInterfaceFromXMLFile( string bstrFileName); public virtual extern object GetDataInterfaceFromXMLString( string bstrXMLString); public virtual extern DeterminationCriteriaParamsCollection GetList(); public virtual extern void Update( DeterminationCriteria pIDeterminationCriteria); }

Related information


Determination Criterias Service Data Interfaces DeterminationCriteriasServiceDataInterfaces Enumeration
DeterminationCriteriasService data interfaces.
   Parent: Determination Criterias Service DeterminationCriteriasService Service· Table: ODMC

Determination Criteria DeterminationCriteria Object· Table: ODMC
The available determination criteria are predefined (you cannot define additional determination criteria): Item Group Item Code Warehouse Code Business Partner Group Ship-to Country Ship-to State You can activate and...
   Parent: Determination Criterias Service DeterminationCriteriasService Service· Table: ODMC

Determination Criteria Params Collection DeterminationCriteriaParamsCollection Collection
A collection of DeterminationCriteriaParams objects.
   Parent: Determination Criterias Service DeterminationCriteriasService Service· Table: ODMC


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