I need to create an AGS call to add a record to a custom table, but I can't send an ags call to the Design Studio form associated with the table because it does not inlude add functionality.
Is there any place to find the code to add a record directly to the table? The AGS builder doesn't give a lot of help there.
Posted By TommyT on 03/12/2010 10:27 AM Could I place add logic on the custom form that exists using design studio, hide it from users, and invoke it from the flow. I think that would be neater than writing another custom form.
The logic you would need to add would be to the COBOL code underneath. There is no way using Design Studio (a presentation layer only) to add logic to add records to a Lawson table custom or otherwise.
Design Studio is really only used to add/remove functionality of Lawson forms on Portal. You can not invoke a Design Studio form using AGS, it always executes the COBOL underneath only.
Sorry I'm not stating what I need to do clearly...
We have a table which contans one item of extended data on each hr department - and a form that allows for editing that field. The custom table contains the hr department #, and the extra field. The custom form is xx02; it only allows changes and only to the custom field.
When a new department is added to the department table via HR02, the custom table gets out of synch because it doesnt know about the new dept. We want to add that new department in the backround to the custom table when its added to the lawson dept table via hr02. The goal is simply to add a record to the custom table when one is added to the dept table.
I added a trigger to hr02 to kick off a process flow meant to add the record to the custom table. It kicks off properly when a record is added via hr02. My problem is the ags call in that flow.... (we dont have pf integrator). xx02 does have cobol code that is a copy of hr02 with the "add" functionality clipped off by design studio.
Can I call the xx02 form with the ags to add the record?
Thanks all. Ill give it a try.