📚 SAP Business One SDK Help

COGSAccountCode Property
See Also 

Description

Sets or returns the code of the Cost of Goods Sold account.

This is a foreign key to the ChartOfAccounts object.

Field name: CogsAcct.

Length: 15 characters.

Property type

Read-write property

Syntax

Visual Basic
Public Property COGSAccountCode() As String

Remarks

This COGS Account Manual selection task adds COGS account code on item lines, so that the user is able to override default COGS account set on item master data. Because of definition of COGS account on line, COGS profit center (COGSCostingCode) and revenue profit center are affected by the new auto-complete logics, too.

See Also