Calling External c# form by passing parameter

  • 7 December 2019
  • 2 replies

Badge +1

i have created a grid view form to display the payroll summary in c# form, now i want to call it from payrol calculation screen of IFS by passing payroll id.  i know i can call the form by using external program. I dont know how to pass parameters.


Best answer by Lahirumala de Mel 10 December 2019, 04:28

View original

2 replies

Userlevel 6
Badge +14

Does this help?


FndPLSQLSelectCommand cmd = new FndPLSQLSelectCommand(cnn, stSQL);

cmd.BindVariables.AddFndTextVariable("order_no", order_no, FndBindVariableDirection.In);

Userlevel 1
Badge +2

You can follow this documentation path which shows how form data can be used as parameters for an “external program” type custom menu.
Basically you can write it like this


Then in your application access payroll_id as a commandline parameter as you would do in a normal c# application.