Update the Cutoff Date

Let's say you have set the cutoff accounting date to a specific date and you want to change the cutoff date of the ledger RRFADB to 2022-06-24. You can use the posting controls REST operations to update the post cutoff date of the ledger RRFADB.

Example URL

Here's an example of the resource URL:

POST
fscmRestApi/resources/11.13.18.05/erpintegrations

cURL Command

curl -i -u "<username>:<password>" -H "Content-Type: application/vnd.oracle.adf.resourceitem+json" -X POST -d <payload> https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/erpintegrations

Example Request

Here's an example of the request body in JSON format:

{
  "OperationName": "processTransaction-updatePostCutOffPref",     
  "ParameterList": "{P_LEDGER: RRFADB,P_CUTOFF_DATE: '2022-06-24'}"
}

Example Response

Here's an example of the response body in JSON format:

{
    "OperationName": "processTransaction-updatePostCutOffPref",
    "DocumentId": null,
    "DocumentContent": null,
    "FileName": null,
    "ContentType": null,
    "FileType": null,
    "DocumentAccount": null,
    "Comments": null,
    "ProcessName": null,
    "LoadRequestId": null,
    "JobPackageName": null,
    "JobDefName": null,
    "ReqstId": null,
    "RequestStatus": null,
    "JobName": null,
    "ParameterList": "{\"X_RETURN_STATUS\":\"S\",\"X_MSG_DATA\":\"Number of Ledgers Updated:1\",\"X_MSG_COUNT\":\"0\"}",
    "NotificationCode": null,
    "CallbackURL": null,
    "JobOptions": null,
    "StatusCode": null,
    "ESSParameters": null,
    "links": [
        {
            "rel": "self",
            "href": "https://fuscdrmsmc323-fa-ext.us2.oracle.com:443/fscmRestApi/resources/11.13.18.05/erpintegrations/processTransaction-updatePostCutOffPref",
            "name": "erpintegrations",
            "kind": "item"
        },
        {
            "rel": "canonical",
            "href": "https://fuscdrmsmc323-fa-ext.us2.oracle.com:443/fscmRestApi/resources/11.13.18.05/erpintegrations/processTransaction-updatePostCutOffPref",
            "name": "erpintegrations",
            "kind": "item"
        }
    ]
}