biuan SAP® BUSINESS ONE SDK
DTW Banking / Bill of Exchange / Bill of Exchange Transactions
API Deposits Service / Update Deposit

Description

Updates an existing deposit.

The data for the deposit, including the key of the deposit to be updated, is contained in the Deposit object passed to the method. To update a deposit, you must first retrieve it using the GetDeposit method.

Syntax

Visual Basic
Public Sub UpdateDeposit( _
   ByVal pIDeposit As Deposit _
) 

Parameters

pIDeposit
The data for the deposit to be updated. The Deposit object must contain the key of the object to be updated.

Example

Updating Deposit (C#)
//Get an existing deposit object SAPbobsCOM.DepositsParams dpsParamsGetForUpdate = (SAPbobsCOM.DepositsParams)dpService.GetDepositList(); if (dpsParamsGetForUpdate.Count > 0) { foreach (SAPbobsCOM.DepositParams dpsParamGetForUpdate in dpsParamsGetForUpdate) { //Get deposit SAPbobsCOM.Deposit dpsGetForUpdate = dpService.GetDeposit(dpsParamGetForUpdate); //Update deposit journal remarks dpsGetForUpdate.JournalRemarks = "Updating existing deposit"; //Update the deposit dpService.UpdateDeposit(dpsGetForUpdate); //Change the first deposit only break; } }

See Also

Related information


Cancel Check Row Params CancelCheckRowParams Object
Holds the key to an existing check. This object is used to pass keys to and retrieve keys from DepositsService methods.
   Parent: Deposits Service DepositsService Service· Table: ODPS

Deposit Deposit Object· Table: ODPS
Represents the deposits for received checks, credit card vouchers, and cash. Source table: ODPS.
   Parent: Deposits Service DepositsService Service· Table: ODPS

Deposits Params DepositsParams Collection
A collection of DepositParams objects.
   Parent: Deposits Service DepositsService Service· Table: ODPS

Deposits Service Data Interfaces DepositsServiceDataInterfaces Enumeration
DepositsService data interfaces.
   Parent: Deposits Service DepositsService Service· Table: ODPS

Deposits Service DepositsService Service· Table: ODPS
The DepositsService service enables you to add, look up, update and cancel deposits for: Cash Checks Credit card vouchers For Chile, France, Italy, Portugal, and Spain localizations, you can view deposited bills of exchange (BoE). Source...



SAP® Business One is the trademark(s) or registered trademark(s) of SAP AG in Germany and in several other countries. Contact
This website is not affiliated with, maintained, authorized, endorsed or sponsored by SAP AG or any of its affiliates