{mfdeclre.i}
{gplabel.i} /* EXTERNAL LABEL INCLUDE */
define variable sw_constant as character.
define variable sw_new as character.
define variable sw_input as character.
define variable sw_save as character.
define variable sw_recid as recid.
define variable ldrec as recid.
define variable lines as integer no-undo.
define variable iii as integer.
define variable record_ids as recid extent 25.
define vari site as char initial "".
FORM
ld_part
ld_site
ld_qty_oh
ld_ref
ld_loc
with frame inventory OVERLAY ROW 1 COL 1 width 110
Title CAPS(global_domain) + " inventory".
{swindowc.i
&file=ld_det
&framename="inventory"
&downline=8
&record-id=ldrec
&search=global_domain
&other-search="and ld_site <> site"
&equality=global_domain
&scroll-field=ld_part
&s0 = "/*"
&create-rec = no
&update-leave=yes
&display1=ld_part
&display2=ld_site
&display3=ld_qty_oh
&display4=ld_ref
&display5=ld_loc
}
if keyfunction(lastkey) = "end-error" then leave.
{gplabel.i} /* EXTERNAL LABEL INCLUDE */
define variable sw_constant as character.
define variable sw_new as character.
define variable sw_input as character.
define variable sw_save as character.
define variable sw_recid as recid.
define variable ldrec as recid.
define variable lines as integer no-undo.
define variable iii as integer.
define variable record_ids as recid extent 25.
define vari site as char initial "".
FORM
ld_part
ld_site
ld_qty_oh
ld_ref
ld_loc
with frame inventory OVERLAY ROW 1 COL 1 width 110
Title CAPS(global_domain) + " inventory".
{swindowc.i
&file=ld_det
&framename="inventory"
&downline=8
&record-id=ldrec
&search=global_domain
&other-search="and ld_site <> site"
&equality=global_domain
&scroll-field=ld_part
&s0 = "/*"
&create-rec = no
&update-leave=yes
&display1=ld_part
&display2=ld_site
&display3=ld_qty_oh
&display4=ld_ref
&display5=ld_loc
}
if keyfunction(lastkey) = "end-error" then leave.