How to Retrieve Batch Number Programmatically After Import for ESS Job "Create Accruals for Channel — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to Retrieve Batch Number Programmatically After Import for ESS Job "Create Accruals for Channel

edited Aug 29, 2025 3:04AM in SCM Integrations

Summary:

Hi all,

We’re creating supplier transactions accruals in CHRM via Import Management and then running the ESS job:
"Create Accruals for Channel Batch", which requires the following parameters:

  1. Business Unit Name
  2. Supplier Invoice Number
  3. Batch Number (Optional in definition, but required in our process)

According to Oracle Docs, the Batch Number comes from the Load Transactions process or can be viewed under Manage Batches.

We tried using the REST API:

/crmRestApi/resources/latest/importActivities

While this returns the ImportActivityId and file details, it does NOT include the Batch Number (DOCUMENT_BATCH_ID), which is needed as input for the ESS job.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!