API Accrual Types Service


An accrual type is a set of conditions used to represent the differences between cost accounting and financial accounting.

The AccrualTypesService service enables you to add, look up, update, and remove accrual types.

Source table: OACR.

Object Model


Accrual types are defined only for use in the cost accounting reconciliation report. They do not affect other reports.

To define accrual types, in the SAP Business One application, choose Financials --> Cost Accounting --> Accrual Type.

See Also

SAP® B1 DI-API C# definition

public class AccrualTypesServiceClass : IAccrualTypesService, AccrualTypesService { public extern AccrualTypesServiceClass(); public virtual extern AccrualTypeParams AddAccrualType( AccrualType pIAccrualType); public virtual extern void DeleteAccrualType( AccrualTypeParams pIAccrualTypeParams); public virtual extern AccrualType GetAccrualType( AccrualTypeParams pIAccrualTypeParams); public virtual extern AccrualTypesParams GetAccrualTypeList(); public virtual extern object GetDataInterface( AccrualTypesServiceDataInterfaces enumMSDI); public virtual extern object GetDataInterfaceFromXMLFile( string bstrFileName); public virtual extern object GetDataInterfaceFromXMLString( string bstrXMLString); public virtual extern void UpdateAccrualType( AccrualType pIAccrualType); }

Related information

Accrual Types Service Data Interfaces AccrualTypesServiceDataInterfaces Enumeration
AccrualTypesService data interfaces.
   Parent: Accrual Types Service AccrualTypesService Service· Table: OACR

Accrual Types Params AccrualTypesParams Collection
A collection of AccrualTypeParams objects.
   Parent: Accrual Types Service AccrualTypesService Service· Table: OACR

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