I have an SHC that generates some invoices. Before doing that with an SHC I used to do it in a method that returned an array with all the invoices id that were created, can I get that array from the SHC??
If so, where will I get it: in the callback method? How, inside the event or in a new argument?
Thanks.
you return value sits in the data property of the JSEvent (type CALLBACK_EVENT)
Thanks Johan, one more question.
My headlessclient will have to perform the process thru the records that the user has marked to. That mark is set in a calculation field and I know that calculation is only stored in the foundset for that user in that session so I have been trying to send the foundset to the SHC but nothing seems to happen. Any clue on how to get this done?
you can’t send a foundset to the HC.
so somehow you have to get that state the other way through the db. or as an array of data (like array of integers) that has the same effect.