CreatePaymentPlan(): Why provide start/end dates when using predefined billing schedule?

Former Member
Former Member $organization

CreatePaymentPlan() lets you specify a predefined billing schedule from TR_BILLING_SCHEDULE, and these billing schedules seem to provide information to calculate specific dates.  Why, then, does CreatePaymentPlan() require you to specify start/end dates, even when using a billing schedule?  Which dates take precedence - those calculated from the billing schedule or those provided directly to the API call?

 

(x-post from http://developer.tessituranetwork.com/pages/viewpage.action?pageId=41618932)



[edited by: Bryan Drenner at 11:56 AM (GMT -6) on 28 Apr 2014] Updated question for clarity; added x-post info
Parents
  • Former Member
    Former Member $organization

    Hi Bryan,

    When you add a payment plan in the client you are also required to put in payment dates, even if selecting a billing schedule.

    I don’t think it’s a case of taking precedence, but reliance. The payment schedule needs to know what to consider the start and end date in order to calculate relative dates entered in TR_BILLING_SCHEDULE (it doesn't just assume that today is the start date).

    In the client, these dates default to ‘today’ for the start date and ‘today + 364 days’ for the end date. Depending on your requirements, I’m guessing you could do something similar for the API call?

    Hope that helps,

     

    Natasha 

  • Former Member
    Former Member $organization in reply to Former Member

    Thank you!  That indeed helped.

Reply Children
No Data