15 lines
415 B
SQL
15 lines
415 B
SQL
CREATE OR REPLACE DEFINER=`root`@`localhost`
|
|
SQL SECURITY DEFINER
|
|
VIEW `hedera`.`order_row`
|
|
AS SELECT `t`.`id` AS `id`,
|
|
`t`.`orderFk` AS `order_id`,
|
|
`t`.`itemFk` AS `item_id`,
|
|
`t`.`warehouseFk` AS `warehouse_id`,
|
|
`t`.`shipment` AS `shipment`,
|
|
`t`.`amount` AS `amount`,
|
|
`t`.`price` AS `price`,
|
|
`t`.`rate` AS `rate`,
|
|
`t`.`created` AS `created`,
|
|
`t`.`saleFk` AS `Id_Movimiento`
|
|
FROM `hedera`.`orderRow` `t`
|