Question Rochdi Badis · Sep 14, 2022 Comparing %TimeStamp data types Hi Guys, I do have a class where one it's fields is defined as %TimeStamp and I did query to select all records and if current datetime is bigger then what's in my nextScheduled filed and basically with this condition below I should have all records stored in ^badis but for some reason I'm only getting the first record #Ensemble 0 5 0 447
Question Rochdi Badis · Sep 4, 2022 System having trouble writing data to disk Hi Guys, I've this warning message in SMP (attached below), we have more than enough disk space (1.5TB free) so not sure where to check and what could be the problem, eg. which database, global or process ...etc? Thanks #Key Question #Ensemble 0 17 0 846
Question Rochdi Badis · Aug 20, 2022 Inbound adapter URL Hi Guys, I'm a newbie in Ensemble productions and I've been asked to create an Inbound adapter and specify a port of which clients can send through JSON files and I did as attached, but now I've been asked to provide the URL to give to our clients so they send their JSON files to and I don't know what URL is should look like!? Thanks #Ensemble 0 3 0 189
Question Rochdi Badis · Aug 17, 2022 Ensemble default packages Hi Guys, I've newly joined a new company and have been asked to get the number of classes in their system and was wondering if Ens, EnsLib and EnsPortal are normally a system or default packages that comes with default classes that developers can use or override? #Ensemble 0 6 0 208
Question Rochdi Badis · Aug 17, 2022 Counting line of code in all classes Hi Guys, is there an easy way to count all line of codes in all classes in a namespace ? I've been asked to give the total lines of code in all our system and we have over 3000 classes, so opening each one of them to check total line would take a long time. Thanks #Ensemble 0 10 0 313
Question Rochdi Badis · Aug 16, 2022 Can run application in IE Hi Guys, My application is running in Chrome but not in IE and I'm guessing it's a security issue, where when I open IE it tells me that ESC in on, but checking the configue in Server Manager tells otherwise? Thanks #Ensemble 0 1 0 179
Question Rochdi Badis · Jul 21, 2022 Zen Page source url Hi Guys, usually when I want to find out which class is a zen page is, I just right click on the page and go to properties and this will show me the class url, but with this client I don't get properties as below !? Thanks #Ensemble 0 3 0 253
Question Rochdi Badis · Jul 20, 2022 Inbound Adapters Hi Guys, Is there online tutorials or samples on how to use Inbound Adapters ? All I'm looking for at this stage is to create and inbound Adapter in a production to request to connect to a client where I can Get JSON file and what do I need to establish the connection? Thanks #Ensemble 0 1 0 220
Question Rochdi Badis · Jul 20, 2022 Dealing with single Quote in SQL Query Hi Guys how do I deal with single Quote inside string in an SQL query? currently this type of query is failing with an error asking me for a closing quote : Select * from cnd.Facilities where name like ''%Grill's BBQ%' Thanks #Ensemble 0 5 0 950
Question Rochdi Badis · Jul 19, 2022 Empty HTTP response Hi Guys, We use the below code to send JSON file to one of our clients and was working fine but I think lately they did a windows update and now whenever we send file we aren't getting any HTTP responses, success or Error, just empty response () the think is that it works fine and we get 200 response if we send the JSON file using our client's portal called swagger which is a website where you can assign the token and url (Swagger UI (vibra-api-prod.azurewebsites.net)) #Ensemble 0 6 0 321
Question Rochdi Badis · Jul 14, 2022 Clone Class Hi Guys, How can I create a clone class so I can keep a copy of all records in that clone class? Basically, I have a class where sometime records might be delete from it, so I would like to create clone class or merge the global content in another backup global so that records can be deleted from the original class but still have a copy of those delete records in my clone or backup global ? Thanks #Ensemble 0 5 0 365
Question Rochdi Badis · Jul 14, 2022 Deleted records Hi Guys, is there a way to get an audit or a record of deleted records in a class? #Ensemble 0 6 0 366
Question Rochdi Badis · Jul 7, 2022 Crystal Report 2020 compatibility Hi Guys, this might be a dumb question but is Crystal report 2020 compatible with Ensemble 2014 datasource driver? Thanks #Ensemble 0 1 0 271
Question Rochdi Badis · Jul 5, 2022 Exporting to Excel with %DisplayFormatted Hi Guys, I'm using the below to export a query result to excel file and the only file type is .csv (100) but the resulting has two problems, first the row header is including the field type and second the resulting file is a tab delimited so columns aren't properly separated (see attached below) set st = ##class(%SQL.Statement).%New(2,"Sample")set sql = "select ID, name from MyClass"do st.%Prepare(.sql)set type="csv" set rs = st.%Execute() do rs.%DisplayFormatted(type,"C:\Temp\report") #Ensemble 0 5 0 358
Question Rochdi Badis · Jun 7, 2022 Connecting two ensemble instances Hi Guys, We currently running all our clients in Ensemble 2014, but now we are having a problem that 2014 can't resolve (TLS version is 1 where we need TLS 1.2 or higher). #Ensemble 0 1 0 174
Question Rochdi Badis · Jun 4, 2022 SSL/TLS connection error Hi Guys, I'm getting the below TLS error in SSL_connect(), SSL_ERROR_SYSCALL, I've treid mulitple SSL/TLS configuration and still get the same error, so should I be asking the client that I'm trying to connect if there a specific certificate or configuration!? #Ensemble 0 4 0 604
Question Rochdi Badis · Jun 2, 2022 Converting from UTC Hi Guy, is there like a utility or a function that convert from UTC to Locale time? Thanks #Ensemble 0 4 0 314
Question Rochdi Badis · Jun 1, 2022 <COMMAND>zRunTask+72^%SYS.TaskSuper.1 Hi Guys, I had a task that was running ok but then crashed and now getting this error <COMMAND>zRunTask+72^%SYS.TaskSuper.1? Thanks #Ensemble 0 1 0 163