I believe a list of item ( only contain unique item, which duplicate is not allowed )
Data Structure
Order Receipt
→ Contain a List of Ordered Item ( another data )
A POS system allow to combine/split Receipt.
But, there is what happen after combine / split order:
1668585395082x974090330646773800
1668585392491x913907103225872400
1668585404748x349544650788569100
1668585399188x369035476246986750
1668585392491x913907103225872400
1668585395082x974090330646773800
1668585404748x349544650788569100
1668585392491x913907103225872400
1668585395082x974090330646773800
1668585390826x938151926477357000
1668585402081x818189043262292000
1668585408002x675969323565056000
in the List of Ordered Item in 1 Order Receipt,
You can see there is multiple duplication of Unique Item( Ordered Item) ( and thier Unique ID )
How can this happenned?
If i add a unique item into the list which already contain that unique item, the unique item in the list become 2??
** i am still studying the combine/split process.
*** is this Bug?