RTV_Reportes_Configuracion de devolucion del proveedor.

Cuando reportan que al intentar consultar informacion del proveedor en la pantalla configuracion de devolucion al proveedor y que mande el siguiente error.

Se tiene que revisar que exista la informacion del proveedor en la tabla VendorRTVConfiguration, si no existe revisar desde la BD del gateway en la tabla thd_sms_gateway.import.VendorRTVAddress si no existe la informacion reasignar el ticket a MMS para que publique la informacion de nuevo ya que no la tenemos de lado de tienda.

Query.

declare @VendorId nvarchar(6) = '101543'
declare @VendorSuffix tinyint = 1
SELECT C.*, T.Instructions, V.VendorName, V.ShipType
FROM VendorRTVConfiguration C 
     inner join DispInstruc T on C.RtnType=T.DispCode
     inner join Vendor V on C.VendorId=V.VendorID and C.VendorSuffix=V.VendorSuffix
WHERE C.VendorId=@VendorId and C.VendorSuffix=@VendorSuffix

select 'VendorRTVConfiguration', * from VendorRTVConfiguration where VendorId = @VendorId and VendorSuffix = @VendorSuffix
select 'thd_sms_gateway', * from thd_sms_gateway.import.VendorRTVAddress where MerchantVendorCode = @VendorId and VendorSuffix = @VendorSuffix
select 'Vendor', VendorID,VendorSuffix, * from Vendor where VendorId = @VendorId and VendorSuffix = @VendorSuffix

Loading

Deja una respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *