Tries to delete a GLAccount entry in the database (not set inactive)
Syntax
void
deleteGLAccount
(
long
gLAccountId
,
Long
paymentInstrumentId
,
Identification
identifi
,
Customer
customer
)
Parameters
-
gLAccountId –
This contains the CustomerId of the GLAccount which will be deleted (mandatory)
-
paymentInstrumentId –
This contains the id of the Payment - Instrument, it´s just mandatory if it exists otherwise the delete - Request will fail.
-
identifi –
This contains the Identification, it´s just mandatory if it exists otherwise the delete - Request will fail.
-
customer –
The customer Object of the GLAccount (mandatory) otherwise an EntityNotFoundException will be thrown.