CREATE OR REPLACE DEFINER=`root`@`localhost`
	SQL SECURITY DEFINER
	VIEW `vn2008`.`escritos_det`
AS SELECT `cs`.`id` AS `id`,
	`cs`.`clientFk` AS `Id_Cliente`,
	`cs`.`typeFk` AS `escritos_id`,
	`cs`.`created` AS `fecha`,
	`cs`.`workerFk` AS `Id_Trabajador`,
	`cs`.`userFk` AS `userFk`,
	`cs`.`companyFk` AS `empresa_id`,
	`cs`.`balance` AS `saldo`
FROM `vn`.`clientSample` `cs`
