mikcanf | Posts: 71

Expiry date

0 votes

Re Expiry date, it seems I can check [defaultTimeBasedExpiry] bool field to know Expiry date s/b calc'd by adding [remainingDays] field to Txn creation date.

There is another field call [maximumRemainingDays]<- what is this? where is it set?


Duo_Liang | Posts: 3776

Reply to: Expiry date

0 votes

Hi Mike,

 

Exactly like you said, “defaultTimeBasedExpiry” and “remainingDays” work in tandem and calculate the “due” attribute that finally determines the expiry date.

 

"maximumRemainingDays" also relates to expiry, which defines the maximum number of days that can be set for expiration.

-Set to 0 means there's no limitation for expiry

-When enabling it, you need to have a "remainingDays" as default value although "defaultTimeBasedExpiry" could be "false", and making sure the default "remainingDays" is shorter than  "maximumRemainingDays"

 

Duo


Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off