📚 SAP Business One SDK Help

CardCode Property
See Also 

Description

Sets or returns the customer or vendor code.

Field name: CardCode.

This is a foreign key to the BusinessPartners object.

Sets or returns the business partner identification number in SAP Business One.

Field name: CardCode.

Length: 15 characters.

This is a foreign key to the BusinessPartners Object

Property type

Read-write property

Syntax

Visual Basic
Public Property CardCode() As String

Remarks

For oInventoryGenEntry and oInventoryGenExit document types, DI API versions 6.2 and 6.5, the value of this property specifies the G/L Account number.

From DI API version 2004, this property is not relevant for oInventoryGenEntry and oInventoryGenExit document types. The G/L account for these document types is based on AccountCode property in Document_Lines object (which its default value is taken from the G/L account associated with the item).

See Also