go to post Robert Cemper · May 3, 2022 so your obj is a DynamicObject and looks something like { "ID":17, "Title": 44 } class All.Allbooks has this Property Title As User.Book. To set it you need an oref !! therefore to create the required oref : SET task.Title = ##class(User.Book).%OpenId(obj.Title)
go to post Robert Cemper · May 3, 2022 I will not be present, but my main interest is and ever wasDistributed Code and Version Management in a World Wide Scope I experienced it in personal practice and was always impressed how well that worked.
go to post Robert Cemper · May 3, 2022 You depend on the structure of the dynamic object you compose in the 1st line.if it has a property TitleID it will work. (using obj.TitleID lower case!!) But in your question, it is not clear what Title Class refers to.I see All.Allbooks and somewhere User.Book and also %request and no other class around
go to post Robert Cemper · May 2, 2022 I guess you look for this: ClassMethod GetABookById(id As %Integer) As %Status { SET MyBooks = ##class(All.Allbooks).%OpenId(id) SET obj={} set obj.ID=MyBooks.%Id() set obj.Title=MyBooks.Title WRITE obj.%ToJSON() Quit 1 } ATTENTION:MyBooks.Title is just a reference to User.Book
go to post Robert Cemper · Apr 28, 2022 For some of them exist even concrete proposals for solutions. (e.g. Global <-> JSON)
go to post Robert Cemper · Apr 26, 2022 namespace %SYS ?all required privileges ? Checked Class Docu for 2017.1 >>> query Detail exists ! https://cedocs.intersystems.com/ens20171/csp/documatic/%25CSP.Documatic.cls
go to post Robert Cemper · Apr 26, 2022 this worked for me select CAST(0+AVG(PackingTimeSpent) as TIME) average .... the 0+ forces Integer, then CAST understands youand pls. don't ask why. I just tried the output from AVG() is definitely NOT Integer
go to post Robert Cemper · Apr 25, 2022 this are not properties but an ERROR Status Object.the boxes are non-printable binary values from $LB() or similar.
go to post Robert Cemper · Apr 21, 2022 if this is inside a method add [ProcedureBlock = 0] to the method
go to post Robert Cemper · Apr 20, 2022 @Jean Millette Just great! I was searching for this for quite some time
go to post Robert Cemper · Apr 18, 2022 Hi @Evgeny Shvarov, I run my Docker Desktop on WIN10 And with my setup, I have reviewed more than 300 Docker build sequencesAlways focused on how easy it is for the average consumer and how well the description fits reality.This package forced me to exercise settings that were just not needed beforeAnd (differently from others) there is not the slightest signal in the description of that requirement.It's some *KIT* stuff and the official doc doesn't care much about WIN.it finally moved along. and others should be warned [getting rid of it was another story]And the result was something that I see multiple times daily in my SMP instances.Sorry!Nice screenshots from VSCode.Just to be clear: I tried but will never use VSCode as long as I have my Studio available.And I never touched it in any of my reviews or other situations.
go to post Robert Cemper · Apr 17, 2022 You are right.But it works in a test within a Try-Catch bloxk try { ;;; run your code } catch e { if $ze["<RESJOB>" while $TLEVEL { tcommit } }
go to post Robert Cemper · Apr 17, 2022 It is rather brute force but matches your decision to skip rollbacks: while $TLEVEL { TCOMMIT } to be sure to catch all cases I'd place it in a %ZSTOP.mac It's the reverse of %ZSTART. >> docu
go to post Robert Cemper · Apr 10, 2022 Do you still expect some echo?Or is the question meanwhile just out of date?
go to post Robert Cemper · Apr 10, 2022 Do you still expect some echo?Or is the question meanwhile just out of date?
go to post Robert Cemper · Apr 8, 2022 Globals: Embedded Python vs. ObjectScript is also available on Online Demo since its first release. It is also listed in OEX Directory "Products with Demo"Pls adjust the list accordingly
go to post Robert Cemper · Apr 7, 2022 @Chris Stewart it was there even earlier see my article Repairing your Index the background then, were manually written index globals.the BIG advantage is to slice it down and run it as slow as you need with practically no extra load