Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Michael Greer

#1
Registration and Setup / Re: User slots
March 18, 2025, 04:25:03 PM
Devon,

Can you share the rules for when PxPlus shares user slots.  If I have a +20 and -20, is that the *same* user slot.  One would think.  In my current context folks are logging in to unix and then firing up the PxPlus application.  If they initiate 2 sessions does this burn off one or 2 slots?

Thanks!
Michael
#2
Registration and Setup / User slots
March 18, 2025, 11:00:35 AM
I have a customer using facetterm to connect to a linux box and run a Pxplus app.  When they make the first connection their user slot (tcb(27)) shows up as -20.  When I connect a second time from the same IP address the user slot shows up as 20.  Is this the same user slot?  Why is one positive and one negative.  Thanks!
#3
This turned out to be related to *something* in MS Business Central.  3rd party had to create a work around.
#4
ODBC / Re: Access DB Connect
February 21, 2025, 10:03:22 AM
Ok.  I was able to access the design view for the table in question *and* the one that worked.  The one failing had a lookup defined.  When I had the Access developer remove that lookup I was able to get a good open.  Thought others might like to know.
#5
ODBC / Access DB Connect
February 20, 2025, 04:29:09 PM
I have an Access DSN (user, I would love to know if anyone has successfully set up an Access System DSN).  This open works:

0220 open (hfn,iol=*,err=9010)"[ODB]TearDownLive;ReceiptTable;key=CoreItemCheckDigit"; in=lfo

But this throws an error 80 - Invalid key definition, number or name.

0220 open (hfn,iol=*,err=9010)"[ODB]TearDownLive;OutInventTable;key=CoreItemCheckDigit"; in=lfo

The person who developed the access tables says they are the same.  Any insight here would be appreciated.  This was supposed to be the easy part :).
#6
Web Services / Re: Web server failing to get requests.
January 13, 2025, 02:48:26 PM
Sure do.  Not seeing the attempts at all, so something between the port and the webserver must be shutting us down, yes?
#7
Web Services / Re: Web server failing to get requests.
January 13, 2025, 12:29:37 PM
Devon,

We are using the Pxplus webserver and using https. I do have a signed cert and have pointed the webserver to a file that has the certificate and the key in it.  2 questions. 1. Would I also put the chain file data in there.  2. If I am logging and the certificate/authentication fails would that activity get logged. With a tcp/ip sniffer we see some activity on the port that we are using (443 of course) but I get nothing in my logs.

Thanks!
#8
Web Services / Web server failing to get requests.
December 30, 2024, 12:20:40 PM
I have a webserver running that I can hit with a get from my browser, or a third party at another location can hit with postman.  I have access, error and request logs all showing the activity.  When the 3rd party tries from Business Central - an MS cloud ap - I don't even see the access log updated even though tcpdump sees the requests hitting the server in question.  Any insight appreciated.
#9
Programming / Re: Possible "bug" in JSON handling
December 13, 2024, 04:48:21 PM
Up to 15.1.  So, it has been addressed. Thanks!
#10
Programming / Possible "bug" in JSON handling
December 13, 2024, 04:26:11 PM
I am hitting an Api endpoint which returns a json payload.  In this case, I am getting 2 items returned so the data tags repeat:

[
  {
    "UPCCode": "00640665853483",
    "VItemID": "98",
    "ItemID": "1891197551",
    "Width": "23.75",
    "Height": "11.00",
    "Length": "6.25",
    "VendorID": "1118101",
    "XOItemID": "1118101-98",
    "Item Name": "Medium Three Light Vanity",
    "Item Number": "853453HB",
    "Image Path": "",
    "Required Items": [
      {
        "SlotRowNum": "4",
        "SlotBase": null,
        "SlotMaxWattage": null,
        "Number": "3",
        "SlotDesc": "12 Watt Medium LED",
        "Required": "1",
        "Included": "0",
        "Name": "Bulbs",
        "LinkedItems": null,
        "FilterKeywords": null,
        "SearchURL": "/lighting-fixtures/light-bulbs?itemNumVal=12 Watt Medium LED",
        "Availability": "Not Included",
        "SearchParam": "12 Watt Medium LED"
      }
    ],
    "Internal Item Number": "YUEX020T6Z"

  },
  {
    "UPCCode": null,
    "VItemID": "12748",
    "ItemID": "2027472751",
    "Width": null,
    "Height": null,
    "Length": null,
    "VendorID": "87",
    "XOItemID": "87-12748",

    "Image Path": "",
    "Short Description": null,
    "Required Items": null,
    "Internal Item Number": "9X26X"
  }

]

Assuming this is in the variable resp$, when I do dim load js$[all]=resp$ I get and error 17.  If I remove what is in italics/blue all works as it should.
#11
Language / Re: 'rb' escape sequece
December 04, 2024, 08:32:59 AM
Thank you.  I didn't remember that the devices had drivers in dev.  Thought they were in a file like the keyboard config.
#12
Language / 'rb' escape sequece
December 03, 2024, 05:30:59 PM
Ok.  Historically 0x07 is the bell character.  How can I determine what PVX is sending when I print 'rb' at a command prompt?  I'm having trouble with a terminal emulator not ringing and need to know this value to help with the config of that emulator.
#13
Language / Re: Json Parsing
November 01, 2024, 05:08:12 PM
Loren - Thanks. This gave me what I needed (had to tweak the code just a bit).  This is not *my* json but is returned by a 3rd party. I agree with you that the ".6" looks like an array element.  I tried ""6"" but to no avail.  The #6 is working.
#14
Language / Json Parsing
November 01, 2024, 03:50:21 PM
I am retrieving a Json that in part looks like this:
{
  "VItemID": "6137",
  "Extra Data": {
    "Number Of Bulbs": {
      "6": {
        "desc": "6",
        "iconbase": null,
        "icon": null,
        "units": "Bulbs"
      }
    }
  }
}

I cannot figure out how to address the data in the "Number of Bulbs" section.
#15
Language / Re: 'window' behavior
October 29, 2024, 12:20:23 PM
James, If I don't make it a child then when I do a 'goto'(0) it gets hidden.  On Windx when it is a child it stays visible, but on a character display it disappears.  Almost as if "child" isn't a concept in the character world.