Openbravo Issue Tracking System - Modules
View Issue Details
0026737ModulesService Contract Managementpublic2014-05-30 01:112014-05-30 11:40
sjkumar 
vmromanos 
normalcriticalhave not tried
closedinvalid 
5
 
 
vmromanos
0026737: 56 VERSION OBX - Commitment Expiration process donot reset the available amount
Steps:
1)Create a Subscription:10000046 . The parent line has available amount still left with 77.32.The end date put for the line “Oracle Cloud IAAS Service-Purchased Amount’ is 06-03-2014
2)Preference value is setup as 8
3)Ran “Commitment Expiration Process” background process But still the available amount did not get reset. The end date of the line is falling between the today + margin days defined BUT still it did not reset the available amount.( End date = 3-june-2014 and margin date = today date +8 = 05-JUN-2014

Screen shot attached
Steps:
1)Create a Subscription:10000046 . The parent line has available amount still left with 77.32.The end date put for the line “Oracle Cloud IAAS Service-Purchased Amount’ is 06-03-2014
2)Preference value is setup as 8
3)Ran “Commitment Expiration Process” background process But still the available amount did not get reset. The end date of the line is falling between the today + margin days defined BUT still it did not reset the available amount.( End date = 3-june-2014 and margin date = today date +8 = 05-JUN-2014

Screen shot attached
No tags attached.
doc commitment.doc (156,160) 2014-05-30 01:11
https://issues.openbravo.com/file_download.php?file_id=6970&type=bug
Issue History
2014-05-30 01:11sjkumarNew Issue
2014-05-30 01:11sjkumarAssigned To => vmromanos
2014-05-30 01:11sjkumarFile Added: commitment.doc
2014-05-30 07:27sjkumarNote Added: 0067593
2014-05-30 11:40vmromanosReview Assigned To => vmromanos
2014-05-30 11:40vmromanosNote Added: 0067611
2014-05-30 11:40vmromanosStatusnew => closed
2014-05-30 11:40vmromanosResolutionopen => invalid

Notes
(0067593)
sjkumar   
2014-05-30 07:27   
there is a typo- THe issue is happening in 57 version. I by mistakenly put in the summary:56 VERSION
(0067611)
vmromanos   
2014-05-30 11:40   
Issue rejected: Expected behaviour.

The expire commitment objective is to expire the pending available amount for a subscribed services line that is over, i.e. whose ending date is before "today".

Example:
Today is 05-30-2014, that means that the process will expire the available amount for any subscribed services line with ending date equal or before 05-29-2014.


The margin days preference is a way to postpone this expiration n days.
Example:
Imagine we have a subscribed services line with ending date = 01-01-2014. If the margin days is 0, the available amount expiration will take place on 01-02-2014 (or after)
If the margin days is 5, the available amount expiration will take place on 01-07-2014 (5 days later).


In your example you have a line with ending date = 06-03-2014. If the margin days is 0, the available amount expiration will take place on 06-04-2014. If the margin days is 8, the available amount expiration will take place on 06-12-2014.