you will need one pre-processing and another post-processing directives.
Here they are (select the option to execute the ABL code, then paste the code below).
1) Pre-Processing:
find ttquotedtl where ttquotedtl.RowMod = "U" no-error.
if not available ttquotedtl then return.
find ttcallcontextbpmdata.
find quotedtl no-lock where rowid(quotedtl) = to-rowid(ttquotedtl.RowIdent).
assign ttquotedtl.SysRevID = quotedtl.SysRevID
ttcallcontextbpmdata.Checkbox10 = true.
2) Post-Processing:
find last ttquotedtl no-error.
if not available ttquotedtl then return.
find ttcallcontextbpmdata.
if ttcallcontextbpmdata.checkbox10 = false then return.
find quotedtl exclusive-lock where rowid(quotedtl) = to-rowid(ttquotedtl.RowIdent).
assign quotedtl.SellingExpectedQty = 5
ttquotedtl.SellingExpectedQty = 5
ttquotedtl.SysRevID = quotedtl.SysRevID
ttcallcontextbpmdata.checkbox10 = false.
release quotedtl.
Good luck!
cheers