biuan SAP® BUSINESS ONE SDK
DTW Administration / Setup / Financials / Account Segmentation
API Account Segmentations

Description

The AccountSegmentations object represents the account segments in the Financials module. The default segments are: Division, Region, and Department.

When creating a new company, before defining any accounts, this object enables you to:

  • Add up to 10 segments.
  • Retrieve a segment by its key.
  • Update a segment.
  • Save the object in XML format.

After creating an account with segments, you can modify only the segment Name.

Source table: OASG.

Object Model

Remarks

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:

  • Select Administration --> Setup -->Financials -->Account Segmentation.

See Also

SAP® B1 DI-API C# definition

public class AccountSegmentationsClass : IAccountSegmentations, AccountSegmentations { public virtual DataBrowser Browser { get; } public virtual AcctSegmnt_Categories Categories { get; } public virtual string Name { get; set; } public virtual int Numerator { get; } public virtual int Size { get; set; } public virtual AccountSegmentationTypeEnum Type { get; set; } public virtual SAPbobsCOM.UserFields UserFields { get; } public extern AccountSegmentationsClass(); public virtual extern int Add(); public virtual extern string GetAsXML(); public virtual extern bool GetByKey( int lAbsID); 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(); }

Related information


Acct Segmnt Categories AcctSegmnt_Categories Object· Table: OASC
The category of the account segmentation. Source table: OASC.
   Parent: Account Segmentations AccountSegmentations Object· Table: OASG

Account Segmentation Type Enum AccountSegmentationTypeEnum Enumeration
Data types for account segments.
   Parent: Account Segmentations AccountSegmentations Object· Table: OASG


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