Perform Bill Cycle Schedule
Basic Flow
Start Bill Cycle Schedule
Step | Actor | Action | Description | ||
---|---|---|---|---|---|
1. |
Operation User |
Perform Bill Cycle Schedule now |
Operation User via OCS.io Configuration GUI starts Bill Cycle Schedule with immediate execution.
|
||
2. |
Config / CASM Server |
Trigger Bill Cycle Schedule Process |
OCS.io Configuration GUI / CASM Server triggers Bill Cycle Schedule Process. |
||
3. |
Billing Server |
Start Process |
Billing Server asynchronously starts Bill Cycle Schedule Process. |
Perform Bill Cycle Schedule Process
Step | Actor | Action | Description |
---|---|---|---|
4. |
Billing Server |
Validate |
Billing Server validates that all pre-requisites are met and operation may be performed. |
5. |
Billing Server |
Schedule Bill Cycle |
Billing Server Schedules the open bill cycle. |
Process Notifications by External System
Step | Actor | Action | Description |
---|---|---|---|
6. |
External System |
Subscribe for Notifications |
External System subscribes for notifications related to Bill Cycle Schedule Process. |
7. |
External System |
Process Notifications |
External System process notifications. |
Validate
Following validations are performed before scheduling the Bill Cycle Run:
-
Bill Cycle is properly configured.
-
Bill Cycle Run is in Open state.
-
Billing Period End is before the current date.
Schedule Bill Cycle
Action | Description |
---|---|
Notify Bill Cycle started |
Only for regular Bill Cycle Run notification that Bill Cycle has started is sent. |
Create Account Bill Cycle Run entry |
For each Payment Responsible Account, Account Bill Cycle Run entry is created. |
Set Account’s Semaphore to "Scheduled" |
If validation on Account is successful, Account’s Semaphore is set to "Scheduled". |
Set Account’s Semaphore to "Error" |
If validation on Account is unsuccessful, Account’s Semaphore is set to "Error". |