Advanced Pack 2.5.14
EspoCRM Version 5.9.3
Hello!
I am building a custom entity where I need a "quarterly" date format.
So if the record has a date field 25.02.2020, there shall be a second date field which is autofilled with "1. Quartal 2020"
I think that this feature should be realised with a formula in the custom entity. But I am not good enough in formulas...
something like:
if field "date" is between 01.01.2020 and 30.03.2020 then field "quartal" is "1. Quartal 2020"
and
if field "date" is between 01.04.2020 and 30.06.2020 then field "quartal" is "2. Quartal 2020"
and
if field "date" is between 01.07.2020 and 30.09.2020 then field "quartal" is "3. Quartal 2020"
and
if field "date" is between 01.10.2020 and 31.12.2020 then field "quartal" is "4. Quartal 2020"
How can this be formulated in a correct working way?
Thank you!
EspoCRM Version 5.9.3
Hello!
I am building a custom entity where I need a "quarterly" date format.
So if the record has a date field 25.02.2020, there shall be a second date field which is autofilled with "1. Quartal 2020"
I think that this feature should be realised with a formula in the custom entity. But I am not good enough in formulas...
something like:
if field "date" is between 01.01.2020 and 30.03.2020 then field "quartal" is "1. Quartal 2020"
and
if field "date" is between 01.04.2020 and 30.06.2020 then field "quartal" is "2. Quartal 2020"
and
if field "date" is between 01.07.2020 and 30.09.2020 then field "quartal" is "3. Quartal 2020"
and
if field "date" is between 01.10.2020 and 31.12.2020 then field "quartal" is "4. Quartal 2020"
How can this be formulated in a correct working way?
Thank you!
Comment