Friday, January 17, 2020

How to call Business Service from Calculated Field Expression

Through InvokeServiceMethod we can call Business service from a Calculated Field Expression.


Syntax:
InvokeServiceMethod ("Business Service Name", "MethodName", "inputarg1=" + [Field Name 1] + "," + "inputarg2=" + [Field Name 2], "outputarg")


Note: We should avoid using InvokeServiceMethod if the Calculated Field is exposed in the UI. Business Service will be invoked every time user step off a record.

No comments:

Post a Comment

Updating parent BC depending on the status of child BC using configuration

Parent BC: Service Request Child BC: Action Requirement: When all the Actions corresponding to an SR are closed the SR status should be “Clo...