muheeb
7th March 2006, 10:56
Hello everyone,
I'm building an AFS for session tiedm1101m000 (Maintain E-Item Revisions)
and want to delete some records according to return value of some
logic and not delete them to other values of the return value.
When I do delete in some record (not released) a pop-up question will be appeard (ttstpq0102="Delete records ?") with a default answer "No".
so it the following code:
f1101m000.put.Engineering_Item(tiedm010.eitm)
f1101m000.set.view()
f1101m000.put.Engineering_Item_Revision(tiedm100.revi)
f1101m000.put.Effective_Date(tiedm100.indt)
ret_val = f1101m000.find()
f1101m000.delete(1, error_str)
shouldn't delete the records (because of the default answer) BUT it does delete it in AFS?!!!
even when I put "f1101m000.define.enum.answer("ttstpq0102", ttyeno.no)"
before the delete command it gets deleted!!!! why?
it doesn't have to delete, does it?
Note: I have Baan4c in UNIX
I'm building an AFS for session tiedm1101m000 (Maintain E-Item Revisions)
and want to delete some records according to return value of some
logic and not delete them to other values of the return value.
When I do delete in some record (not released) a pop-up question will be appeard (ttstpq0102="Delete records ?") with a default answer "No".
so it the following code:
f1101m000.put.Engineering_Item(tiedm010.eitm)
f1101m000.set.view()
f1101m000.put.Engineering_Item_Revision(tiedm100.revi)
f1101m000.put.Effective_Date(tiedm100.indt)
ret_val = f1101m000.find()
f1101m000.delete(1, error_str)
shouldn't delete the records (because of the default answer) BUT it does delete it in AFS?!!!
even when I put "f1101m000.define.enum.answer("ttstpq0102", ttyeno.no)"
before the delete command it gets deleted!!!! why?
it doesn't have to delete, does it?
Note: I have Baan4c in UNIX