📚 SAP Business One SDK Help

GetDunningTermList Method
See Also  Example

Description

Retrieves the keys and names of all the dunning terms.

Syntax

Visual Basic
Public Function GetDunningTermList() As DunningTermsParams

Example

Getting a list of dunning terms (C#)Copy Code
DunningTermsService dts = globals_Renamed.oCompany.GetCompanyService().GetBusinessService(ServiceTypes.DunningTermsService) as DunningTermsService; 
DunningTermsParams dtps = dts.GetDunningTermList(); 
int length = dtps.Count; 
for (int i=0; i<length; i++) 

     Console.WriteLine(dtps.Item(i).Code); 

See Also