Skip to Content
0
Former Member
Nov 05, 2012 at 04:20 AM

Need error message on line itesm for duplicate combination of fields

30 Views

Hi Experts,

Requirement is to issue error message if line item with duplicate combination of fields occur in shopping cart.

For example: Requisitioner adds a catalogue item to the shopping cart for a particular location, the system needs to check if that item is already present in that shopping cart for the same location. If this item is a duplicate in the shopping cart. system issues a error message.

The same item can appear in the shopping cart if is requested for different plant.

Only the combination of a item and its plant has to be unique in the shopping cart.

How to achieve this using internal table?

Thanks.