This object controls the creation of bank deposit slips for cash and cheque transactions.
Create the List View Button
Go to Set up > Object Manager > Gift Transaction
In Gift Transaction Object, under the Buttons, Links, and Actions
Create a New Button or Link
Input the necessary information
Label : Add to Bank Deposit Batch
Name: AddtoBankDepositBatch (auto-populate once the label is entered)
Display Type: List Button
Display Checkboxes: ticked
Behaviour: Display in existing window with sidebar
Content Source: Visualforce Page
Click Save.
Add the List View Button in the List View Button Layout and click Edit and add the list view button.
Click Save and the Add to Bank Deposit Batch button is now displayed in the Bank Deposit List View.
Adding Records to a new or existing Bank Deposit Batch record
The Bank Deposit Batch will only include Gift Transactions with cash or check transactions that are paid and have an empty Bank Deposit Batch field. The Add to Bank Deposit Batch page will be displayed.
In the "Which items will be added to the Bank Deposit Batch" window, selecting "Add selected items" allows you to choose multiple gift transactions to add to a batch.
If "Add all items" is selected, all Gift Transactions meeting the batch criteria will be included in a Bank Deposit Batch.
In “Do you want to add the items to a new Bank Deposit Batch or an existing one?”, selecting “Select an Existing Deposit Batch“ will list all existing Deposit Batch and let you select which one.
If the user selects "Create a New Bank Deposit Batch", it will create a new Bank Deposit Batch with Processing status and add a new bank account.
After following and inputting the necessary information click OK and a message will display confirming the number of Gift transactions selected and an update message.
Generate Bank Deposit Slip
A Bank Deposit Slip will only be generated if the Batch Status is Open and no Salesforce file is attached to the record.
When Generate Bank Slip is clicked on a Batch Deposit Batch, a message will show that the generation is in progress and the Batch Status is updated to Processing.
When the bank slip generation is done and successful, the Batch Status will be updated to Generated. The When Generated field is set to the current date/time. A PDF file is also generated based on the Bank Deposit Batch. The related Gift Transactions are linked to the Bank Deposit Batch record too.
If the process is Unsuccessful, the Batch Status is updated to Failed, and check the status message to why the bank slip is not generated.