roylansink
12th August 2014, 15:47
Hai All,
I'm trying to get the discount of a service contract in a serviceorder wich has the status "Free".
For this I use the function: tsmdm.dll0045.read.pricing.and.discount.data()
In the input variables it needs i.contract.change, i.configuration.line, i.coverage.time and i.coverage.type. All values to determin the contract discount. So I would expect it to output the contract discount, but it does'nt :mad:
Below the function call I make. What am I doing wrong?
tsmdm.dll0045.read.pricing.and.discount.data(
tssoc220.item, |domain tcitem i.item,
tssoc200.ofbp, |domain tccom.bpid i.ofbp,
tssoc200.stbp, |domain tccom.bpid i.stbp,
tssoc200.itbp, |domain tccom.bpid i.itbp,
tssoc200.cwoc, |domain tccwoc i.cwoc,
tssoc200.fdpt, |domain tccwoc i.fdpt,
tssoc200.cplt, |domain tccplt i.cplt,
tssoc220.adqt, |domain tsmdm.qmat i.quan,
tssoc220.cuqs, |domain tccuni i.cuqs,
tssoc220.cvqs, |domain tcconv i.cvqs,
tssoc200.ccur, |domain tcccur i.ccur,
tssoc200.rtdt, |domain tcdate i.rate.date,
tssoc200.rats, |const domain tcratc i.header.ratc(),
tssoc200.ratf, |const domain tcratf i.header.ratf(),
tssoc200.rtyp, |domain tcrtyp i.header.rate.type,
tssoc220.pdtm, |domain tcdate i.dldt,
tssoc200.ordt, |domain tcdate i.ordt,
tsmdm.cotp.material, |domain tsmdm.cotp i.cost.type,
tssoc210.csco, |domain tcorno i.contract,
act.cchn, |domain tsctm.cchn i.contract.change,
act.cfln, |domain tsmdm.seqn i.configuration.line,
tssoc210.cvtm, |domain tsmdm.trdt i.coverage.time,
tssoc210.cctp, |domain tsmdm.cctp i.coverage.type,
"", |domain tccom.bpid i.subcontractor,
"", |domain tsmdm.ctsk i.task,
"", |domain tcckow i.labor.type,
tssoc200.csar, |domain tsmdm.csar i.service.area,
tssoc220.ccmp, |domain tccpcp i.cost.comp,
line.pric, |ref domain tcpric o.pric,
line.porg, |ref domain tstdm.porg o.porg,
line.ldam, |ref domain tcdisc o.disc,
arr.line.dper, |ref domain tcdisc o.dper(),
arr.line.damt, |ref domain tcamnt o.damt(),
arr.line.dsc.cod, |ref domain tccdsc o.dsc.cod() fixed,
arr.line.dsc.mth, |ref domain tddmth o.dsc.mth(),
arr.line.dsc.type, |ref domain tdpcg.maty o.dsc.type(),
arr.line.dsc.def, |ref domain tdpcg.made o.dsc.def() fixed,
arr.line.dsc.seq, |ref domain tdpcg.prse o.dsc.seq(),
arr.line.dorg, |ref domain tdgen.dorg o.dorg(),
o.prun, |ref domain tccuni o.prun,
o.cvun, |ref domain tcconv o.cvun,
o.mess) |ref domain tcmcs.s132m o.mess mb
,
I'm trying to get the discount of a service contract in a serviceorder wich has the status "Free".
For this I use the function: tsmdm.dll0045.read.pricing.and.discount.data()
In the input variables it needs i.contract.change, i.configuration.line, i.coverage.time and i.coverage.type. All values to determin the contract discount. So I would expect it to output the contract discount, but it does'nt :mad:
Below the function call I make. What am I doing wrong?
tsmdm.dll0045.read.pricing.and.discount.data(
tssoc220.item, |domain tcitem i.item,
tssoc200.ofbp, |domain tccom.bpid i.ofbp,
tssoc200.stbp, |domain tccom.bpid i.stbp,
tssoc200.itbp, |domain tccom.bpid i.itbp,
tssoc200.cwoc, |domain tccwoc i.cwoc,
tssoc200.fdpt, |domain tccwoc i.fdpt,
tssoc200.cplt, |domain tccplt i.cplt,
tssoc220.adqt, |domain tsmdm.qmat i.quan,
tssoc220.cuqs, |domain tccuni i.cuqs,
tssoc220.cvqs, |domain tcconv i.cvqs,
tssoc200.ccur, |domain tcccur i.ccur,
tssoc200.rtdt, |domain tcdate i.rate.date,
tssoc200.rats, |const domain tcratc i.header.ratc(),
tssoc200.ratf, |const domain tcratf i.header.ratf(),
tssoc200.rtyp, |domain tcrtyp i.header.rate.type,
tssoc220.pdtm, |domain tcdate i.dldt,
tssoc200.ordt, |domain tcdate i.ordt,
tsmdm.cotp.material, |domain tsmdm.cotp i.cost.type,
tssoc210.csco, |domain tcorno i.contract,
act.cchn, |domain tsctm.cchn i.contract.change,
act.cfln, |domain tsmdm.seqn i.configuration.line,
tssoc210.cvtm, |domain tsmdm.trdt i.coverage.time,
tssoc210.cctp, |domain tsmdm.cctp i.coverage.type,
"", |domain tccom.bpid i.subcontractor,
"", |domain tsmdm.ctsk i.task,
"", |domain tcckow i.labor.type,
tssoc200.csar, |domain tsmdm.csar i.service.area,
tssoc220.ccmp, |domain tccpcp i.cost.comp,
line.pric, |ref domain tcpric o.pric,
line.porg, |ref domain tstdm.porg o.porg,
line.ldam, |ref domain tcdisc o.disc,
arr.line.dper, |ref domain tcdisc o.dper(),
arr.line.damt, |ref domain tcamnt o.damt(),
arr.line.dsc.cod, |ref domain tccdsc o.dsc.cod() fixed,
arr.line.dsc.mth, |ref domain tddmth o.dsc.mth(),
arr.line.dsc.type, |ref domain tdpcg.maty o.dsc.type(),
arr.line.dsc.def, |ref domain tdpcg.made o.dsc.def() fixed,
arr.line.dsc.seq, |ref domain tdpcg.prse o.dsc.seq(),
arr.line.dorg, |ref domain tdgen.dorg o.dorg(),
o.prun, |ref domain tccuni o.prun,
o.cvun, |ref domain tcconv o.cvun,
o.mess) |ref domain tcmcs.s132m o.mess mb
,