Plex 2E

Expand all | Collapse all

Calling Plex Functiond from C# .NET

  • 1.  Calling Plex Functiond from C# .NET

    Posted Jul 29, 2016 04:51 PM

    When calling a plex function using OBrun - I cannot get the response of the call status

     

    example

     

     

     

     

    dsOutput = app.M_ObCallMgr.obCallFunction(dsInput);

     

    // Set up the returnedSatus and rowsFetched values passed back.


     

    returnedStatus = dsOutput.Tables["PlexSystem"].Rows[0]["Returned"].ToString();

     

     

    callStatus  = dsOutput.Tables["PlexSystem"].Rows[0]["CallStatus"].ToString();

     

     

     

    I would expect to be able to issue the second statement to obtain the Call status - but this is not accepted and I have to remove it to compile

     

    I did notice that item 3 in the Plexsystem row array is a Boolean - so probably should be obtaining that -

     

    can anyone supply the correct way to trap if the call status was valid other than using a try/catch 

     

     

     

     

     

     

     

     

     

     

     



  • 2.  Re: Calling Plex Functiond from C# .NET

    Posted Jul 31, 2016 10:52 AM
      |   view attached

    I always enjoyed the attached doc

    Attachment(s)



  • 3.  Re: Calling Plex Functiond from C# .NET

    Posted Jul 31, 2016 11:05 AM

    But no Call Status.

     

     

    Untitled.png



  • 4.  Re: Calling Plex Functiond from C# .NET

    Posted Aug 01, 2016 09:03 AM

    Yes - as you say George - no call status !!



  • 5.  Re: Calling Plex Functiond from C# .NET

    Posted Aug 01, 2016 09:20 AM

    After inspecting the dsOutTables["PlexSystem"] object - the call status is a Boolean "FunctionCall" as the 3rd item - but we also get "Returning" as well