intento:
seleccionar x.*, y.*
de
(Stocktransfer.stocktransfer_id SELECTO, STORE.description “storefrom”, stocktransfer.quantity, stocktransfer.createddate, from_storecode, to_storecode,
stocktransfer.productcode
De stocktransfer
ensamblar el almacén en stocktransfer.from_storecode =STORE.STORECODE donde no está) x el to_storecode nulo,
(
SELECCIONAR stocktransfer.stocktransfer_id, STORE.description “storeto”, stocktransfer.quantity, stocktransfer.createddate, from_storecode, to_storecode,
stocktransfer.productcode
De stocktransfer
ensamblar el almacén encendido
stocktransfer.to_storecode=STORE.STORECODE donde no está) y el from_storecode nula
Gracias,