Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This object controls the creation of bank deposit slips for cash and cheque transactions.

...

Please note that you can only add Gift Transaction records to a Bank Deposit Batch.

Create the List View Button

Go to Set up > Object Manager > Gift Transaction

In Gift Transaction Object, under the Buttons, Links, and Actions

...

  • 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 record 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.

...

If "Add all items" is selected, all Gift Transactions meeting the batch criteria will be included in a Bank Deposit Batch.

...

image-20240216-051128.pngImage Removedimage-20240216-051128.pngImage Added

In “Do you want to add the items to a new Bank Deposit Batch or an existing one?”, selecting “Select an Existing Deposit Batchwill list of all existing Deposit Batch will display and will let you select which one.

...

If the user selects "Create a New Bank Deposit Batch", it will create a new Bank Deposit Batch witha 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.

...

...

When the Gift Transaction records are linked to the Bank Deposit Batch record, the Bank Deposit Batch record is updated where:

  • Total Cash Amount = overall total Original Amount of ALL Gift Transaction (Payment Method = Cash) records linked to the Bank Deposit Batch record

  • Total Check Amount = overall total Original Amount of ALL Gift Transaction (Payment Method = Check) records linked to the Bank Deposit Batch record

  • Total Transaction Amount = total of Total Cash Amount and Total Check Amount (auto-calculated)

...

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.

You can also generate a bank deposit slip even if the Bank Deposit Batch has no related Gift Transaction.