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 - gmundt

#1
Language / Re: Global Variable not Saving
March 06, 2026, 10:32:37 AM
James,

I appreciate the response.  It is a FACTS customer and it appears that newer versions open windows as new sessions which was causing the disconnect.
#2
Language / XML to JSON
March 06, 2026, 10:31:11 AM
I need to convert XML data to JSON.  I see there are some objects to do that, but wondering at what version the json object was available.  The customer is at PxPlus 2018 (15.10).
#3
Language / Global Variable not Saving
January 08, 2026, 03:49:54 PM
I'm just curious about global variables.  I am setting a variable %my_variable$="Greg", but when I pull up a new window and do a ? %my_variable$ it is showing as empty.  Is there something else that needs to be set to define a global variable?  This is version 15.10.
#4
Programming / ENV Function
December 08, 2025, 02:36:10 PM
Can the environment function be used to return environment information from a local machine when in client / server using WindX?

? env("SSI_BASE") returns "" because it is checking for the environment variable on the linux server, but I want to check it on my local PC.
#5
Programming / Scroll Mnemonic
May 07, 2025, 09:39:38 AM
I am trying to use the scroll mnemonic based on some BBx code and having some issues.

print 'scroll'(4,7,76,17)

print @(4,23)"Enter Memo / Item, F3-End, F4-Backup" is printing over the top of line 1.

Any recommendations or suggestions?
#6
Programming / Program Password Removal
April 08, 2025, 02:30:11 PM
Is there a method to remove a password from a program if the user that created the program can no longer remember the password?
#7
Language / Re: Error 117 in Keyed file
March 17, 2025, 11:30:54 AM
I was getting this error on a file that was getting too large.  I had to work around it by doing a check and rotating files when they reached a size limit.
#8
Web Services / Re: Web server failing to get requests.
January 14, 2025, 04:22:34 PM
I don't believe there are any firewalls on the linux server, but will check that out.
#9
Web Services / Re: Web server failing to get requests.
January 14, 2025, 02:17:01 PM
It's a bit of a confusing issue.  What the network team is indicating is that the request makes it through the firewall, but does not show in the logs for the web service.
#10
Web Services / Re: Web server failing to get requests.
January 14, 2025, 12:34:26 PM
It is a linux server running the PxPlus WebServer.  I do know that the server is up.  I also know that a call made from Postman returns a result and the application processes.  A call from Business Central never even makes it to the web server.

1. Is there a difference between pxplus.crt and pxplus.pem?

2. What other locations on the linux server can I see if the call from Business Central is reaching the site?
#11
Web Services / Re: Web server failing to get requests.
January 14, 2025, 11:51:23 AM
Does the certificate have to be .pem.  There is one with .crt which has both Begin / End Certificate and Begin / End Private Key.  The Postman call works, but the program call doesn't even make it to the logs.
#12
Programming / Re: MSGBOX Button Names
December 19, 2024, 10:35:06 AM
I found the issue.  I had to turn on 'MX'

set_param 'MX'
def msg(156)="&Summary,&Detail,&Cancel"
msgbox "Test","Test","?,YESNOCANCEL",xx$
def msg(156)="&Yes,&No,&Cancel"
set_param 'MX'=0

That did the trick.

Thank you James
#13
Programming / MSGBOX Button Names
December 19, 2024, 08:58:33 AM
I am trying to rename buttons on a msgbox command and cannot get it to populate.

def msg(165)="&Summary,&Detail,&Cancel"
msgbox "Test","Test","?,YESNOCANCEL",x$

Still shows Yes No and Cancel as the button options

msgbox "Test","Test","?,BTN1=Summary, BTN2=Detail, BTN3=Cancel,3",x$

Shows just an OK option.

Wondering if this option is available.
#14
Programming / OPOS Integration
November 11, 2024, 10:46:23 AM
Just wondering if anyone has recommendations for accessing OPOS devices using PxPlus.  I would like to communicate with Scanner, Receipt Printer, Scale and Cash Drawer using OPOS, but cannot really find any type of documentation or use cases.
#15
Language / Re: PHP Call Time to read
November 04, 2024, 02:45:34 PM
I have made a modification to the program and I believe that has resolved the time to complete issue.  I believe this is all set.

I changed from:

read record (mychan,err=*next,bsy=*next)r$; rr$=r$; r_cnt++; if r_cnt<5 then goto *same

to:

read record (mychan,err=*next,bsy=*next)r$; rr$=r$; if pos("</pos_store>"=rr$)=0 then r_cnt++; if r_cnt<5 then goto same

This eliminates the need to make multiple tries if the string is read correctly initially and speeds up the result.