2024-01-15 11:31:03 +00:00
|
|
|
CREATE OR REPLACE DEFINER=`root`@`localhost`
|
|
|
|
SQL SECURITY DEFINER
|
|
|
|
VIEW `vn2008`.`travel`
|
|
|
|
AS SELECT `t`.`id` AS `id`,
|
|
|
|
`t`.`shipped` AS `shipment`,
|
|
|
|
`t`.`shipmentHour` AS `shipment_hour`,
|
|
|
|
`t`.`landed` AS `landing`,
|
|
|
|
`t`.`landingHour` AS `landing_hour`,
|
|
|
|
`t`.`warehouseInFk` AS `warehouse_id`,
|
|
|
|
`t`.`warehouseOutFk` AS `warehouse_id_out`,
|
|
|
|
`t`.`agencyModeFk` AS `agency_id`,
|
|
|
|
`t`.`ref` AS `ref`,
|
|
|
|
`t`.`isDelivered` AS `delivered`,
|
|
|
|
`t`.`isReceived` AS `received`,
|
|
|
|
`t`.`m3` AS `m3`,
|
|
|
|
`t`.`kg` AS `kg`,
|
|
|
|
`t`.`cargoSupplierFk` AS `cargoSupplierFk`,
|
|
|
|
`t`.`totalEntries` AS `totalEntries`,
|
2024-01-25 16:33:54 +00:00
|
|
|
`t`.`appointment` AS `appointment`,
|
2024-10-24 10:33:47 +00:00
|
|
|
`t`.`awbFk` AS `awbFk`,
|
2024-11-11 13:19:11 +00:00
|
|
|
`t`.`isRaid` AS `isRaid`,
|
2024-10-24 10:33:47 +00:00
|
|
|
`t`.`daysInForward` AS `daysInForward`
|
2024-01-15 11:31:03 +00:00
|
|
|
FROM `vn`.`travel` `t`
|