restrict data in lov
for example if i created invoice.
if i have 3 items (item1 ,item2,item3)
if i select item1 in recod 1
i want to commit this record (programming)
in the next record in item lov i will use restrict data in select statement
but the main issue how i commit record ?