| GetAccountSegmentsByCode Method | |
| See Also |
- AccountCode
- Account code (Code) as assigned in SAP Business One when adding a G/L account with segments. For example, _SYS 00000000010.
- AddSeperator
Specifies whether or not to include a separator, such as - (dash), between the account segments.
The separator is defined in SAP BUsiness One (Administration -->System Initialization --> General Settings --> Display tab).
Returns a Recordset object that contains the value of the FormatCode property for a specified AccountCode.
| Visual Basic |
|---|
Public Function GetAccountSegmentsByCode( _
   ByVal AccountCode As String, _
   ByVal AddSeperator As Boolean _
) As Recordset |
- AccountCode
- Account code (Code) as assigned in SAP Business One when adding a G/L account with segments. For example, _SYS 00000000010.
- AddSeperator
Specifies whether or not to include a separator, such as - (dash), between the account segments.
The separator is defined in SAP BUsiness One (Administration -->System Initialization --> General Settings --> Display tab).