Search the GP Tables
Search by TABLE NAME
Search by FIELD NAME
These are our SOP scripts. All of our scripts for Dynamics GP can be found here
DynDeveloper.com

DynDeveloper.com

Sign Up Now!Log In
joealt 5/28/2014 8:26:42 AM

Open GP Manufacturing form with DEX

I can open the customer card in GP with the following DEX:

if ('Company Name' of globals<>"") then
close form RM_Customer_Maintenance;
open form RM_Customer_Maintenance;
end if;

if ('Customer Number' of window RM_Customer_Maintenance of form RM_Customer_Maintenance <> "") then
error "Please close the current Customer before trying to open another.";
abort script;
end if;

'Customer Number' of window RM_Customer_Maintenance of form RM_Customer_Maintenance = "@customerNum"; 
run script 'Customer Number' of window RM_Customer_Maintenance of form RM_Customer_Maintenance;

 
I am trying to open the MO and Manufacturing BOM forms with the following DEX, but they are not working. 

if ('Company Name' of globals<>"") then

close form WO_Entry;
open form WO_Entry;
end if;

if ('Manufacture Order' of window WO_Entry of form WO_Entry <> "") then
error "Please close the current manufacturing order before trying to open another.";
abort script;
end if;

'Manufacture Order' of window WO_Entry of form WO_Entry = "@MANUFACTUREORDER_I";
run script 'Manufacture Order' of window WO_Entry of form WO_Entry;

----------------------------------------------------------------------------------------------

if ('Company Name' of globals<>"") then
close form Graphical_BOM_Edit;
open form Graphical_BOM_Edit;
end if;

if ('Item Number' of window Graphical_BOM of form Graphical_BOM_Edit <> "") then
error "Please close the current sales document before trying to open another.";
abort script;
end if;

'Item Number' of window Graphical_BOM of form Graphical_BOM_Edit = @BOMNumber; 
run script 'Item Number' of window Graphical_BOM_Edit of form SOP_Entry;

'BOM Type' of window Graphical_BOM of form Graphical_BOM_Edit = "@BOMType"; 
run script 'BOM Type' of window Graphical_BOM_Edit of form SOP_Entry;

'BOM Name' of window Graphical_BOM of form Graphical_BOM_Edit = "@BOMName"; 
run script 'BOM Name' of window Graphical_BOM_Edit of form SOP_Entry;

Any ideas what I am missing? Thanks!

 

Version: GP 2013
Section: Dynamics GP








Table Definition Quick Links
All Tables
SOP Tables
RM Tables
GL Tables
POP Tables
HR Tables
PM Tables
UPR Tables
IV Tables
Olympic Tables