marselhober
12th September 2005, 12:59
Dear friends...

I want to know are there some ways in BaaN to block a user from doing backdated transaction ? Especially for transaction purchase receipt, purchase return, sales issue and sales return.
I want to set that users can do the transaction in BaaN only at the current date.

Thank you very much for any solutions.

Regards,
Marsel.

beginer
12th September 2005, 14:37
Hi ,

I suppose you should be able to use the Table Field Data Authorization for the same.

pegaga1979
30th April 2015, 06:46
Hi, may i know where is Table Field Data Authorization?

i do not know how to block.

pegaga1979
30th April 2015, 06:55
ok. found the session.
but may i know how to set?

bhushanchanda
30th April 2015, 14:42
Hi,

What you can do is, instead of blocking the field, what I did was, I created a custom table to put user name and the things needed to be blocked for that particular user i.e. Shipments, Receipts etc.

Now, in the User Exits(UE DLL) in ue.before.before.save.object(), you can verify in that custom table if the user is allowed to do backdated transaction or not, if the record is found against that user, you can give a DALHOOKERROR stating your error message.

This way, you can add or remove users as well, also, if you want you can give a tolerance days upto which a user can do backdated transaction.

(I hope you have UE in your environment)