Hi, guys,
I need to do the following - I have a folder object, named DocumentF. On the folder edit page I have a button, that needs to calculate the document_number field according to some logic.
I have created a stateless process, that recieves the id of the current folder object, but can't figure out how exactly to do what i need.
I have setup a process package of the folder type and tried the following 2 things:
- I assign the id incoming variable to the package object_id - i get a message that the package can't be found
- I wrote a DQL to extract the corresponding object, but I don't know how to specify the id parameter in the DQL, and i get the same result. Here is the DQL that I tried, but I suppose it's wrong:
SELECT *
FROM "egov_documentf"
WHERE "r_object_id" = 'doc_id'
Any help for the newbie?