Sage 100

 View Only
  • 1.  UI object for AR_CustomerDocumentContacts

    Posted 02-02-2023 16:12
      |   view attached
    I am writing a BOI app that, among other things, needs to save Paperless Office settings for a customer.  The AR_CustomerDocuments object has both a _bus and a _ui, but the AR_CustomerDocumentContacts object does not have a ui.
    How do I get a TaskID for this?  Is there another ui object it uses?  Is it PL_CommonDeliveryOptions_ui?

    ------------------------------
    Phil McIntosh
    President
    Friendly Systems, Inc.
    ------------------------------


  • 2.  RE: UI object for AR_CustomerDocumentContacts

    Posted 02-03-2023 02:43
    Why can't you use its _BUS object to save customer document settings?

    ------------------------------
    Dan Burleson
    Software Consultant
    Connex Software
    ------------------------------



  • 3.  RE: UI object for AR_CustomerDocumentContacts

    Posted 02-10-2023 11:45

    Without a SetProgram, DispatchObject sage = new DispatchObject(pvx.InvokeMethod("NewObject", "AR_CustomerDocumentContacts_bus", oSS.GetObject())); thorws an error:  "Exception has been thrown by the target of an invocation."



    ------------------------------
    Phil McIntosh
    President
    Friendly Systems, Inc.
    ------------------------------