Question

Report Rules IFS9

  • 21 September 2022
  • 3 replies
  • 20 views

Badge +1

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 +19

Moved to Framework section.

Userlevel 3
Badge +7

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

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

 

 

BR
Johan

Badge +1

Thank you for the  example.  Worked as expected.

Reply