Hello together,
for some testings I am using the ESPOCRM demo
Inside this demo i've added a formula in fomula field to entitiy "account"
$someVariableName='IDAccount';
$IDAccount=accountId;
$someVariableName='IDAuftrag';
$IDAuftrag=record\findRelatedOne('Account',$IDAcco unt,'quotes','dateOrdered','desc');
letzterAuftrag=record\attribute('Quote',$IDAuftrag ,'dateOrdered');
"letzterAuftrag" is a new field created in account.
Unfortunatley i do not what i did wrong, as it is not working. Currently it just shows no result
What I want is to review all connected entities "Quote" for each "Account" and want to show on "Account" page the latest date when a customer did an order. so to show "dateOrder" out of "Quote"-Entity inside "Account"-Entity
for some testings I am using the ESPOCRM demo
Inside this demo i've added a formula in fomula field to entitiy "account"
$someVariableName='IDAccount';
$IDAccount=accountId;
$someVariableName='IDAuftrag';
$IDAuftrag=record\findRelatedOne('Account',$IDAcco unt,'quotes','dateOrdered','desc');
letzterAuftrag=record\attribute('Quote',$IDAuftrag ,'dateOrdered');
"letzterAuftrag" is a new field created in account.
Unfortunatley i do not what i did wrong, as it is not working. Currently it just shows no result
What I want is to review all connected entities "Quote" for each "Account" and want to show on "Account" page the latest date when a customer did an order. so to show "dateOrder" out of "Quote"-Entity inside "Account"-Entity
Comment