biuan SAP® BUSINESS ONE SDK
DTW Business Partners / Business Partner Master Data
API BP Bank Accounts / Delete
Delete Method

Description

Deletes the current line.

Returns a result value that indicates success or failure.

Syntax

Visual Basic
Public Sub Delete() 

Remarks

If you delete the default bank account for a business partner, the first bank account in the remaining list becomes the default.

Example

Deleting business partner bank account (C#)
SAPbobsCOM.BusinessPartners oBP; // Delete BP bank account if (oBP.GetByKey("11") == true) { oBP.BPBankAccounts.SetCurrentLine(1); oBP.BPBankAccounts.Delete(); oBP.Update(); }

See Also



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