📚 SAP Business One SDK Help

AccountCode Property
See Also 

Description

Sets or returns the G/L account code of the business partner as defined in Chart of Accounts.

Field name: AcctCode.

Mandatory property.

Length: 15 characters.

Property type

Read-write property

Syntax

Visual Basic
Public Property AccountCode() As String

Remarks

To set the AccountCode value when working with segmentation, use the FormatCode to find its key value (for example, _SYS00000000010) as follows:

1. Find the account key using the method GetObjectKeyBySingleValue.

2. Use the returned Recordset to retrieve the value of the key (for example, _SYS00000000010).

Example

See Also