Exportar listado de Proveedores en ServiceDesk Plus y AssetExplorer

Query Report: Listado de Proveedores en ServiceDesk Plus / AssetExplorer

El siguiente query muestra el listado de Proveedores registrados en la consola ServiceDesk Plus / Asset Explorer:

MSSQL.
SELECT sdorganization.NAME, sdorganization.DESCRIPTION, vendordefinition.contactperson 'Contact Person', aaapostaladdress.DOOR_NO, aaapostaladdress.STREET, aaapostaladdress.LANDMARK, aaapostaladdress.CITY, aaapostaladdress.POSTALCODE, aaapostaladdress.STATE, aaapostaladdress.COUNTRY, aaacontactinfo.EMAILID, aaacontactinfo.LANDLINE, aaacontactinfo.FAX, aaacontactinfo.WEB_URL,currency.currencyname,currency.currencysymbol 
FROM Vendordefinition 
LEFT JOIN sdorganization ON Vendordefinition.VENDORID=sdorganization.ORG_ID 
LEFT JOIN SDOrgContactInfo ON SDOrganization.ORG_ID=SDOrgContactInfo.ORG_ID
LEFT JOIN AaaContactInfo ON SDOrgContactInfo.CONTACTINFO_ID=AaaContactInfo.CONTACTINFO_ID 
LEFT JOIN SDOrgPostalAddr ON SDOrganization.ORG_ID=SDOrgPostalAddr.ORG_ID
LEFT JOIN aaapostaladdress ON SDOrgPostalAddr.POSTALADDR_ID=aaapostaladdress.POSTALADDR_ID
left join currency on currency.currencyid = vendordefinition.currencyid

PGSQL.
SELECT sdo.NAME AS "Vendor Name", sdo.DESCRIPTION AS "Description", vd.CONTACTPERSON AS "Contact Person", pa.DOOR_NO AS "Door No.", pa.STREET AS "Street", pa.LANDMARK AS "Landmark", pa.CITY AS "City", pa.POSTALCODE AS "Postal Code", pa.STATE AS "State", pa.COUNTRY AS "Country", ci.EMAILID AS "Email", ci.LANDLINE AS "Phone", ci.FAX AS "Fax", ci.WEB_URL AS "Web Url", c.CURRENCYNAME AS "Currency Name", c.CURRENCYSYMBOL AS "Currency Symbol"
FROM VendorDefinition vd
LEFT JOIN SDOrganization sdo ON vd.VENDORID=sdo.ORG_ID
LEFT JOIN SDOrgContactInfo sdoci ON sdo.ORG_ID=sdoci.ORG_ID
LEFT JOIN AAAContactInfo ci ON sdoci.CONTACTINFO_ID=ci.CONTACTINFO_ID 
LEFT JOIN SDOrgPostalAddr spa ON sdo.ORG_ID=spa.ORG_ID
LEFT JOIN AAAPostalAddress pa ON spa.POSTALADDR_ID=pa.POSTALADDR_ID
LEFT JOIN Currency c ON c.CURRENCYID = vd.CURRENCYID

¿Tiene consultas o necesita asesoría? ¡Contáctenos!

Genotech
Soluciones Tecnológicas Empresariales