I am trying to enable Copy Order for QT to SO.
It works fine when I copy SO to SO. It seems like once you hit OK parameters dialog and the process finishes, the QT order is still displayed and the Save button doesn’t really do anything and if you cancel your changes are discarded. Hitting copy twice before exiting will result in a new SO. If anyone has done this or has ideas, please share and thank you.
update screen SO301000 {
update container "OrderSummary" {
formActionsToExpand = 2
add recordAction "copyOrder" {
redirect = true
redirectToDialog = "SO30100D2"
}
add recordAction "copyOrderQT" {
redirect = true
redirectToDialog = "SO30100D3"
}
}
add dialog SO30100D2 {
add dialogAction "CheckCopyParams" {
CloseDialog = true
DialogResult = "OK"
}
openAs = Form
add container "CopyTO" {
includeDialogActions = True
add field "OrderType"
add field "OrderNbr"
add recordAction "CheckCopyParams" {
icon = "system://Check"
syncLongOperation = True
}
}
}
add dialog SO30100D3 {
add dialogAction "CheckCopyParams" {
CloseDialog = True
DialogResult = "OK"
}
openAs = Form
add container "CopyTO" {
includeDialogActions = true
add field "OrderType"
add field "OrderNbr"
add recordAction "CheckCopyParams" {
#icon = "system://Check"
syncLongOperation = True
}
}
}
}