This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Compliance Kit - Manager Properties - Auto Calculated Properties - Set a property on another object

Hello everyone,

Do you know if it is possible to set a certain property on another object based on a currently edited document's calculation rule ?

Example : I am linking a report to an invoice through a metadata (Chose from list filter by class=report) and I'd want to set  boolean property to true on that linked report.

Thanks for your help,
Claudio

Parents
  • You may need an extra step in the process to do that. At first you create a relation FROM the invoice to the report if I understand you correctly. That does not change anything on the report itself. However, you can use Managed Properties to automatically created the reverse relation on the report by adding a "invoice" property on the report. Once that is in place it is fairly simple to set a boolean property to True if the "invoice" property is not empty. Perhaps you don't even need the boolean property when the "invoice" property is there?

  • Hello,

    Thanks for your help, I think I understood your point but we're already doing that.
    We have on the report's metadata card a property "Invoices" and if we link an invoice there the boolean is set to true ON the report (Customer's request by the way)

    However, what we want is the other way round : linking a report TO the invoice and setting the linked report's boolean to true.

    I have attached here a screen, hope it helps to understand

  • Not sure that I fully understand, because your screenshot confirms my original understanding that you are working on the Invoice where you add a relation FROM invoice TO report, and then you want to set a boolean property on the report. However, your text says that you have a relation FROM the report To the invoice, but that relation is not visible in your screenshot. It may, of course, be outside the visible area of the metadata card.

    If my understanding still is correct, I want you to use Managed Properties to add a reverse relation (Liaisons á d'autress documents) on the report pointing back to the invoice. When that happens you can easily add a rule to also set "Traité" as True.

  • Hi,

    I think I got your point, however I don't know how to "add" that reverse relation with the Managed Properties ?
    I suppose I need to create an "Auto Calculated properties" with the "invoice" property and set it with a dynamic value which is the invoice previously edited with the linked reports. Moreover, the calculation rule would be filtered on the report, right ?

    Would you mind giving me more tips on how to do that ?

    Thank you very much
    Claudio

Reply
  • Hi,

    I think I got your point, however I don't know how to "add" that reverse relation with the Managed Properties ?
    I suppose I need to create an "Auto Calculated properties" with the "invoice" property and set it with a dynamic value which is the invoice previously edited with the linked reports. Moreover, the calculation rule would be filtered on the report, right ?

    Would you mind giving me more tips on how to do that ?

    Thank you very much
    Claudio

Children