DTW Administration / Setup / Financials / Account Segmentation Categories
API Account Segmentation Categories


The AccountSegmentationCategories object represents the categories for each of the account segments in the Financials module.

This object enables you to:

  • Add an account category to a segment.
  • Retrieve an account segment category by its key.
  • Update an account segment category.
  • Save the object in XML format.

Source table: OASC.

Object Model


Applicable only when the EnableAccountSegmentation property of the CompanyInfo object is set to Y.

Account segmentation is used mainly in USA.

To display the form in the application:

  1. Select Administration --> Setup -->Financials -->Account Segmentation.
  2. Double-click the number on the left of the account segmentation name.

See Also

SAP® B1 DI-API C# definition

public class AccountSegmentationCategoriesClass : IAccountSegmentationCategories, AccountSegmentationCategories { public virtual DataBrowser Browser { get; } public virtual string Code { get; set; } public virtual string Name { get; set; } public virtual int SegmentID { get; set; } public virtual string ShortName { get; set; } public virtual SAPbobsCOM.UserFields UserFields { get; } public extern AccountSegmentationCategoriesClass(); public virtual extern int Add(); public virtual extern string GetAsXML(); public virtual extern bool GetByKey( int lSegmentId, string bstrCode); public virtual extern int Remove(); public virtual extern void SaveToFile( string bstrFileName); public virtual extern void SaveXML( ref string pbstrFileName); public virtual extern int Update(); }

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