Hello:
In Dexterity for GP 2013, I create a simple window to open, by clicking the "Additional" menu selection in Vendor Maintenance. Below is my Startup script and my script for opening the form.
In addition to the Vendor ID, I have the Vendor Name as a field in this window.
The Vendor ID is pulling in fine, but the Vendor Name is not.
Can anyone think of a reason, as to why?
Thanks!
John
{}
local integer l_result;
l_result = Trigger_RegisterForm(form PM_Vendor_Maintenance,
"Vendor Commodity",
"l",
script HR_Open_Vendor_Commodity);
if l_result <> SY_NOERR then
warning "HR_Open_Vendor_Commodity Trigger Registration Failed " + str(l_result);
end if;
open form HR_Vendor_Commodity;
if isopen(window PM_Vendor_Maintenance of form PM_Vendor_Maintenance) then
'Vendor ID' of window HR_Vendor_Commodity of form HR_Vendor_Commodity =
'Vendor ID' of window PM_Vendor_Maintenance of form PM_Vendor_Maintenance;
'Vendor ID' of window HR_Vendor_Commodity of form HR_Vendor_Commodity =
'Vendor ID' of window PM_Vendor_Maintenance of form PM_Vendor_Maintenance;
'Vendor ID' of table HR_Vendor_Commodity = 'Vendor ID' of window HR_Vendor_Commodity of form HR_Vendor_Commodity;
get table HR_Vendor_Commodity;
if err() = OKAY then
copy from table HR_Vendor_Commodity to window HR_Vendor_Commodity of form HR_Vendor_Commodity;
end if;
end if;
*This post is locked for comments