--- ABS-22517/ ABS-47185

---CUSTOMERGARMENTDISPENSER table---
ALTER TABLE CUSTOMERGARMENTDISPENSER ADD (NOREGULAROUTSCANGENPOOL NUMBER DEFAULT 0 NOT NULL CONSTRAINT NOREGOUTSCANGENPOOL_VALID1_1
                                                                  CHECK (NOREGULAROUTSCANGENPOOL IN (0, 1)),
                                          NOREGULAROUTSCANCUSTPOOL NUMBER DEFAULT 0 NOT NULL CONSTRAINT NOREGOUTSCANCUSTPOOL_VALID1_1
                                                                  CHECK (NOREGULAROUTSCANCUSTPOOL IN (0, 1)));

COMMENT ON COLUMN CUSTOMERGARMENTDISPENSER.NOREGULAROUTSCANGENPOOL
  IS 'Used in combination with setting ProcessTrans2AsOutscan = ''Y''
0 = Not applicable / Scanned general pool Item is added to delivery note as regular Outscan and will be charged for wash.
1 = When desk issue scan is registered as Outscan, then the issue scan will be charged for wash. The regular Outscan where a general pool Item is added to a delivery note will not be charged for wash ';

COMMENT ON COLUMN CUSTOMERGARMENTDISPENSER.NOREGULAROUTSCANCUSTPOOL
  IS 'Used in combination with setting ProcessTrans2AsOutscan = ''Y''
0 = Not applicable / Scanned customer related pool Item is added to delivery note as regular Outscan and will be charged for wash.
1 = When desk issue scan is registered as Outscan, then the issue scan will be charged for wash. The regular Outscan where a customer related pool Item is added to a delivery note will not be charged for wash.
';

---PACKINGNOTELINE table--- 
ALTER TABLE PACKINGNOTELINE ADD (NOCHARGEGDDELIVERYFORPOOL NUMBER NULL,
                                 NOCHARGEGDDELIVERYFORPOOLCOG NUMBER NULL);

COMMENT ON COLUMN PACKINGNOTELINE.NOCHARGEGDDELIVERYFORPOOL
  IS 'Number of pool items that have been added to packing note (line) for delivery to a garment dispenser that should not be charged for wash.';
  
COMMENT ON COLUMN PACKINGNOTELINE.NOCHARGEGDDELIVERYFORPOOLCOG
  IS 'Number of COG pool items that have been added to packing note (line) for delivery to a garment dispenser that should not be charged for wash.';