VishalMistry
13th January 2016, 17:57
Hi,
I want to fill the required field in session tdsls0510m000 like cuno, item, qana (customer / item / quantity) and get the value of discount percentage but when trying to do so, I am getting zero value. My command is as below:
domain tcmcs.str10 hold.disc
stpapi.put.field("tdsls0510m000","cuno",cuno)
stpapi.put.field("tdsls0510m000","item",item)
stpapi.put.field("tdsls0510m000","qana",qana)
stpapi.get.field("tdsls0510m000","disc",hold.disc)
but when I print the value of hold.disc, it is coming as zero. Can anybody guide me how to get the value of discount percentage ?
Vishal
I want to fill the required field in session tdsls0510m000 like cuno, item, qana (customer / item / quantity) and get the value of discount percentage but when trying to do so, I am getting zero value. My command is as below:
domain tcmcs.str10 hold.disc
stpapi.put.field("tdsls0510m000","cuno",cuno)
stpapi.put.field("tdsls0510m000","item",item)
stpapi.put.field("tdsls0510m000","qana",qana)
stpapi.get.field("tdsls0510m000","disc",hold.disc)
but when I print the value of hold.disc, it is coming as zero. Can anybody guide me how to get the value of discount percentage ?
Vishal