Tabular section items unique



The 1C:Enterprise developers forum

#1
People who like this:0Yes/0No
Just came
Rating: 1
Joined: Mar 6, 2018
Company:

Hello!
I have an order tabular section and i am adding goods from catalog. I want to stop that adding a good two times. I have unique codes for each products.

 
#2
People who like this:0Yes/0No
Administrator
Rating: 16
Joined: Dec 4, 2017
Company:

Dear eyup yilmaz,

For instance, you can use the event handler for the <TableName>OnEditEnd event. In the handler, check whether the picked item is already in the list. If yes, notify the user that the item is already in the list and set the True value to the handler's CancelEdit parameter (this cancels the editing action).

Best regards,
Vladimir Gurov

1C Company support team
 
Subscribe