Close schedules using Python Script
Summary
Invoke Purchasing REST Services to close Schedules using Python ScriptContent
Prerequisites:
To be able to invoke rest services:
-
First, make sure whether user has Role ‘PO_ADMINISTER_PO_REST_SERVICE’
-
Since we cannot modify seeded roles in customer PODs … we will have to create a temporary role and have Rule ‘PO_ADMINISTER_PO_REST_SERVICE’ assigned and add the user who wish to invoke close schedules
-
Then submit the ess jobs:
- Import User and Role Application Security Data
- Retrieve Latest LDAP Changes
For script to work:
- Download latest Python version: https://www.python.org/downloads/ (Or if python already installed use it as long as its Python 3)
Tagged:
3