Try Microsoft Edge
A fast and secure browser that's designed for Windows 10
I've some work to do. I have a customized form which has some process, there is a field under the grid which contains the transfer journal number. when ever user select or clicked the transfer journal it will show the transfer journal screen with selected or clicked transfer journal.
if tranfer journal no: is A-10022 then it will only show the transfer journal screen with that specific transfer journal.
How can achieve this ? kindly help with some verified solution.
You need either define relations on the table in AOT or write jumpRef method for that field, here are blog posts with examples
Just to add to ievgen suggestion, here is example of jumpRef method for transfer journal:
public void jumpRef()
args = new Args(formStr(InventJournalTable));
// Menu item info will be used by security framework, when setting access rights to form datasources
formRun = classfactory.formRunClass(args);
Does this method will return the same transfer journal number on transfer journal screen ?
can't we use some hyper link on that field ? so when ever user clicked that transfer journal it'll show the transfer journal with that transfer journal number ? is it possible ?
If you have InventJournalTable as a DS of the form this code is enough. If you have only journal num, you should add InventJournalTable variable and get the cursor of the table and then put it to args.record() method.
Hyper link of the form’s field is the standard feature if the field use EDT with relations and form in the view mode, not edit mode. Btw, in your case, to open related form with selected value you need jumpRef() because journals has many types.
so basically i've to put the range in jumpRef method ? through args.record()
Can you explain how did you add journald to the form or provide some screenshots?
through some process , journal id is been created and display on my form.
JournalId field on your form is the field from InventJournalTable or is the new added field from another table?
Business Applications communities