Hi,

How to stop only one line of a subscription with several?
I followed the scenario below and at the end I have an error on the domain of 
end dates.
     1. Create a party:
         *  Name: Acme Ltd
             1. Create a subscription Recurrence Rule:
                 *  Name: Weekly rule, Frequency: Weekly, Interval: 1, By Week 
Day: MO
                     1. Create a product:
                         *  Name: Hosting service, Type: Service, Salable: 
True, Default UOM: Unit, List 
Price 70.00, Cost Price: 0.0, Account Category: Default (with account and tax 
defined), Use 
Category's account: True, Use Category's Taxe: True
                             1. Create a subscription Services:
                                 *  Product: Hosting service, Consumption 
Recurrence: Weekly rule
                                     1. Create a subscrition:
                                         *  Party: Acme Ltd, Start date: 
01/01/2018, Invoice Recurrence: Weekly 
rule
                                             1. Add subscription lines:
                                                 *  Service: Hosting service, 
Description: Hosting service 1, 
Consumption Recurrence: Weekly rule, quantity 1
                                                 *  Service: Hosting service, 
Description: Hosting service 2, 
Consumption Recurrence: Weekly rule, quantity 2
                                                     1. I put this subscription 
to running.
                                                     2. I run the wizard 
'Create Line Consumation' for 01/02/2018 : 2 
lines was created, it's OK
                                                     3. I run the wizard 
'Create Line Consumation' for 01/08/2018 : 2 
more lines was created, it's OK too
                                                     4. Now i want to stop the 
Hosting service 2 at 01/14/2018 but not 
the others.
                                                     5. I put the running 
subscription to 'Draft'
                                                     6. I try to put the date 
end to the second line ... 
                                                         *  to make that, I 
need to add date end to the subscription. Why 
if i dont know this info ?
                                                         *  but ok, I put a 
date at the end of the subscription, and I can 
put an end date on my second line but not the real end date (01/14/2018), the 
date after the 
end date.
                                                             1. and now I run 
the wizard 'Create Line Consumation' for the 
date 01/15/2018 and i have this error message 'The value of the field "End 
Date" on 
"Subscription Line" is not valid according to its domain'.
Am I not the right procedure?

Regard.
-- 
Christophe

-- 
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/1736385.TKK7Toeofj%40adz-ccr.

Reply via email to