Sunteți pe pagina 1din 2

Defective kiosk product flow from kiosk side to admin

side.

When kiosk user is marking faulty products, entries are


going to table defective_kiosk_products (e.g.: 3966.
3967)

Next step is admin can either move back to stock, or can


move them to transient by adding reference (e.g.: ref6Dec)
there are 2 options; Either move to transient or move to
bin
After moving them to transient by adding reference (e.g.:
ref6Dec), reference number is getting updated in
defective_kiosk_products table as well

When record moved to transient;


1. a record is created in defective_kiosk_references
table to record which user and when and for which kiosk
he added them to transient
2. for received product, entry is created in table
defective_central_products

Table defective_kiosk_references and


defective_kiosk_transients are interlinked (Foreign key:
defective_kiosk_reference_id in table
defective_kiosk_transients)

As record is moved to transient, 3 action are done in


database:
1. Record created in defective_kiosk_references table
2. Products are added in defective_kiosk_transients w.r.t
reference created in table defective_kiosk_references
3. Entries are updated in table defective_kiosk_products
w.r.t reference added in step 1 (We might be updating
column date_of_movement in this step.)
13:39
After receiving faulty transients:
1. status for received products marked as 1 in table
defective_kiosk_transients
13:46
2. Table defective_kiosk_products ; column receive_date
is updated with date received at

S-ar putea să vă placă și