dont allow thw values

hi all…

Write necessary code which will not allow inserting item until “Inventory posting group” and “gen. prod Posting group” is not entered?

i wrote the code in oninsert() of no field.

no := no.;

and in onvalidate()

testfields(“inventory posting group”);

testfields(“ posting group”);

while trying this its throwing an error

i . e cursor postion is not changing form the current field( field no.)

why did you write code in OnInsert trigger?

Did you try these suggestions…

ya mohana i tried that… thanks alot