Hi.
I want to save and compile a class in VS Code, but I get the error:
Failed to save 'Utils.cls': Unable to write file 'isfs://mip:mz/API/Utils.cls?project=MZ' (Unknown (FileSystemError): Unknown Error).
Any ideas what is wrong?
Regards,
Matjaž
Hi.
I want to save and compile a class in VS Code, but I get the error:
Failed to save 'Utils.cls': Unable to write file 'isfs://mip:mz/API/Utils.cls?project=MZ' (Unknown (FileSystemError): Unknown Error).
Any ideas what is wrong?
Regards,
Matjaž
Hi.
How can I prevent the error:
2024-12-27 08:05:46 [SQLCODE: <-400>:<Fatal error occurred>] [Error: <<READ>XDCall+9^%SYS.DBSRV>] [Location: <$system.IO server loop>] [Client info: <Username: Operator, Node Name: PM_MIP_SRD01, IP Address: 10.40.1.108, Executable Name: Operative.dll, Internal Function: KÂ>] [%protocol: <65>] $Id: //iris/2023.2.0/kernel/common/src/sysio.c#2 $ 3514 121
It seems that this error occours when connection on PDA is lost and established again.
Tnx.
Regards,
Matjaž
Hi.
How can I pass a large string to classmethod params (e.g. large pictures) without getting MAXSTRING error?
Regards,
Matjaž
Hi.
I would like to exchange data with external system every one minute or even more frequent. So I need to trigger production process/operation every minute. How can I do it?
Hi.
After upgrading to IRIS 2023.2 and using IIS (configurated by upgrade), VS Code debugging doesn't work any more. If I use private web server, it works fine.
Any suggestions?
Regards,
Matjaž.
Hi.
After upgrading to IRIS 2023.2 documentation link doesn't work.
Any suggestions?
Regards,
Matjaž.
Hi.
Is there any function to validate JSON string returning status?
Regards,
Matjaž
Hi.
I have a query:
SELECT '['||Material->Sifra||'] '||Material->Opis AS Material,
SUM(MasaBlago) AS MasaBlago
FROM Tehtanje.Dokument
WHERE DatumDokumenta BETWEEN '01/01/2023' AND '04/01/2023'
AND (Material->Sifra %INLIST $LISTFROMSTRING('5,7',','))
GROUP BY Material
ORDER BY %EXACT Material
The query returns all rows where Material->Sifra is 5 or 7. That's OK.
If I want to get all rows where Material->Sifra is NOT 5 or 7 I use query:
SELECT '['||Material->Sifra||'] '||Material->Opis AS Material,
SUM(MasaBlago) AS MasaBlago
FROM Tehtanje.
Hi.
Why are relationship properties not included in
Regards,
Matjaž
Hi.
Why is %TimeStamp property not correctly imported with %JSONImport method - it doesn't take into account the time zone?
Regards,
Matjaž
Hi.
I'm trying to serialize property of type %TimeStamp in SQL statement with JSON_OBJECT, but I get a raw string instead of JSON DateTime format string. %JSONExport method on the same object works fine.
Any ideas?
Regards,
Matjaž
Hi.
Is it possible to set in XData mappings (or any other way) to serialize the property value as display value rather than value it self?
Regards,
Matjaž
Hi.
Is it possible to trigger an event on .NET client (C#) from IRIS process? I'm using IRIS Native client to connect to IRIS server.
Regards,
Matjaž
Hi.
What is the best/right way to unlock the object in ObjectScript after the lock was acquired by %OpenId class method? Setting the opened object to null (Set object="") doesn't release the lock.
Regards,
Matjaž
Hi.
Does anyone have experience with JDBC connection from Android to IRIS?
Regards,
Matjaž
Hi.
I'm trying to serialize/deserialize an .PNG picture. After serialization in C# (using System.Text.Json.JsonSerializer) and sending it to IRIS it is deserialized with %JSONImport method and saved to %FileBinaryStream. File is created on server and can be normaly opened with Paint. But when I want to recall it in C# (serialization with %JSONExportToString and deserialization with System.Text.Json.JsonSerializer), I get an error "FormatException: Cannot decode JSON text that is not encoded as valid Base64 to bytes".
Hi.
How can I deserialize in C# JSON string created with %JSONExport - exported class includes property of type array of %String? Which type of property should I use in C# class to deserialize it properly (List<> doesn't work)?
Regards,
Matjaž
Hi.
Is it possible to convert the object of type %SerialObject to $List form? I'm using embedded class in unique index and I want to use autogenerated method Open to access the object - parameter should be in $List form...
Tnx.
Regards,
Matjaž
Hi.
Is there any example how to implement Production to exchange data with SAP repeatly?
Regards,
Matjaž
Hi.
How can I add/substract hours from $Horolog in ObjectScript and the date part of $H is also affected?
Regards,
Matjaž