Tabular section items unique

The 1C:Enterprise developers forum

#1
People who like this:0Yes/0No
Active user
Rating: 4
Joined: Mar 6, 2018
Company: Bodega LLC

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:1Yes/0No
Interested
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
Users browsing this topic (guests: 1, registered: 0, hidden: 0)
Be the first to know tips & tricks on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.