is there a way to automatically assign specific due dates for a payment schedule?

  • 0
  • 1
  • Question
  • Updated 1 year ago
  • In Progress
What I'm looking to do is link a customers # of payments to trigger specific due dates before they arrive. Due dates would be the day of Invoice Date for payment 1, and any other payments (up to 10) would be required would be monthly until balance is zero at arrival date.

example:
4 payments selected

triggers--> Payment 1 due date to be (today).
payment 2 due date 3 months before arrival date
payment 3 due date 2 months before arrival date
payment 4 due date 1 month before arrival date, etc.
Photo of Ryan

Ryan

  • 940 Points 500 badge 2x thumb

Posted 1 year ago

  • 0
  • 1
Photo of Michelle

Michelle

  • 230 Points 100 badge 2x thumb
Hi Ryan,

You can create a calculated date field based off of the Invoice Date and Arrival Date (I'm assuming that the number of payments is determined by the number of months between the two).  Try this:

If( Month( [Arrival Date] ) >= Month( [Invoice Date] ),
  If( Day( [Arrival Date] ) >= Day( Today() ),
    AdjustMonth( [Arrival Date], Month( Today() ) - Month( [Arrival Date] ) ),
    AdjustMonth( [Arrival Date], Month( Today() ) - Month( [Arrival Date] ) + 1),
  If( Day( [Arrival Date] ) >= Day( Today() ),
    If( Month( Today() ) > Month( [Arrival Date] ),
      AdjustMonth( [Arrival Date], Month( Today() ) - Month( [Arrival Date] ) - 12),
      AdjustMonth( [Arrival Date], Month( Today() )  - Month( [Arrival Date]) ),
    If( Month( Today() ) > Month( [Arrival Date] ),
      AdjustMonth( [Arrival Date], Month( Today() ) - Month( [Arrival Date] ) - 11),
      AdjustMonth( [Arrival Date], Month( Today() )  - Month( [Arrival Date]) + 1 ) ) ) )