RE: Change Item Standard Cost Macro
The primary assumption here is that you know that you can only change the standard cost of an item by using the Change Item Standard Cost window (Inventory > Utilities > Change Item Standard Cost). With that said, I was able to confirm that the macro is not recording any of the MoveTo Field or TypeTo Field statements, as shown here:
# DEXVERSION=18.00.0010.000 2 2
CheckActiveWin dictionary 'default' form 'IV_Item_Standard_Cost_Change' window 'IV_Item_Standard_Cost_Change'
CommandExec dictionary 'default' form 'IV_Item_Standard_Cost_Change' command 'Process Button P_w_IV_Item_Standard_Cost_Change_f_IV_Item_Standard_Cost_Change'
NewActiveWin dictionary 'DEX.DIC' form 'Report Ask' window 'Report Type'
ClickHit field '(L) Screen' # 'TRUE'
MoveTo field '(L) OK'
ClickHit field '(L) OK'
NewActiveWin dictionary 'default' form 'IV_Item_Standard_Cost_Change' window 'IV_Item_Standard_Cost_Change'
# Print To Screen: 'IV Item Standard Cost Change Exception'
NewActiveWin dictionary 'default' form sheLL window sheLL
WindowSize dictionary 'DEX.DIC' form 'Reports Screen' window 'Screen Output' pointh 450 pointv 30
NewActiveWin dictionary 'DEX.DIC' form 'Reports Screen' window 'Screen Output'
WindowSize dictionary 'DEX.DIC' form 'Reports Screen' window 'Screen Output' pointh 450 pointv 30
ActivateWindow dictionary 'DEX.DIC' form 'Reports Screen' window 'Screen Output'
WindowMove dictionary 'DEX.DIC' form 'Reports Screen' window 'Screen Output' pointh 0 pointv 2
WindowSize dictionary 'DEX.DIC' form 'Reports Screen' window 'Report Screen' pointh 635 pointv 40
ActivateWindow dictionary 'DEX.DIC' form 'Reports Screen' window 'Screen Output'
ActivateWindow dictionary 'DEX.DIC' form 'Reports Screen' window 'Screen Output'
CloseWindow dictionary 'DEX.DIC' form 'Reports Screen' window 'Screen Output'
NewActiveWin dictionary 'default' form sheLL window sheLL
I then went ahead and attempted to add the MoveTo and TypeTo field statements. It worked for the item number, but I could not get it to tab off the field, therefore the MoveTo for the 'New Standard Cost' field failed. Unfortunately, the macro system does not have a way to send keyboard commands in.