som.papai
10th September 2007, 15:24
Hi all,
i want to write a AFS for "Generation purchase order from production order"
for that session is "tisfc2250m000" this,ok.
But when stpapi.continue.process is click error showing "Report not found"
plz help me.
script is this
v.cotp="P04"
v.grno=48
spool.device = "D"
spool.preview = true
stpapi.put.field( "tisfc2250m000", "suno.f", v.suno)
stpapi.put.field( "tisfc2250m000", "pdno.f", str$(v.pdno))
stpapi.put.field( "tisfc2250m000", "order.series", str$(v.grno))
stpapi.put.field( "tisfc2250m000", "ordr.type", v.cotp)
stpapi.set.report("tisfc2250m000", "tisfc225001000", spool.device, error)|at this stage error variable is null
stpapi.continue.process("tisfc2250m000", error) |here error variable got value "Report Not Found"
stpapi.print.report("tisfc2250m000", error)
stpapi.end.session("tisfc2250m000",error)
Regards
Sudipta Som
i want to write a AFS for "Generation purchase order from production order"
for that session is "tisfc2250m000" this,ok.
But when stpapi.continue.process is click error showing "Report not found"
plz help me.
script is this
v.cotp="P04"
v.grno=48
spool.device = "D"
spool.preview = true
stpapi.put.field( "tisfc2250m000", "suno.f", v.suno)
stpapi.put.field( "tisfc2250m000", "pdno.f", str$(v.pdno))
stpapi.put.field( "tisfc2250m000", "order.series", str$(v.grno))
stpapi.put.field( "tisfc2250m000", "ordr.type", v.cotp)
stpapi.set.report("tisfc2250m000", "tisfc225001000", spool.device, error)|at this stage error variable is null
stpapi.continue.process("tisfc2250m000", error) |here error variable got value "Report Not Found"
stpapi.print.report("tisfc2250m000", error)
stpapi.end.session("tisfc2250m000",error)
Regards
Sudipta Som