VishalMistry
26th October 2015, 17:43
Hi all
I am calling following function which releases the production order passed to it.
function execute.session.tisfc0204m000(domain tcpdno ref.pdno)
{
stpapi.put.field(REL.ORDR,"pdno.f",str$(ref.pdno))
stpapi.put.field(REL.ORDR,"pdno.t",str$(ref.pdno))
stpapi.put.field(REL.ORDR,"cprj.f","")
stpapi.put.field(REL.ORDR,"cprj.t","ZZZZZZ")
stpapi.put.field(REL.ORDR,"prdt.f",str$(0))
stpapi.put.field(REL.ORDR,"prdt.t",str$(prdt.t.cus))
stpapi.set.report(REL.ORDR, "rtisfc020401000", alt.dev, error.msg)
stpapi.print.report(REL.ORDR, error.msg)
stpapi.end.session( REL.ORDR, error.msg)
}
The status of prod.order is planned or document printed and the device selected is getting stored in alt.dev.
Calling this session does not change the status of production order to Released.
Anybody any clue please. Any help in this regard is highly appreciated.
Vishal
I am calling following function which releases the production order passed to it.
function execute.session.tisfc0204m000(domain tcpdno ref.pdno)
{
stpapi.put.field(REL.ORDR,"pdno.f",str$(ref.pdno))
stpapi.put.field(REL.ORDR,"pdno.t",str$(ref.pdno))
stpapi.put.field(REL.ORDR,"cprj.f","")
stpapi.put.field(REL.ORDR,"cprj.t","ZZZZZZ")
stpapi.put.field(REL.ORDR,"prdt.f",str$(0))
stpapi.put.field(REL.ORDR,"prdt.t",str$(prdt.t.cus))
stpapi.set.report(REL.ORDR, "rtisfc020401000", alt.dev, error.msg)
stpapi.print.report(REL.ORDR, error.msg)
stpapi.end.session( REL.ORDR, error.msg)
}
The status of prod.order is planned or document printed and the device selected is getting stored in alt.dev.
Calling this session does not change the status of production order to Released.
Anybody any clue please. Any help in this regard is highly appreciated.
Vishal