Versions Compared

Key

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

...

891-002

  1. Payment batch creation

    1. Create a single batch record to create a payment across all created transactions under all the gift records in all the accounts from the intial batch created

    2. Confirm that the batch successfully closes

      1. confirm to see that all gift records' balances are 0 and transactions are created to act as payment to the intial transaction records created

    3. if the batch fails, Utility log log record will be created

Record Involved:

  • 1 Batch record

  • 11 Batch ItemsWIP Batch Items Transactions c/o anderson.pagtabunan - pls plug in the average records

  • 36 - 45 Transaction records per Batch Item

All steps should be executed successfully

Status
colourRed
titleFAIL

Batch 0076229 | Batch | Salesforce

20230529-2338 | UtilityLog | Salesforce

 

...

  • Current Batch class by AQ (Managed packaged), code is hidden, thus, we cannot control the default size of the batch which is 10

  • There are Process Builder and Flow by AQ which design is also hidden - Contact Default CAE Category LIST DOWN NAME HERE anderson.pagtabunan Aldrin Rasdas (UofSyd)

...

Ran this in execute anonymous in developer console:

Code Block
String smartBatchId = 'a0ZBn000000Yx45MAC';

...



AQB.ProcessBatchItems aqSmartBatch = new AQB.ProcessBatchItems(smartBatchId);

...



Database.

...

executeBatch(aqSmartBatch, 1);

End Result: The batch record was closed successfully