Question

Report Rules IFS9

  • 21 September 2022
  • 3 replies
  • 83 views

Badge +4

I am trying to include an API  in Expression 1 of the Report Rules form.  I am running into an issue either it is a bug or sql and or APIs have restrictions in this form. Can anyone suggest or reccomend a way to include APIs to default a report layout based on the conditions entered.

I have used our company’s appowner and &AO.xxx as prefixes.  Neither seem to make a difference.

 

Thank You.


3 replies

Userlevel 7
Badge +30

Moved to Framework section.

Userlevel 4
Badge +8

Example: IF company = x on Customer Invoice THEN do something

[&Site_Api.Get_Company('[@CUSTOMER_ORDER_IVC_REP/CONTRACT]')]

 

 

BR
Johan

Badge +4

Thank you for the  example.  Worked as expected.

Reply