Quantcast
Channel: Baanboard.com
Viewing all articles
Browse latest Browse all 4216

Why can't I access my function?

$
0
0
Hi,
When I'm in debug mode,fails to load the data from my tables and insert them into the table.
Code:

function insert_field_table(){
        db.retry.point()
select tdsls900.*
from tdsls900 for update
where tdsls900.bpid = :tdsls400.ofbp
selectdo

selectempty
tdsls900.bpid = ""
tdsls900.nama = ""
tdsls900.item = ""
tdsls900.cuni = ""
tdsls900.odat = 0
tdsls900.orno = ""
tdsls900.qoor = 0
db.set.to.default(ttdsls900)
 

 
  tdsls900.bpid = tdsls400.ofbp
  tdsls900.nama = tccom100.nama
  tdsls900.item = tdsls401.item
  tdsls900.cuni = tdsls401.cups
  tdsls900.odat =  tdsls400.odat
  tdsls900.orno = tdsls401.orno
  tdsls900.qoor = tdsls401.qoor
 
db.insert(ttdsls900, db.retry)
commit.transaction()
endselect

I tried to comment the select empty part, but gave me a error that I have duplicate records.
Can you help me?
Regards,
RavCoder

Viewing all articles
Browse latest Browse all 4216

Trending Articles