ayushk
10th August 2002, 14:14
hi
i am trying to automate the session hratn0122m000 in Baan4c4.
i have created the dll using the session ttstpcreatdll.
i have included the dll in my session.
the code that i have written is :
f0122m000.put.Employee_No.(emp_code)
f0122m000.put.Date_From(date_in)
f0122m000.put.Date_To(date_out)
find_ret = f0122m000.set.view(find_err)
f0122m000.put.Date(date_in)
f0122m000.put.Time_In(time_in)
f0122m000.put.Date_Out(time_out)
f0122m000.put.Date_To(date_out)
f0122m000.insert(do.update, insert_err)
f0122m000.save(save_err)
on execution of the last line (find_ret = f0122m000.set.view(find_err)) above, i get an error -
1. zero pointer : name f0122m000.set.view.error in put.sval.
2. use of null pointer on ''
can anyone let me know how to solve this problem.
i am relatively new to working with AFS, so let me know if there is any basic thing that i might me missing out.
bye
ayush
i am trying to automate the session hratn0122m000 in Baan4c4.
i have created the dll using the session ttstpcreatdll.
i have included the dll in my session.
the code that i have written is :
f0122m000.put.Employee_No.(emp_code)
f0122m000.put.Date_From(date_in)
f0122m000.put.Date_To(date_out)
find_ret = f0122m000.set.view(find_err)
f0122m000.put.Date(date_in)
f0122m000.put.Time_In(time_in)
f0122m000.put.Date_Out(time_out)
f0122m000.put.Date_To(date_out)
f0122m000.insert(do.update, insert_err)
f0122m000.save(save_err)
on execution of the last line (find_ret = f0122m000.set.view(find_err)) above, i get an error -
1. zero pointer : name f0122m000.set.view.error in put.sval.
2. use of null pointer on ''
can anyone let me know how to solve this problem.
i am relatively new to working with AFS, so let me know if there is any basic thing that i might me missing out.
bye
ayush