Hi, I am looking at the documentation here: https://www.espocrm.com/documentatio...ation/formula/ specifically at the entity\sumRelated item.
Currently the example says:
This should say:
In looking at the documentation there also seems to be a [not tested] similar error in the definition of record\count. This is confusing because you can use KEY / VALUE pairs or a FILTER.
Once example says
so as there is no KEY / VALUE, I am assuming that the 'open' would be a FILTER applied to the Stage ENUM. There is no value 'open' in the default system within Stage.
You also have a confusing example
which seems to mix KEY / VALUE pairs with FILTERs. I have not tested this, but can the system really accept both FILTERs and KEY / VALUE pairs in one item. This must lead to confusion.
You use the text
in a few places, I would suggest this should be
As a general points, it would be great if you could
Thanks for all the help with a great product.
Currently the example says:
entity\sumRelated('opportunities', 'amountConverted', 'won')
entity\sumRelated('opportunities', 'amountConverted', 'Closed Won')
Once example says
record\count('Opportunity', 'open')
You also have a confusing example
record\count('Opportunity', 'accountId=', id, 'stage=', 'Closed Won')
You use the text
KEY1, VALUE2, [KEY2, VALUE2 ...]
KEY1, VALUE1, [KEY2, VALUE2 ...]
- Define what a FILTER is (I am guessing a filter is applied to the "Status Filed" that is defined for the entity). Can I use a report wherever a FILTER is valid?
- Be clear what the default ENTITY_TYPE names are, and their capitals. Is it "Opportunity" or "Opportunities" or "opportunity"
- Be clear what the default LINK names are. These are not shown on the Entity, e.g. I look at Accounts, there is no filed called "opportunities", so where to I look to confirm what it is? Again capitals and plural are important.
- Be clear what the ATTRIBUTEs are. You sort of define it at the top under "Attribute" but not really.
Thanks for all the help with a great product.
Comment