📚 SAP Business One SDK Help

GetDepositList Method
See Also  Example

Description

Returns the DepositsParams data collection that identify all deposits.

Syntax

Visual Basic
Public Function GetDepositList() As DepositsParams

Example

Getting Deposit (C#)Copy Code
SAPbobsCOM.DepositsParams dpsParamsGet = (SAPbobsCOM.DepositsParams)dpService.GetDepositList(); 
if (dpsParamsGet.Count > 0) 

    //You can get the "DepositNumber" one by one. 
    foreach (SAPbobsCOM.DepositParams dpsParamGet in dpsParamsGet) 
    { 
        int dpsNumber = dpsParamGet.DepositNumber; 
        //Get Deposit 
        SAPbobsCOM.Deposit dpsGet = dpService.GetDeposit(dpsParamGet); 
 
       //Any operations as you like. 
    } 
}

See Also