metropoj
15th May 2015, 16:40
Long story short, I have a custom session with scripting for inserting new records into items-General. This is to keep some mfg sensitive data out of the reach of users who don't need to see it.
Items-General session has a DAL already and we have a ueDLL on tcibd001 table.
When a user inserts a new record from my "custom" session, I would like the signal code, for example, to default to an entry value amongst others. I DON'T want anyone using Items-General to have the default value, just my custom session users. I also don't need to write a record, just preset some values.
I tried putting code into add.set which does assign the value in theory when I debug, but never appears on the screen as a default field value. I tried choice.after, refresh, display, all to no avail.
choice.add.set:
before.choice:
message("before.choice")
tcibd001.csig = "ITR"
|refresh.curr.occ()
|display("tcibd001.csig")
Any suggestions how I may be able to accomplish this ? I though maybe I even need a custom button on my form to fetch some defaults I set but I would need to see some examples to tweak for my needs.
Any help appreciated !
Items-General session has a DAL already and we have a ueDLL on tcibd001 table.
When a user inserts a new record from my "custom" session, I would like the signal code, for example, to default to an entry value amongst others. I DON'T want anyone using Items-General to have the default value, just my custom session users. I also don't need to write a record, just preset some values.
I tried putting code into add.set which does assign the value in theory when I debug, but never appears on the screen as a default field value. I tried choice.after, refresh, display, all to no avail.
choice.add.set:
before.choice:
message("before.choice")
tcibd001.csig = "ITR"
|refresh.curr.occ()
|display("tcibd001.csig")
Any suggestions how I may be able to accomplish this ? I though maybe I even need a custom button on my form to fetch some defaults I set but I would need to see some examples to tweak for my needs.
Any help appreciated !