There is an entity named "prim" in EspoCRM. This entity has two fields as cOrderingDate (date), cPaymentDate (date).
1 month should be added to the month value found in the date value entered in the cOrderingDate field.
Then, the 15th of the month in the calculated new date should be written in the premium payment date field.
Examples;
if the order date is March 1, the premium payment date should be April 15,
if the order date is March 31, the premium payment date should be April 15.
In short, premiums are paid on the 15th of the following month.
Additional information: EspoCRM version 8.4.2.
I want to realize this request by writing to the "before save custom script" field with the formula feature in the "prim" entity.
Thanks in advance
1 month should be added to the month value found in the date value entered in the cOrderingDate field.
Then, the 15th of the month in the calculated new date should be written in the premium payment date field.
Examples;
if the order date is March 1, the premium payment date should be April 15,
if the order date is March 31, the premium payment date should be April 15.
In short, premiums are paid on the 15th of the following month.
Additional information: EspoCRM version 8.4.2.
I want to realize this request by writing to the "before save custom script" field with the formula feature in the "prim" entity.
Thanks in advance
Comment