📚 SAP Business One SDK Help

GetNCMCodeSetupList Method
See Also  Example

Description

Retrieves the keys and names of all the NCM codes.

Syntax

Visual Basic
Public Function GetNCMCodeSetupList() As NCMCodeSetupParamsCollection

Example

Getting a list of NCM codes (C#)Copy Code
NCMCodeSetupParamsCollection getlistParams; 
getlistParams = oNCMSrv.GetNCMCodeSetupList(); 
 
String resultSet = ""; 
 
foreach (NCMCodeSetupParams record in getlistParams) 

    resultSet = resultSet + record.NCMCode + "\t" + record.Description + "\n"; 
    if (record.AbsEntry >= 10) 
        break; 

See Also