Deluge function : try to find the minimum value in a field from all the sub module
Hi all,
I have a CRM Entreprise edition.
MY "Accounts" module has a submodule "Print".
For each account, several prints of course.
In the module "print", I have a date type field which is "FDC".
In a workflow, when adding or modifying a "print" record, I would like to fetch all the "print" records of the linked "Account" and fin the minimum FDC value of all these "print".
Then put this FDC value in a fied in the Account "Date_FDC_MFP".
I am tryiing to do this with a function a the arguments ID Print ID Compte but I can manage to do this.
If anyone could help me, it would be wonderful.
Many thanks in advance
Emmanuel