📚 SAP Business One SDK Help

DeleteNCMCodeSetup Method
See Also  Example
pINCMCodeSetupParams
The key of the NCM code to be deleted.

Description

Deletes an existing NCM code.

The NCM code is specified by its key (AbsEntry), which is contained in the NCMCodeSetupParams object passed to the method.

Syntax

Visual Basic
Public Sub DeleteNCMCodeSetup( _
   ByVal pINCMCodeSetupParams As NCMCodeSetupParams _
) 

Parameters

pINCMCodeSetupParams
The key of the NCM code to be deleted.

Remarks

You cannot delete an NCM code that is associated with a DNF code, an item, or an item group.

Example

Deleting an NCM code (C#)Copy Code
NCMCodeSetupParams delLine; 
 
delLine.AbsEntry = 1234; 
oNCMSrv.DeleteNCMCodeSetup(delLine);

See Also