Webrun /lawsion-ios/action/AddAttachment

 4 Replies
 1 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
Lance Jurgensen
Advanced Member
Posts: 36
Advanced Member
    I am attempting to add a Delivery comment to the POLINE.  One of the things I do not understand and can not find documentation on is what the K1 through K5 should be. I am guessing here on these settings from running this ListAttachment in the browser and looking at the values it spits out.

    The editor is killing the text I'm trying to put here, please see attachment
    Attachments
    Ragu Raghavan
    Veteran Member
    Posts: 475
    Veteran Member
      K1 and K5 look like the 5 keys to identify the POLINE record.

      PLISET1
      COMPANY
      PO-NUMBER
      PO-RELEASE
      PO-CODE
      LINE-NBR
      Lance Jurgensen
      Advanced Member
      Posts: 36
      Advanced Member

        Any ideas what to default in when some of these are blank?  PO-CODE for example is null in our data...

        Garry Ferwerda
        Basic Member
        Posts: 20
        Basic Member

          Remove the attachmentCategory=C parameter from the call and you will no longer get the UNKNOWN_ERROR.  The documentation is wrong, this is not a valid parameter for this service.  

          Lance Jurgensen
          Advanced Member
          Posts: 36
          Advanced Member

            Thanks for that bit of information, good to know and doesn't surprise me that the documentation would be wrong!

            Unfortunately it did not resolve the issue, still getting the unknown error and it  is pointing to IOS.LOG which has no entry for this issue...

              WebRun5510_result = |?xml version="1.0" encoding="ISO-8859-1"?||ERROR key="UNKNOWN_ERROR" level="1"||MSG||![CDATA[ An unknown error occurred. Please contact your system admin. ]]||/MSG||DETAILS||![CDATA[ Check IOS logs for details. ]]||/DETAILS||/ERROR|
            WebRun WebRun5510: Success string  found
            WebRun5510_errorCode = 0
            WebRun5510_informationCode = 0
            WebRun5510_returnMessage =
            WebRun5510_outputData =
            Activity name:WebRun5510 id:4 completed  @ 12/01/2017 07:52:59.752 AM