kathuria
4th May 2005, 09:29
Hi,
We are working with SSA ERP LN 6.1 . I am tring to update values in session tisfc0130m000 through AFS. I am getting error "EDITABLE SYNCHRONIZED DIALOG NOT STARTED"
I am also attachinh code. Please rectify it ASAP.
Code:
function afs.tisfc0130m000()
{
stpapi.put.field("tisfc0130m000","tisfc010.pdno",str$(tipol003.pdno))
stpapi.put.field("tisfc0130m000","tisfc010.opno",str$(tipol003.opno))
ret = stpapi.find("tisfc0130m000", w.err.msg)
ret = stpapi.synchronize.dialog("tisfc0130m000", "update", w.err.msg)
if ret =1 then
stpapi.put.field("tisfc0130m000","qcmp.form",str$(cqtp))
stpapi.enum.answer("tisfc0130m000", "tisfc01302", tcyesno.yes)
stpapi.put.field("tisfc0130m000","qrjc.form",str$(rqty))
stpapi.enum.answer("tisfc0130m000", "tisfc01302", tcyesno.yes)
stpapi.update("tisfc0130m000",true,w.err.msg)
stpapi.enum.answer("tisfc0130m000", "tisfc02023", tcyesno.yes)
stp
if isspace(w.err.msg) then
stpapi.end.session("tisfc0130m000")
endif
endif
}
We are working with SSA ERP LN 6.1 . I am tring to update values in session tisfc0130m000 through AFS. I am getting error "EDITABLE SYNCHRONIZED DIALOG NOT STARTED"
I am also attachinh code. Please rectify it ASAP.
Code:
function afs.tisfc0130m000()
{
stpapi.put.field("tisfc0130m000","tisfc010.pdno",str$(tipol003.pdno))
stpapi.put.field("tisfc0130m000","tisfc010.opno",str$(tipol003.opno))
ret = stpapi.find("tisfc0130m000", w.err.msg)
ret = stpapi.synchronize.dialog("tisfc0130m000", "update", w.err.msg)
if ret =1 then
stpapi.put.field("tisfc0130m000","qcmp.form",str$(cqtp))
stpapi.enum.answer("tisfc0130m000", "tisfc01302", tcyesno.yes)
stpapi.put.field("tisfc0130m000","qrjc.form",str$(rqty))
stpapi.enum.answer("tisfc0130m000", "tisfc01302", tcyesno.yes)
stpapi.update("tisfc0130m000",true,w.err.msg)
stpapi.enum.answer("tisfc0130m000", "tisfc02023", tcyesno.yes)
stp
if isspace(w.err.msg) then
stpapi.end.session("tisfc0130m000")
endif
endif
}