Lines 907-913
CREATE TABLE `branchtransfers` ( -- information for items that are in transit be
Link Here
|
907 |
`datearrived` datetime default NULL, -- the date the transfer arrived at its destination |
907 |
`datearrived` datetime default NULL, -- the date the transfer arrived at its destination |
908 |
`tobranch` varchar(10) NOT NULL default '', -- the branch the transfer was going to |
908 |
`tobranch` varchar(10) NOT NULL default '', -- the branch the transfer was going to |
909 |
`comments` LONGTEXT, -- any comments related to the transfer |
909 |
`comments` LONGTEXT, -- any comments related to the transfer |
910 |
`reason` ENUM('Manual', 'StockrotationAdvance', 'StockrotationRepatriation'), -- what triggered the transfer |
910 |
`reason` ENUM('Manual', 'StockrotationAdvance', 'StockrotationRepatriation', 'ReturnToHome', 'ReturnToHolding'), -- what triggered the transfer |
911 |
PRIMARY KEY (`branchtransfer_id`), |
911 |
PRIMARY KEY (`branchtransfer_id`), |
912 |
KEY `frombranch` (`frombranch`), |
912 |
KEY `frombranch` (`frombranch`), |
913 |
KEY `tobranch` (`tobranch`), |
913 |
KEY `tobranch` (`tobranch`), |
914 |
- |
|
|