NTS Business Experience

Giacenze, articoli, barcode e listini e-commerce — Pro

Ditta e magazzino: quantità, dossier articolo, classificazioni, barcode e prezzi generici con condizioni native.

NON UFFICIALE — NON VALIDATA SU UNA INSTALLAZIONE ERP REALE.

Per magazzinieri, acquisti, vendite e responsabili: scegli ditta e magazzino, cerca un articolo e consulta esistenza, ordinato, impegnato e prenotato con la loro U.M. Apri Articolo per descrizioni, marca, gruppo/sottogruppo, famiglia, classificazioni, confezioni, varianti e fornitore abituale; poi Barcode e Listini solo quando servono.

Perché Cifru? Adatta le configurazioni al tuo modo di lavorare. Scegli i campi, i filtri e i dettagli che ti servono e porta sul telefono informazioni che potrebbero non essere disponibili nell’app mobile del tuo gestionale. Le possibilità dipendono dai dati accessibili nella fonte autorizzata e dal tuo piano Cifru.

REQUISITO SPECIFICO: legge esclusivamente le 14 VISTE documentate del DATABASE DI TRANSITO del modulo ufficiale Collegamento a sistema eCommerce, già installate e autorizzate. NON legge tabelle native omonime, buffer di importazione o qualsiasi database NTS. Cifru non crea viste, non installa moduli e non esegue script vendor. Modulo, licenze, script delle viste, colonne, proprietario, chiavi logiche uniche/non nulle e permessi devono essere verificati dall’amministratore. Le chiavi in grassetto nel manuale sono logiche, non certificati di PK SQL. SQL Server 2016+ richiesto per la rappresentazione senza perdita delle chiavi Float (style3); non certifica i requisiti della versione ERP installata. Nessun accesso diretto a Business Cloud presunto.

Pro reale: una fonte, quattro liste e tre sotto-pulsanti lazy. Una sola Home Giacenze, ditta e magazzino obbligatori prima della lettura limitata; fino a 1.000 righe per richiesta, senza refresh periodico. Identità complete nascoste; nessun mix tra ditte, articoli o magazzini. Le letture separate non sono uno snapshot atomico. Filtri e ricerca locali agiscono sulle righe già caricate; restringere la selezione quando si raggiunge il limite.

DOMINIO: articoli e magazzini visibili all’applicazione esterna, non l’intero ERP. La vista ARTICO documentata esclude gestioni lotto, matricola, commessa, ubicazione, fase e gift card; ARTPRO non espone progressivi per lotto/commessa/ubicazione/fase. Non è inventario storico, valorizzazione, costo medio o registro movimenti. Quantità native nella U.M. principale attuale; nessuna conversione, somma tra unità o sostituzione di NULL con zero. Disponibilità generica calcolata=esistenza+ordinato-impegnato; netta=esistenza-prenotato, secondo manuale. Sono due definizioni diverse, non promessa di consegna o garanzia di merce vendibile.

Anagrafiche/classificazioni sono attuali. Master assente non elimina la giacenza: il problema è esplicito, senza nome/U.M. inventati. Sottogruppo collegato solo se coerente con il gruppo; le classificazioni 1–5 rimangono codici gestionali, non descrizioni indovinate. Codice IVA non è percentuale, classe sconto non è sconto applicato. Confezione: rapporto moltiplicatore; U.M. secondaria: rapporto divisore, senza conversioni automatiche. Note limitate a 500 caratteri. Nessun ID tecnico, operatore/audit, file immagine privato o password web visibile.

BARCODE: codici documentati con U.M./taglia proprie; non assumiamo che ogni valore sia un EAN valido. LISTINIG: prezzi generici nella valuta principale EURO come documentato per questa vista standard, non per ogni database NTS o vista personalizzata. Mantiene U.M., intervallo originale data/ora, quantità da/a e promozione; sul card compare la sola data, mentre Dettagli mantiene anche ora e millisecondi. Non filtra silenziosamente prezzi scaduti/futuri. Prezzo memorizzato mostrato senza arrotondarlo a due decimali; non offerta corrente del cliente, costo d’acquisto, totale, scelta automatica del listino, sconti speciali o conversione valuta. lc_netto=S significa non applicare ulteriori sconti, NON IVA esclusa; lc_ivato indica IVA compresa. La documentazione standard limita lc_perqta a 1: verificare questa condizione nella vista installata. Valori S/N sconosciuti o NULL non diventano automaticamente Sì/No.

Il filtro ditta non è ACL: SQL diretto non eredita le autorizzazioni NTS. Usare account dedicato solo SELECT e ambito approvato. Prezzi/fornitore/note possono essere riservati sulla fonte reale. Pacchetto senza server, credenziali, cache o righe aziendali. Documentazione helpnet2024, verifiche sintetiche e immagini DEMO NON sono test su installazione ERP o SQL Server reale. Verificare tipi/collation/indici/versione e performance con lettura limitata prima dell’import.

Manuale tecnico: https://servizi.ntsinformatica.it/BusHelpWs/helpnet2024/html/ambsecinst.htm
Anagrafica articoli: https://servizi.ntsinformatica.it/BusHelpWs/helpnet2024/html/bsmgarti.htm
Magazzino e disponibilità: https://servizi.ntsinformatica.it/BusHelpWs/helpnet2024/html/ambsmg07.htm

What this package creates

1 Home3 Details4 lists1 sources to map
  • Home: Giacenze per magazzino
  • Details: Articolo
  • Details: Barcode
  • Details: Listini
  • Sub-button: Dossier articolo
  • Sub-button: Barcode articolo
  • Sub-button: Listini generici articolo

Sources are mapped locally and verified before applying.

Custom queriesPRO4 SQL

Custom queries are a PRO feature. Cifru repeats read-only validation against the local source before execution.

Statically verified read-only$.components.workspaceSelection.datasets.0.sqlQuery
SELECT CONCAT(DATALENGTH(CONVERT(nvarchar(4000), p.codditt)),N':',CONVERT(nvarchar(4000), p.codditt),N'|',DATALENGTH(CONVERT(nvarchar(4000), p.ap_codart)),N':',CONVERT(nvarchar(4000), p.ap_codart),N'|',DATALENGTH(CONVERT(nvarchar(4000), p.ap_magaz)),N':',CONVERT(nvarchar(4000), p.ap_magaz),N'|') AS StockKey, CONCAT(DATALENGTH(CONVERT(nvarchar(4000), p.codditt)),N':',CONVERT(nvarchar(4000), p.codditt),N'|',DATALENGTH(CONVERT(nvarchar(4000), p.ap_codart)),N':',CONVERT(nvarchar(4000), p.ap_codart),N'|') AS ProductKey, p.codditt, p.ap_codart, p.ap_magaz, p.ap_esist, p.ap_ordin, p.ap_impeg, p.ap_prenot, COALESCE(NULLIF(a.ar_descr,N''),p.ap_codart) AS ProductName, COALESCE(NULLIF(w.tb_desmaga,N''),CONCAT(N'Magazzino ',p.ap_magaz)) AS WarehouseName, a.ar_unmis AS PrimaryUnit, b.tb_desmarc AS BrandName, g.tb_desgmer AS GroupName, s.tb_desgme AS SubgroupName, p.ap_esist+p.ap_ordin-p.ap_impeg AS GenericAvailable, p.ap_esist-p.ap_prenot AS NetAvailable, REPLACE(CONVERT(nvarchar(4000), p.ap_ultagg, 126),N'T',CHAR(10)) AS StockUpdatedAt, CASE WHEN a.ar_codart IS NULL THEN N'Non disponibile: verificare la vista' ELSE N'Disponibile' END AS ProductAvailability, CASE WHEN w.tb_codmaga IS NULL THEN N'Non disponibile: verificare la vista' ELSE N'Disponibile' END AS WarehouseAvailability, CASE WHEN s.tb_codsgme IS NULL THEN N'Non disponibile: verificare la vista' ELSE N'Disponibile' END AS SubgroupAvailability FROM ARTPRO p LEFT JOIN ARTICO a ON (CONVERT(nvarchar(4000), p.codditt) COLLATE Latin1_General_100_BIN2=CONVERT(nvarchar(4000), a.codditt) COLLATE Latin1_General_100_BIN2 AND DATALENGTH(CONVERT(nvarchar(4000), p.codditt))=DATALENGTH(CONVERT(nvarchar(4000), a.codditt))) AND (CONVERT(nvarchar(4000), p.ap_codart) COLLATE Latin1_General_100_BIN2=CONVERT(nvarchar(4000), a.ar_codart) COLLATE Latin1_General_100_BIN2 AND DATALENGTH(CONVERT(nvarchar(4000), p.ap_codart))=DATALENGTH(CONVERT(nvarchar(4000), a.ar_codart))) LEFT JOIN TABMAGA w ON (CONVERT(nvarchar(4000), p.codditt) COLLATE Latin1_General_100_BIN2=CONVERT(nvarchar(4000), w.codditt) COLLATE Latin1_General_100_BIN2 AND DATALENGTH(CONVERT(nvarchar(4000), p.codditt))=DATALENGTH(CONVERT(nvarchar(4000), w.codditt))) AND p.ap_magaz=w.tb_codmaga LEFT JOIN TABMARC b ON (CONVERT(nvarchar(4000), a.codditt) COLLATE Latin1_General_100_BIN2=CONVERT(nvarchar(4000), b.codditt) COLLATE Latin1_General_100_BIN2 AND DATALENGTH(CONVERT(nvarchar(4000), a.codditt))=DATALENGTH(CONVERT(nvarchar(4000), b.codditt))) AND a.ar_codmarc=b.tb_codmarc LEFT JOIN TABGMER g ON (CONVERT(nvarchar(4000), a.codditt) COLLATE Latin1_General_100_BIN2=CONVERT(nvarchar(4000), g.codditt) COLLATE Latin1_General_100_BIN2 AND DATALENGTH(CONVERT(nvarchar(4000), a.codditt))=DATALENGTH(CONVERT(nvarchar(4000), g.codditt))) AND a.ar_gruppo=g.tb_codgmer LEFT JOIN TABSGME s ON (CONVERT(nvarchar(4000), a.codditt) COLLATE Latin1_General_100_BIN2=CONVERT(nvarchar(4000), s.codditt) COLLATE Latin1_General_100_BIN2 AND DATALENGTH(CONVERT(nvarchar(4000), a.codditt))=DATALENGTH(CONVERT(nvarchar(4000), s.codditt))) AND a.ar_sotgru=s.tb_codsgme AND a.ar_gruppo=s.tb_codgrupm WHERE p.codditt IS NOT NULL AND p.ap_codart IS NOT NULL AND p.ap_magaz IS NOT NULL AND SCHEMA_NAME() NOT IN (N'guest',N'sys',N'INFORMATION_SCHEMA') AND OBJECT_ID(N'ARTICO',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.ARTICO',N'V') AND OBJECT_ID(N'ARTPRO',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.ARTPRO',N'V') AND OBJECT_ID(N'TABMAGA',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABMAGA',N'V') AND OBJECT_ID(N'BARCODE',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.BARCODE',N'V') AND OBJECT_ID(N'TABMARC',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABMARC',N'V') AND OBJECT_ID(N'TABGMER',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABGMER',N'V') AND OBJECT_ID(N'TABSGME',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABSGME',N'V') AND OBJECT_ID(N'TABCFAM',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABCFAM',N'V') AND OBJECT_ID(N'TABSTAG',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABSTAG',N'V') AND OBJECT_ID(N'TABSEAT',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABSEAT',N'V') AND OBJECT_ID(N'TABFORM',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABFORM',N'V') AND OBJECT_ID(N'TABDIRE',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABDIRE',N'V') AND OBJECT_ID(N'LISTINIG',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.LISTINIG',N'V') AND OBJECT_ID(N'FORNITORI',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.FORNITORI',N'V')

static read-only checks passed

Statically verified read-only$.components.workspaceSelection.datasets.1.sqlQuery
SELECT CONCAT(DATALENGTH(CONVERT(nvarchar(4000), a.codditt)),N':',CONVERT(nvarchar(4000), a.codditt),N'|',DATALENGTH(CONVERT(nvarchar(4000), a.ar_codart)),N':',CONVERT(nvarchar(4000), a.ar_codart),N'|') AS ProductKey, a.codditt, a.ar_codart, a.ar_codalt, a.ar_descr, a.ar_desint, a.ar_unmis, a.ar_confez2, a.ar_qtacon2, a.ar_unmis2, a.ar_conver, a.ar_codiva, a.ar_pesonet, a.ar_pesolor, a.ar_forn, a.ar_codroot, a.ar_codvar1, a.ar_codvar2, a.ar_codvar3, a.ar_codtagl, a.ar_anno, a.ar_codcla1, a.ar_codcla2, a.ar_codcla3, a.ar_codcla4, a.ar_codcla5, a.ar_clascon, b.tb_desmarc AS BrandName, g.tb_desgmer AS GroupName, s.tb_desgme AS SubgroupName, f.tb_descfam AS FamilyName, t.tb_desstag AS SeasonName, u.tb_desseat AS SetName, v.tb_desform AS FormName, x.tb_desdire AS CompositionName, r.an_descr1 AS SupplierName, CASE WHEN r.an_conto IS NULL THEN N'Non disponibile: verificare la vista' ELSE N'Disponibile' END AS SupplierAvailability, CASE WHEN s.tb_codsgme IS NULL THEN N'Non disponibile: verificare la vista' ELSE N'Disponibile' END AS SubgroupAvailability, CASE a.ar_webusat WHEN N'S' THEN N'Sì' WHEN N'N' THEN N'No' ELSE a.ar_webusat END AS UsedState, CASE a.ar_webvend WHEN N'S' THEN N'Sì' WHEN N'N' THEN N'No' ELSE a.ar_webvend END AS SaleState, LEFT(CAST(a.ar_note AS nvarchar(MAX)),500) AS ProductNotes FROM ARTICO a LEFT JOIN TABMARC b ON (CONVERT(nvarchar(4000), a.codditt) COLLATE Latin1_General_100_BIN2=CONVERT(nvarchar(4000), b.codditt) COLLATE Latin1_General_100_BIN2 AND DATALENGTH(CONVERT(nvarchar(4000), a.codditt))=DATALENGTH(CONVERT(nvarchar(4000), b.codditt))) AND a.ar_codmarc=b.tb_codmarc LEFT JOIN TABGMER g ON (CONVERT(nvarchar(4000), a.codditt) COLLATE Latin1_General_100_BIN2=CONVERT(nvarchar(4000), g.codditt) COLLATE Latin1_General_100_BIN2 AND DATALENGTH(CONVERT(nvarchar(4000), a.codditt))=DATALENGTH(CONVERT(nvarchar(4000), g.codditt))) AND a.ar_gruppo=g.tb_codgmer LEFT JOIN TABSGME s ON (CONVERT(nvarchar(4000), a.codditt) COLLATE Latin1_General_100_BIN2=CONVERT(nvarchar(4000), s.codditt) COLLATE Latin1_General_100_BIN2 AND DATALENGTH(CONVERT(nvarchar(4000), a.codditt))=DATALENGTH(CONVERT(nvarchar(4000), s.codditt))) AND a.ar_sotgru=s.tb_codsgme AND a.ar_gruppo=s.tb_codgrupm LEFT JOIN TABCFAM f ON (CONVERT(nvarchar(4000), a.codditt) COLLATE Latin1_General_100_BIN2=CONVERT(nvarchar(4000), f.codditt) COLLATE Latin1_General_100_BIN2 AND DATALENGTH(CONVERT(nvarchar(4000), a.codditt))=DATALENGTH(CONVERT(nvarchar(4000), f.codditt))) AND (CONVERT(nvarchar(4000), a.ar_famprod) COLLATE Latin1_General_100_BIN2=CONVERT(nvarchar(4000), f.tb_codcfam) COLLATE Latin1_General_100_BIN2 AND DATALENGTH(CONVERT(nvarchar(4000), a.ar_famprod))=DATALENGTH(CONVERT(nvarchar(4000), f.tb_codcfam))) LEFT JOIN TABSTAG t ON (CONVERT(nvarchar(4000), a.codditt) COLLATE Latin1_General_100_BIN2=CONVERT(nvarchar(4000), t.codditt) COLLATE Latin1_General_100_BIN2 AND DATALENGTH(CONVERT(nvarchar(4000), a.codditt))=DATALENGTH(CONVERT(nvarchar(4000), t.codditt))) AND a.ar_codstag=t.tb_codstag LEFT JOIN TABSEAT u ON (CONVERT(nvarchar(4000), a.codditt) COLLATE Latin1_General_100_BIN2=CONVERT(nvarchar(4000), u.codditt) COLLATE Latin1_General_100_BIN2 AND DATALENGTH(CONVERT(nvarchar(4000), a.codditt))=DATALENGTH(CONVERT(nvarchar(4000), u.codditt))) AND a.ar_codseat=u.tb_codseat LEFT JOIN TABFORM v ON (CONVERT(nvarchar(4000), a.codditt) COLLATE Latin1_General_100_BIN2=CONVERT(nvarchar(4000), v.codditt) COLLATE Latin1_General_100_BIN2 AND DATALENGTH(CONVERT(nvarchar(4000), a.codditt))=DATALENGTH(CONVERT(nvarchar(4000), v.codditt))) AND a.ar_codform=v.tb_codform LEFT JOIN TABDIRE x ON (CONVERT(nvarchar(4000), a.codditt) COLLATE Latin1_General_100_BIN2=CONVERT(nvarchar(4000), x.codditt) COLLATE Latin1_General_100_BIN2 AND DATALENGTH(CONVERT(nvarchar(4000), a.codditt))=DATALENGTH(CONVERT(nvarchar(4000), x.codditt))) AND a.ar_coddire=x.tb_coddire LEFT JOIN FORNITORI r ON (CONVERT(nvarchar(4000), a.codditt) COLLATE Latin1_General_100_BIN2=CONVERT(nvarchar(4000), r.codditt) COLLATE Latin1_General_100_BIN2 AND DATALENGTH(CONVERT(nvarchar(4000), a.codditt))=DATALENGTH(CONVERT(nvarchar(4000), r.codditt))) AND a.ar_forn=r.an_conto WHERE a.codditt IS NOT NULL AND a.ar_codart IS NOT NULL AND SCHEMA_NAME() NOT IN (N'guest',N'sys',N'INFORMATION_SCHEMA') AND OBJECT_ID(N'ARTICO',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.ARTICO',N'V') AND OBJECT_ID(N'ARTPRO',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.ARTPRO',N'V') AND OBJECT_ID(N'TABMAGA',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABMAGA',N'V') AND OBJECT_ID(N'BARCODE',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.BARCODE',N'V') AND OBJECT_ID(N'TABMARC',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABMARC',N'V') AND OBJECT_ID(N'TABGMER',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABGMER',N'V') AND OBJECT_ID(N'TABSGME',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABSGME',N'V') AND OBJECT_ID(N'TABCFAM',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABCFAM',N'V') AND OBJECT_ID(N'TABSTAG',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABSTAG',N'V') AND OBJECT_ID(N'TABSEAT',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABSEAT',N'V') AND OBJECT_ID(N'TABFORM',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABFORM',N'V') AND OBJECT_ID(N'TABDIRE',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABDIRE',N'V') AND OBJECT_ID(N'LISTINIG',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.LISTINIG',N'V') AND OBJECT_ID(N'FORNITORI',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.FORNITORI',N'V') AND (CONVERT(nvarchar(4000), a.codditt) COLLATE Latin1_General_100_BIN2=CONVERT(nvarchar(4000), :company) COLLATE Latin1_General_100_BIN2 AND DATALENGTH(CONVERT(nvarchar(4000), a.codditt))=DATALENGTH(CONVERT(nvarchar(4000), :company))) AND (CONVERT(nvarchar(4000), a.ar_codart) COLLATE Latin1_General_100_BIN2=CONVERT(nvarchar(4000), :article) COLLATE Latin1_General_100_BIN2 AND DATALENGTH(CONVERT(nvarchar(4000), a.ar_codart))=DATALENGTH(CONVERT(nvarchar(4000), :article)))

static read-only checks passed

Statically verified read-only$.components.workspaceSelection.datasets.2.sqlQuery
SELECT CONCAT(DATALENGTH(CONVERT(nvarchar(4000), b.codditt)),N':',CONVERT(nvarchar(4000), b.codditt),N'|',DATALENGTH(CONVERT(nvarchar(4000), b.bc_code)),N':',CONVERT(nvarchar(4000), b.bc_code),N'|') AS BarcodeKey, CONCAT(DATALENGTH(CONVERT(nvarchar(4000), a.codditt)),N':',CONVERT(nvarchar(4000), a.codditt),N'|',DATALENGTH(CONVERT(nvarchar(4000), a.ar_codart)),N':',CONVERT(nvarchar(4000), a.ar_codart),N'|') AS ParentProductKey, b.bc_code, b.bc_unmis, b.bc_tagl, b.bc_codart AS BarcodeArticle FROM BARCODE b INNER JOIN ARTICO a ON (CONVERT(nvarchar(4000), b.codditt) COLLATE Latin1_General_100_BIN2=CONVERT(nvarchar(4000), a.codditt) COLLATE Latin1_General_100_BIN2 AND DATALENGTH(CONVERT(nvarchar(4000), b.codditt))=DATALENGTH(CONVERT(nvarchar(4000), a.codditt))) AND (CONVERT(nvarchar(4000), b.bc_codart) COLLATE Latin1_General_100_BIN2=CONVERT(nvarchar(4000), a.ar_codart) COLLATE Latin1_General_100_BIN2 AND DATALENGTH(CONVERT(nvarchar(4000), b.bc_codart))=DATALENGTH(CONVERT(nvarchar(4000), a.ar_codart))) WHERE b.codditt IS NOT NULL AND b.bc_code IS NOT NULL AND SCHEMA_NAME() NOT IN (N'guest',N'sys',N'INFORMATION_SCHEMA') AND OBJECT_ID(N'ARTICO',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.ARTICO',N'V') AND OBJECT_ID(N'ARTPRO',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.ARTPRO',N'V') AND OBJECT_ID(N'TABMAGA',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABMAGA',N'V') AND OBJECT_ID(N'BARCODE',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.BARCODE',N'V') AND OBJECT_ID(N'TABMARC',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABMARC',N'V') AND OBJECT_ID(N'TABGMER',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABGMER',N'V') AND OBJECT_ID(N'TABSGME',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABSGME',N'V') AND OBJECT_ID(N'TABCFAM',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABCFAM',N'V') AND OBJECT_ID(N'TABSTAG',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABSTAG',N'V') AND OBJECT_ID(N'TABSEAT',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABSEAT',N'V') AND OBJECT_ID(N'TABFORM',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABFORM',N'V') AND OBJECT_ID(N'TABDIRE',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABDIRE',N'V') AND OBJECT_ID(N'LISTINIG',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.LISTINIG',N'V') AND OBJECT_ID(N'FORNITORI',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.FORNITORI',N'V') AND (CONVERT(nvarchar(4000), a.codditt) COLLATE Latin1_General_100_BIN2=CONVERT(nvarchar(4000), :company) COLLATE Latin1_General_100_BIN2 AND DATALENGTH(CONVERT(nvarchar(4000), a.codditt))=DATALENGTH(CONVERT(nvarchar(4000), :company))) AND (CONVERT(nvarchar(4000), a.ar_codart) COLLATE Latin1_General_100_BIN2=CONVERT(nvarchar(4000), :article) COLLATE Latin1_General_100_BIN2 AND DATALENGTH(CONVERT(nvarchar(4000), a.ar_codart))=DATALENGTH(CONVERT(nvarchar(4000), :article)))

static read-only checks passed

Statically verified read-only$.components.workspaceSelection.datasets.3.sqlQuery
SELECT CONCAT(DATALENGTH(CONVERT(nvarchar(4000), l.codditt)),N':',CONVERT(nvarchar(4000), l.codditt),N'|',DATALENGTH(CONVERT(nvarchar(4000), l.lc_codart)),N':',CONVERT(nvarchar(4000), l.lc_codart),N'|',DATALENGTH(CONVERT(nvarchar(4000), l.lc_listino)),N':',CONVERT(nvarchar(4000), l.lc_listino),N'|',DATALENGTH(CONVERT(nvarchar(4000), l.lc_unmis)),N':',CONVERT(nvarchar(4000), l.lc_unmis),N'|',DATALENGTH(CONVERT(nvarchar(4000), l.lc_datagg, 126)),N':',CONVERT(nvarchar(4000), l.lc_datagg, 126),N'|',DATALENGTH(CONVERT(nvarchar(4000), l.lc_daquant, 3)),N':',CONVERT(nvarchar(4000), l.lc_daquant, 3),N'|',DATALENGTH(CONVERT(nvarchar(4000), l.lc_codtpro)),N':',CONVERT(nvarchar(4000), l.lc_codtpro),N'|') AS PriceKey, CONCAT(DATALENGTH(CONVERT(nvarchar(4000), a.codditt)),N':',CONVERT(nvarchar(4000), a.codditt),N'|',DATALENGTH(CONVERT(nvarchar(4000), a.ar_codart)),N':',CONVERT(nvarchar(4000), a.ar_codart),N'|') AS ParentProductKey, l.lc_listino, l.lc_deslist, l.lc_unmis, l.lc_daquant, l.lc_aquant, l.lc_codtpro, REPLACE(CONVERT(nvarchar(4000), l.lc_datagg, 126),N'T',CHAR(10)) AS PriceStart, REPLACE(CONVERT(nvarchar(4000), l.lc_datscad, 126),N'T',CHAR(10)) AS PriceEnd, CONVERT(nvarchar(4000), l.lc_prezzo, 3) AS StoredPrice, CASE l.lc_netto WHEN N'S' THEN N'Non applicare ulteriori sconti' WHEN N'N' THEN N'Ulteriori condizioni da verificare' ELSE l.lc_netto END AS NetPriceState, CASE l.lc_ivato WHEN N'S' THEN N'Sì' WHEN N'N' THEN N'No' ELSE l.lc_ivato END AS VatState, SUBSTRING(CONVERT(nvarchar(4000), l.lc_datagg, 126),1,10) AS PriceStartDay, SUBSTRING(CONVERT(nvarchar(4000), l.lc_datscad, 126),1,10) AS PriceEndDay FROM LISTINIG l INNER JOIN ARTICO a ON (CONVERT(nvarchar(4000), l.codditt) COLLATE Latin1_General_100_BIN2=CONVERT(nvarchar(4000), a.codditt) COLLATE Latin1_General_100_BIN2 AND DATALENGTH(CONVERT(nvarchar(4000), l.codditt))=DATALENGTH(CONVERT(nvarchar(4000), a.codditt))) AND (CONVERT(nvarchar(4000), l.lc_codart) COLLATE Latin1_General_100_BIN2=CONVERT(nvarchar(4000), a.ar_codart) COLLATE Latin1_General_100_BIN2 AND DATALENGTH(CONVERT(nvarchar(4000), l.lc_codart))=DATALENGTH(CONVERT(nvarchar(4000), a.ar_codart))) WHERE l.codditt IS NOT NULL AND l.lc_codart IS NOT NULL AND l.lc_listino IS NOT NULL AND l.lc_unmis IS NOT NULL AND l.lc_datagg IS NOT NULL AND l.lc_daquant IS NOT NULL AND l.lc_codtpro IS NOT NULL AND SCHEMA_NAME() NOT IN (N'guest',N'sys',N'INFORMATION_SCHEMA') AND OBJECT_ID(N'ARTICO',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.ARTICO',N'V') AND OBJECT_ID(N'ARTPRO',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.ARTPRO',N'V') AND OBJECT_ID(N'TABMAGA',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABMAGA',N'V') AND OBJECT_ID(N'BARCODE',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.BARCODE',N'V') AND OBJECT_ID(N'TABMARC',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABMARC',N'V') AND OBJECT_ID(N'TABGMER',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABGMER',N'V') AND OBJECT_ID(N'TABSGME',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABSGME',N'V') AND OBJECT_ID(N'TABCFAM',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABCFAM',N'V') AND OBJECT_ID(N'TABSTAG',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABSTAG',N'V') AND OBJECT_ID(N'TABSEAT',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABSEAT',N'V') AND OBJECT_ID(N'TABFORM',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABFORM',N'V') AND OBJECT_ID(N'TABDIRE',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABDIRE',N'V') AND OBJECT_ID(N'LISTINIG',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.LISTINIG',N'V') AND OBJECT_ID(N'FORNITORI',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.FORNITORI',N'V') AND (CONVERT(nvarchar(4000), a.codditt) COLLATE Latin1_General_100_BIN2=CONVERT(nvarchar(4000), :company) COLLATE Latin1_General_100_BIN2 AND DATALENGTH(CONVERT(nvarchar(4000), a.codditt))=DATALENGTH(CONVERT(nvarchar(4000), :company))) AND (CONVERT(nvarchar(4000), a.ar_codart) COLLATE Latin1_General_100_BIN2=CONVERT(nvarchar(4000), :article) COLLATE Latin1_General_100_BIN2 AND DATALENGTH(CONVERT(nvarchar(4000), a.ar_codart))=DATALENGTH(CONVERT(nvarchar(4000), :article)))

static read-only checks passed

View the JSON being importedcollapsed by default

The exact portable content of this version.

{
    "components": {
        "sourceSlots": [
            {
                "displayName": "NTS Business — database di transito e-commerce autorizzato",
                "id": "951B608F-322A-5980-BCD9-A878FB5F49EC",
                "kind": "sqlServer",
                "requiredObjects": [
                    "ARTICO",
                    "ARTPRO",
                    "TABMAGA",
                    "BARCODE",
                    "TABMARC",
                    "TABGMER",
                    "TABSGME",
                    "TABCFAM",
                    "TABSTAG",
                    "TABSEAT",
                    "TABFORM",
                    "TABDIRE",
                    "LISTINIG",
                    "FORNITORI"
                ],
                "requiresCustomSQL": true
            }
        ],
        "workspaceSelection": {
            "commonFields": [],
            "datasets": [
                {
                    "cacheMode": "live",
                    "calculatedFields": [],
                    "customQueryIntegrationName": "NTS Business Experience",
                    "endpointPath": "",
                    "fetchSortRules": [
                        {
                            "direction": "ascending",
                            "id": "019E52DE-9E39-546C-A09D-48747EDD5A70",
                            "key": "ProductName",
                            "type": "text"
                        },
                        {
                            "direction": "ascending",
                            "id": "6739E124-ABBF-5653-8180-FDC9DCBA0082",
                            "key": "StockKey",
                            "type": "text"
                        }
                    ],
                    "id": "D8A848E3-56A7-5F63-BDF1-19341E123D83",
                    "mappings": [
                        {
                            "commonFieldKey": "",
                            "key": "StockKey",
                            "label": "Identità interna della giacenza",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "StockKey",
                            "type": "text",
                            "visibleInDetail": false,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "ProductKey",
                            "label": "Identità interna articolo/ditta",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "ProductKey",
                            "type": "text",
                            "visibleInDetail": false,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "codditt",
                            "label": "Ditta",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "codditt",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "ap_codart",
                            "label": "Codice articolo",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "ap_codart",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "ap_magaz",
                            "label": "Codice magazzino",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "ap_magaz",
                            "type": "number",
                            "visibleInDetail": true,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "ap_esist",
                            "label": "Esistenza fisica",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "ap_esist",
                            "type": "number",
                            "visibleInDetail": true,
                            "visibleInList": true
                        },
                        {
                            "commonFieldKey": "",
                            "key": "ap_ordin",
                            "label": "Ordinato fornitori",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "ap_ordin",
                            "type": "number",
                            "visibleInDetail": true,
                            "visibleInList": true
                        },
                        {
                            "commonFieldKey": "",
                            "key": "ap_impeg",
                            "label": "Impegnato clienti",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "ap_impeg",
                            "type": "number",
                            "visibleInDetail": true,
                            "visibleInList": true
                        },
                        {
                            "commonFieldKey": "",
                            "key": "ap_prenot",
                            "label": "Prenotato spedizioni",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "ap_prenot",
                            "type": "number",
                            "visibleInDetail": true,
                            "visibleInList": true
                        },
                        {
                            "commonFieldKey": "",
                            "key": "ProductName",
                            "label": "Descrizione articolo attuale",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "ProductName",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "WarehouseName",
                            "label": "Magazzino attuale",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "WarehouseName",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "PrimaryUnit",
                            "label": "U.M. principale",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "PrimaryUnit",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": true
                        },
                        {
                            "commonFieldKey": "",
                            "key": "BrandName",
                            "label": "Marca attuale",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "BrandName",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": true
                        },
                        {
                            "commonFieldKey": "",
                            "key": "GroupName",
                            "label": "Gruppo merceologico",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "GroupName",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "SubgroupName",
                            "label": "Sottogruppo coerente",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "SubgroupName",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "GenericAvailable",
                            "label": "Disponibilità generica calcolata — U.M. principale",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "GenericAvailable",
                            "type": "number",
                            "visibleInDetail": true,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "NetAvailable",
                            "label": "Disponibilità netta calcolata — U.M. principale",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "NetAvailable",
                            "type": "number",
                            "visibleInDetail": true,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "StockUpdatedAt",
                            "label": "Aggiornamento del progressivo (data/ora)",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "StockUpdatedAt",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "ProductAvailability",
                            "label": "Anagrafica articolo attuale",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "ProductAvailability",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "WarehouseAvailability",
                            "label": "Anagrafica magazzino attuale",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "WarehouseAvailability",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "SubgroupAvailability",
                            "label": "Coerenza sottogruppo/gruppo attuale",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "SubgroupAvailability",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": false
                        }
                    ],
                    "maxRows": 1000,
                    "name": "Giacenze per magazzino",
                    "primaryKey": "StockKey",
                    "queryParameters": [],
                    "refreshPolicy": {
                        "enabled": false,
                        "intervalMinutes": 60
                    },
                    "rootArrayPath": "",
                    "rowLimitEnabled": true,
                    "searchKeys": [
                        "codditt",
                        "ap_codart",
                        "ProductName",
                        "WarehouseName",
                        "PrimaryUnit",
                        "BrandName",
                        "GroupName",
                        "SubgroupName",
                        "StockUpdatedAt",
                        "ProductAvailability",
                        "WarehouseAvailability",
                        "SubgroupAvailability"
                    ],
                    "sourceID": "951B608F-322A-5980-BCD9-A878FB5F49EC",
                    "sqlQuery": "SELECT CONCAT(DATALENGTH(CONVERT(nvarchar(4000), p.codditt)),N':',CONVERT(nvarchar(4000), p.codditt),N'|',DATALENGTH(CONVERT(nvarchar(4000), p.ap_codart)),N':',CONVERT(nvarchar(4000), p.ap_codart),N'|',DATALENGTH(CONVERT(nvarchar(4000), p.ap_magaz)),N':',CONVERT(nvarchar(4000), p.ap_magaz),N'|') AS StockKey, CONCAT(DATALENGTH(CONVERT(nvarchar(4000), p.codditt)),N':',CONVERT(nvarchar(4000), p.codditt),N'|',DATALENGTH(CONVERT(nvarchar(4000), p.ap_codart)),N':',CONVERT(nvarchar(4000), p.ap_codart),N'|') AS ProductKey, p.codditt, p.ap_codart, p.ap_magaz, p.ap_esist, p.ap_ordin, p.ap_impeg, p.ap_prenot, COALESCE(NULLIF(a.ar_descr,N''),p.ap_codart) AS ProductName, COALESCE(NULLIF(w.tb_desmaga,N''),CONCAT(N'Magazzino ',p.ap_magaz)) AS WarehouseName, a.ar_unmis AS PrimaryUnit, b.tb_desmarc AS BrandName, g.tb_desgmer AS GroupName, s.tb_desgme AS SubgroupName, p.ap_esist+p.ap_ordin-p.ap_impeg AS GenericAvailable, p.ap_esist-p.ap_prenot AS NetAvailable, REPLACE(CONVERT(nvarchar(4000), p.ap_ultagg, 126),N'T',CHAR(10)) AS StockUpdatedAt, CASE WHEN a.ar_codart IS NULL THEN N'Non disponibile: verificare la vista' ELSE N'Disponibile' END AS ProductAvailability, CASE WHEN w.tb_codmaga IS NULL THEN N'Non disponibile: verificare la vista' ELSE N'Disponibile' END AS WarehouseAvailability, CASE WHEN s.tb_codsgme IS NULL THEN N'Non disponibile: verificare la vista' ELSE N'Disponibile' END AS SubgroupAvailability FROM ARTPRO p LEFT JOIN ARTICO a ON (CONVERT(nvarchar(4000), p.codditt) COLLATE Latin1_General_100_BIN2=CONVERT(nvarchar(4000), a.codditt) COLLATE Latin1_General_100_BIN2 AND DATALENGTH(CONVERT(nvarchar(4000), p.codditt))=DATALENGTH(CONVERT(nvarchar(4000), a.codditt))) AND (CONVERT(nvarchar(4000), p.ap_codart) COLLATE Latin1_General_100_BIN2=CONVERT(nvarchar(4000), a.ar_codart) COLLATE Latin1_General_100_BIN2 AND DATALENGTH(CONVERT(nvarchar(4000), p.ap_codart))=DATALENGTH(CONVERT(nvarchar(4000), a.ar_codart))) LEFT JOIN TABMAGA w ON (CONVERT(nvarchar(4000), p.codditt) COLLATE Latin1_General_100_BIN2=CONVERT(nvarchar(4000), w.codditt) COLLATE Latin1_General_100_BIN2 AND DATALENGTH(CONVERT(nvarchar(4000), p.codditt))=DATALENGTH(CONVERT(nvarchar(4000), w.codditt))) AND p.ap_magaz=w.tb_codmaga LEFT JOIN TABMARC b ON (CONVERT(nvarchar(4000), a.codditt) COLLATE Latin1_General_100_BIN2=CONVERT(nvarchar(4000), b.codditt) COLLATE Latin1_General_100_BIN2 AND DATALENGTH(CONVERT(nvarchar(4000), a.codditt))=DATALENGTH(CONVERT(nvarchar(4000), b.codditt))) AND a.ar_codmarc=b.tb_codmarc LEFT JOIN TABGMER g ON (CONVERT(nvarchar(4000), a.codditt) COLLATE Latin1_General_100_BIN2=CONVERT(nvarchar(4000), g.codditt) COLLATE Latin1_General_100_BIN2 AND DATALENGTH(CONVERT(nvarchar(4000), a.codditt))=DATALENGTH(CONVERT(nvarchar(4000), g.codditt))) AND a.ar_gruppo=g.tb_codgmer LEFT JOIN TABSGME s ON (CONVERT(nvarchar(4000), a.codditt) COLLATE Latin1_General_100_BIN2=CONVERT(nvarchar(4000), s.codditt) COLLATE Latin1_General_100_BIN2 AND DATALENGTH(CONVERT(nvarchar(4000), a.codditt))=DATALENGTH(CONVERT(nvarchar(4000), s.codditt))) AND a.ar_sotgru=s.tb_codsgme AND a.ar_gruppo=s.tb_codgrupm WHERE p.codditt IS NOT NULL AND p.ap_codart IS NOT NULL AND p.ap_magaz IS NOT NULL AND SCHEMA_NAME() NOT IN (N'guest',N'sys',N'INFORMATION_SCHEMA') AND OBJECT_ID(N'ARTICO',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.ARTICO',N'V') AND OBJECT_ID(N'ARTPRO',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.ARTPRO',N'V') AND OBJECT_ID(N'TABMAGA',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABMAGA',N'V') AND OBJECT_ID(N'BARCODE',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.BARCODE',N'V') AND OBJECT_ID(N'TABMARC',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABMARC',N'V') AND OBJECT_ID(N'TABGMER',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABGMER',N'V') AND OBJECT_ID(N'TABSGME',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABSGME',N'V') AND OBJECT_ID(N'TABCFAM',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABCFAM',N'V') AND OBJECT_ID(N'TABSTAG',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABSTAG',N'V') AND OBJECT_ID(N'TABSEAT',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABSEAT',N'V') AND OBJECT_ID(N'TABFORM',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABFORM',N'V') AND OBJECT_ID(N'TABDIRE',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABDIRE',N'V') AND OBJECT_ID(N'LISTINIG',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.LISTINIG',N'V') AND OBJECT_ID(N'FORNITORI',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.FORNITORI',N'V')",
                    "tableName": ""
                },
                {
                    "cacheMode": "live",
                    "calculatedFields": [],
                    "customQueryIntegrationName": "NTS Business Experience",
                    "endpointPath": "",
                    "fetchSortRules": [
                        {
                            "direction": "ascending",
                            "id": "6DCA9023-BC8F-5EA2-A774-CA6ED06C3E76",
                            "key": "ar_descr",
                            "type": "text"
                        },
                        {
                            "direction": "ascending",
                            "id": "D548628C-5C21-5B03-B3A8-C42AD3D04106",
                            "key": "ProductKey",
                            "type": "text"
                        }
                    ],
                    "id": "1CD80E14-558D-520B-A482-E6EE8644FA8C",
                    "mappings": [
                        {
                            "commonFieldKey": "",
                            "key": "ProductKey",
                            "label": "Identità interna articolo/ditta",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "ProductKey",
                            "type": "text",
                            "visibleInDetail": false,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "codditt",
                            "label": "Ditta",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "codditt",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "ar_codart",
                            "label": "Codice articolo",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "ar_codart",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "ar_codalt",
                            "label": "Codice alternativo",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "ar_codalt",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "ar_descr",
                            "label": "Descrizione",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "ar_descr",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "ar_desint",
                            "label": "Descrizione estesa",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "ar_desint",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "ar_unmis",
                            "label": "U.M. principale",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "ar_unmis",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": true
                        },
                        {
                            "commonFieldKey": "",
                            "key": "ar_confez2",
                            "label": "U.M. confezione",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "ar_confez2",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "ar_qtacon2",
                            "label": "Rapporto confezione/principale — moltiplicatore",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "ar_qtacon2",
                            "type": "number",
                            "visibleInDetail": true,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "ar_unmis2",
                            "label": "U.M. secondaria",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "ar_unmis2",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "ar_conver",
                            "label": "Rapporto principale/secondaria — divisore",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "ar_conver",
                            "type": "number",
                            "visibleInDetail": true,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "ar_codiva",
                            "label": "Codice IVA, non aliquota",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "ar_codiva",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "ar_pesonet",
                            "label": "Peso netto nativo — verificare unità",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "ar_pesonet",
                            "type": "number",
                            "visibleInDetail": true,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "ar_pesolor",
                            "label": "Peso lordo nativo — verificare unità",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "ar_pesolor",
                            "type": "number",
                            "visibleInDetail": true,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "ar_forn",
                            "label": "Codice fornitore abituale",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "ar_forn",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "ar_codroot",
                            "label": "Codice radice articolo",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "ar_codroot",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "ar_codvar1",
                            "label": "Variante 1",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "ar_codvar1",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "ar_codvar2",
                            "label": "Variante 2",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "ar_codvar2",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "ar_codvar3",
                            "label": "Variante 3",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "ar_codvar3",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "ar_codtagl",
                            "label": "Codice scala taglie",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "ar_codtagl",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "ar_anno",
                            "label": "Anno taglie/colori",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "ar_anno",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "ar_codcla1",
                            "label": "Classificazione 1 (codice)",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "ar_codcla1",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "ar_codcla2",
                            "label": "Classificazione 2 (codice)",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "ar_codcla2",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "ar_codcla3",
                            "label": "Classificazione 3 (codice)",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "ar_codcla3",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "ar_codcla4",
                            "label": "Classificazione 4 (codice)",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "ar_codcla4",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "ar_codcla5",
                            "label": "Classificazione 5 (codice)",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "ar_codcla5",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "ar_clascon",
                            "label": "Classe sconto, non percentuale",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "ar_clascon",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "BrandName",
                            "label": "Marca attuale",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "BrandName",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": true
                        },
                        {
                            "commonFieldKey": "",
                            "key": "GroupName",
                            "label": "Gruppo merceologico",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "GroupName",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": true
                        },
                        {
                            "commonFieldKey": "",
                            "key": "SubgroupName",
                            "label": "Sottogruppo coerente",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "SubgroupName",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": true
                        },
                        {
                            "commonFieldKey": "",
                            "key": "FamilyName",
                            "label": "Famiglia attuale",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "FamilyName",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "SeasonName",
                            "label": "Stagione attuale",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "SeasonName",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "SetName",
                            "label": "Set attributi attuale",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "SetName",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "FormName",
                            "label": "Forma attuale",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "FormName",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "CompositionName",
                            "label": "Direttiva / composizione attuale",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "CompositionName",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "SupplierName",
                            "label": "Fornitore abituale attuale",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "SupplierName",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "SupplierAvailability",
                            "label": "Anagrafica fornitore abituale attuale",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "SupplierAvailability",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "SubgroupAvailability",
                            "label": "Coerenza sottogruppo/gruppo attuale",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "SubgroupAvailability",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "UsedState",
                            "label": "Articolo usato (S/N)",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "UsedState",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": true
                        },
                        {
                            "commonFieldKey": "",
                            "key": "SaleState",
                            "label": "Vendibile esterno (S/N)",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "SaleState",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": true
                        },
                        {
                            "commonFieldKey": "",
                            "key": "ProductNotes",
                            "label": "Note articolo (primi 500 caratteri)",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "ProductNotes",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": false
                        }
                    ],
                    "maxRows": 1000,
                    "name": "Dossier articolo",
                    "primaryKey": "ProductKey",
                    "queryParameters": [
                        {
                            "constantValue": "",
                            "dayOffset": 0,
                            "fieldKey": "codditt",
                            "id": "96DEC781-755E-5B7E-AA47-A9D67044A798",
                            "name": "company",
                            "source": "parentField",
                            "type": "text"
                        },
                        {
                            "constantValue": "",
                            "dayOffset": 0,
                            "fieldKey": "ap_codart",
                            "id": "2B567019-A132-5DBF-ACA6-D6B80846548D",
                            "name": "article",
                            "source": "parentField",
                            "type": "text"
                        }
                    ],
                    "refreshPolicy": {
                        "enabled": false,
                        "intervalMinutes": 60
                    },
                    "rootArrayPath": "",
                    "rowLimitEnabled": true,
                    "searchKeys": [
                        "codditt",
                        "ar_codart",
                        "ar_codalt",
                        "ar_descr",
                        "ar_desint",
                        "ar_unmis",
                        "ar_confez2",
                        "ar_unmis2",
                        "ar_codiva",
                        "ar_forn",
                        "ar_codroot",
                        "ar_codvar1",
                        "ar_codvar2",
                        "ar_codvar3",
                        "ar_codtagl",
                        "ar_anno",
                        "ar_codcla1",
                        "ar_codcla2",
                        "ar_codcla3",
                        "ar_codcla4",
                        "ar_codcla5",
                        "ar_clascon",
                        "BrandName",
                        "GroupName",
                        "SubgroupName",
                        "FamilyName",
                        "SeasonName",
                        "SetName",
                        "FormName",
                        "CompositionName",
                        "SupplierName",
                        "SupplierAvailability",
                        "SubgroupAvailability",
                        "UsedState",
                        "SaleState",
                        "ProductNotes"
                    ],
                    "sourceID": "951B608F-322A-5980-BCD9-A878FB5F49EC",
                    "sqlQuery": "SELECT CONCAT(DATALENGTH(CONVERT(nvarchar(4000), a.codditt)),N':',CONVERT(nvarchar(4000), a.codditt),N'|',DATALENGTH(CONVERT(nvarchar(4000), a.ar_codart)),N':',CONVERT(nvarchar(4000), a.ar_codart),N'|') AS ProductKey, a.codditt, a.ar_codart, a.ar_codalt, a.ar_descr, a.ar_desint, a.ar_unmis, a.ar_confez2, a.ar_qtacon2, a.ar_unmis2, a.ar_conver, a.ar_codiva, a.ar_pesonet, a.ar_pesolor, a.ar_forn, a.ar_codroot, a.ar_codvar1, a.ar_codvar2, a.ar_codvar3, a.ar_codtagl, a.ar_anno, a.ar_codcla1, a.ar_codcla2, a.ar_codcla3, a.ar_codcla4, a.ar_codcla5, a.ar_clascon, b.tb_desmarc AS BrandName, g.tb_desgmer AS GroupName, s.tb_desgme AS SubgroupName, f.tb_descfam AS FamilyName, t.tb_desstag AS SeasonName, u.tb_desseat AS SetName, v.tb_desform AS FormName, x.tb_desdire AS CompositionName, r.an_descr1 AS SupplierName, CASE WHEN r.an_conto IS NULL THEN N'Non disponibile: verificare la vista' ELSE N'Disponibile' END AS SupplierAvailability, CASE WHEN s.tb_codsgme IS NULL THEN N'Non disponibile: verificare la vista' ELSE N'Disponibile' END AS SubgroupAvailability, CASE a.ar_webusat WHEN N'S' THEN N'Sì' WHEN N'N' THEN N'No' ELSE a.ar_webusat END AS UsedState, CASE a.ar_webvend WHEN N'S' THEN N'Sì' WHEN N'N' THEN N'No' ELSE a.ar_webvend END AS SaleState, LEFT(CAST(a.ar_note AS nvarchar(MAX)),500) AS ProductNotes FROM ARTICO a LEFT JOIN TABMARC b ON (CONVERT(nvarchar(4000), a.codditt) COLLATE Latin1_General_100_BIN2=CONVERT(nvarchar(4000), b.codditt) COLLATE Latin1_General_100_BIN2 AND DATALENGTH(CONVERT(nvarchar(4000), a.codditt))=DATALENGTH(CONVERT(nvarchar(4000), b.codditt))) AND a.ar_codmarc=b.tb_codmarc LEFT JOIN TABGMER g ON (CONVERT(nvarchar(4000), a.codditt) COLLATE Latin1_General_100_BIN2=CONVERT(nvarchar(4000), g.codditt) COLLATE Latin1_General_100_BIN2 AND DATALENGTH(CONVERT(nvarchar(4000), a.codditt))=DATALENGTH(CONVERT(nvarchar(4000), g.codditt))) AND a.ar_gruppo=g.tb_codgmer LEFT JOIN TABSGME s ON (CONVERT(nvarchar(4000), a.codditt) COLLATE Latin1_General_100_BIN2=CONVERT(nvarchar(4000), s.codditt) COLLATE Latin1_General_100_BIN2 AND DATALENGTH(CONVERT(nvarchar(4000), a.codditt))=DATALENGTH(CONVERT(nvarchar(4000), s.codditt))) AND a.ar_sotgru=s.tb_codsgme AND a.ar_gruppo=s.tb_codgrupm LEFT JOIN TABCFAM f ON (CONVERT(nvarchar(4000), a.codditt) COLLATE Latin1_General_100_BIN2=CONVERT(nvarchar(4000), f.codditt) COLLATE Latin1_General_100_BIN2 AND DATALENGTH(CONVERT(nvarchar(4000), a.codditt))=DATALENGTH(CONVERT(nvarchar(4000), f.codditt))) AND (CONVERT(nvarchar(4000), a.ar_famprod) COLLATE Latin1_General_100_BIN2=CONVERT(nvarchar(4000), f.tb_codcfam) COLLATE Latin1_General_100_BIN2 AND DATALENGTH(CONVERT(nvarchar(4000), a.ar_famprod))=DATALENGTH(CONVERT(nvarchar(4000), f.tb_codcfam))) LEFT JOIN TABSTAG t ON (CONVERT(nvarchar(4000), a.codditt) COLLATE Latin1_General_100_BIN2=CONVERT(nvarchar(4000), t.codditt) COLLATE Latin1_General_100_BIN2 AND DATALENGTH(CONVERT(nvarchar(4000), a.codditt))=DATALENGTH(CONVERT(nvarchar(4000), t.codditt))) AND a.ar_codstag=t.tb_codstag LEFT JOIN TABSEAT u ON (CONVERT(nvarchar(4000), a.codditt) COLLATE Latin1_General_100_BIN2=CONVERT(nvarchar(4000), u.codditt) COLLATE Latin1_General_100_BIN2 AND DATALENGTH(CONVERT(nvarchar(4000), a.codditt))=DATALENGTH(CONVERT(nvarchar(4000), u.codditt))) AND a.ar_codseat=u.tb_codseat LEFT JOIN TABFORM v ON (CONVERT(nvarchar(4000), a.codditt) COLLATE Latin1_General_100_BIN2=CONVERT(nvarchar(4000), v.codditt) COLLATE Latin1_General_100_BIN2 AND DATALENGTH(CONVERT(nvarchar(4000), a.codditt))=DATALENGTH(CONVERT(nvarchar(4000), v.codditt))) AND a.ar_codform=v.tb_codform LEFT JOIN TABDIRE x ON (CONVERT(nvarchar(4000), a.codditt) COLLATE Latin1_General_100_BIN2=CONVERT(nvarchar(4000), x.codditt) COLLATE Latin1_General_100_BIN2 AND DATALENGTH(CONVERT(nvarchar(4000), a.codditt))=DATALENGTH(CONVERT(nvarchar(4000), x.codditt))) AND a.ar_coddire=x.tb_coddire LEFT JOIN FORNITORI r ON (CONVERT(nvarchar(4000), a.codditt) COLLATE Latin1_General_100_BIN2=CONVERT(nvarchar(4000), r.codditt) COLLATE Latin1_General_100_BIN2 AND DATALENGTH(CONVERT(nvarchar(4000), a.codditt))=DATALENGTH(CONVERT(nvarchar(4000), r.codditt))) AND a.ar_forn=r.an_conto WHERE a.codditt IS NOT NULL AND a.ar_codart IS NOT NULL AND SCHEMA_NAME() NOT IN (N'guest',N'sys',N'INFORMATION_SCHEMA') AND OBJECT_ID(N'ARTICO',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.ARTICO',N'V') AND OBJECT_ID(N'ARTPRO',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.ARTPRO',N'V') AND OBJECT_ID(N'TABMAGA',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABMAGA',N'V') AND OBJECT_ID(N'BARCODE',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.BARCODE',N'V') AND OBJECT_ID(N'TABMARC',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABMARC',N'V') AND OBJECT_ID(N'TABGMER',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABGMER',N'V') AND OBJECT_ID(N'TABSGME',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABSGME',N'V') AND OBJECT_ID(N'TABCFAM',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABCFAM',N'V') AND OBJECT_ID(N'TABSTAG',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABSTAG',N'V') AND OBJECT_ID(N'TABSEAT',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABSEAT',N'V') AND OBJECT_ID(N'TABFORM',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABFORM',N'V') AND OBJECT_ID(N'TABDIRE',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABDIRE',N'V') AND OBJECT_ID(N'LISTINIG',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.LISTINIG',N'V') AND OBJECT_ID(N'FORNITORI',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.FORNITORI',N'V') AND (CONVERT(nvarchar(4000), a.codditt) COLLATE Latin1_General_100_BIN2=CONVERT(nvarchar(4000), :company) COLLATE Latin1_General_100_BIN2 AND DATALENGTH(CONVERT(nvarchar(4000), a.codditt))=DATALENGTH(CONVERT(nvarchar(4000), :company))) AND (CONVERT(nvarchar(4000), a.ar_codart) COLLATE Latin1_General_100_BIN2=CONVERT(nvarchar(4000), :article) COLLATE Latin1_General_100_BIN2 AND DATALENGTH(CONVERT(nvarchar(4000), a.ar_codart))=DATALENGTH(CONVERT(nvarchar(4000), :article)))",
                    "tableName": ""
                },
                {
                    "cacheMode": "live",
                    "calculatedFields": [],
                    "customQueryIntegrationName": "NTS Business Experience",
                    "endpointPath": "",
                    "fetchSortRules": [
                        {
                            "direction": "ascending",
                            "id": "87C0FA4A-F521-59BC-935E-0C9722CCC2FA",
                            "key": "bc_code",
                            "type": "text"
                        },
                        {
                            "direction": "ascending",
                            "id": "91726984-03FA-5806-902B-37705420F9BD",
                            "key": "BarcodeKey",
                            "type": "text"
                        }
                    ],
                    "id": "B6D33A8B-9C88-5ED8-AA29-6E6DD9295217",
                    "mappings": [
                        {
                            "commonFieldKey": "",
                            "key": "BarcodeKey",
                            "label": "Identità interna barcode/ditta",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "BarcodeKey",
                            "type": "text",
                            "visibleInDetail": false,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "ParentProductKey",
                            "label": "Identità interna del padre",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "ParentProductKey",
                            "type": "text",
                            "visibleInDetail": false,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "bc_code",
                            "label": "Barcode documentato",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "bc_code",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "bc_unmis",
                            "label": "U.M. barcode",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "bc_unmis",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": true
                        },
                        {
                            "commonFieldKey": "",
                            "key": "bc_tagl",
                            "label": "Taglia barcode",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "bc_tagl",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": true
                        },
                        {
                            "commonFieldKey": "",
                            "key": "BarcodeArticle",
                            "label": "Articolo del barcode",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "BarcodeArticle",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": false
                        }
                    ],
                    "maxRows": 1000,
                    "name": "Barcode articolo",
                    "primaryKey": "BarcodeKey",
                    "queryParameters": [
                        {
                            "constantValue": "",
                            "dayOffset": 0,
                            "fieldKey": "codditt",
                            "id": "96DEC781-755E-5B7E-AA47-A9D67044A798",
                            "name": "company",
                            "source": "parentField",
                            "type": "text"
                        },
                        {
                            "constantValue": "",
                            "dayOffset": 0,
                            "fieldKey": "ar_codart",
                            "id": "2B567019-A132-5DBF-ACA6-D6B80846548D",
                            "name": "article",
                            "source": "parentField",
                            "type": "text"
                        }
                    ],
                    "refreshPolicy": {
                        "enabled": false,
                        "intervalMinutes": 60
                    },
                    "rootArrayPath": "",
                    "rowLimitEnabled": true,
                    "searchKeys": [
                        "bc_code",
                        "bc_unmis",
                        "bc_tagl",
                        "BarcodeArticle"
                    ],
                    "sourceID": "951B608F-322A-5980-BCD9-A878FB5F49EC",
                    "sqlQuery": "SELECT CONCAT(DATALENGTH(CONVERT(nvarchar(4000), b.codditt)),N':',CONVERT(nvarchar(4000), b.codditt),N'|',DATALENGTH(CONVERT(nvarchar(4000), b.bc_code)),N':',CONVERT(nvarchar(4000), b.bc_code),N'|') AS BarcodeKey, CONCAT(DATALENGTH(CONVERT(nvarchar(4000), a.codditt)),N':',CONVERT(nvarchar(4000), a.codditt),N'|',DATALENGTH(CONVERT(nvarchar(4000), a.ar_codart)),N':',CONVERT(nvarchar(4000), a.ar_codart),N'|') AS ParentProductKey, b.bc_code, b.bc_unmis, b.bc_tagl, b.bc_codart AS BarcodeArticle FROM BARCODE b INNER JOIN ARTICO a ON (CONVERT(nvarchar(4000), b.codditt) COLLATE Latin1_General_100_BIN2=CONVERT(nvarchar(4000), a.codditt) COLLATE Latin1_General_100_BIN2 AND DATALENGTH(CONVERT(nvarchar(4000), b.codditt))=DATALENGTH(CONVERT(nvarchar(4000), a.codditt))) AND (CONVERT(nvarchar(4000), b.bc_codart) COLLATE Latin1_General_100_BIN2=CONVERT(nvarchar(4000), a.ar_codart) COLLATE Latin1_General_100_BIN2 AND DATALENGTH(CONVERT(nvarchar(4000), b.bc_codart))=DATALENGTH(CONVERT(nvarchar(4000), a.ar_codart))) WHERE b.codditt IS NOT NULL AND b.bc_code IS NOT NULL AND SCHEMA_NAME() NOT IN (N'guest',N'sys',N'INFORMATION_SCHEMA') AND OBJECT_ID(N'ARTICO',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.ARTICO',N'V') AND OBJECT_ID(N'ARTPRO',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.ARTPRO',N'V') AND OBJECT_ID(N'TABMAGA',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABMAGA',N'V') AND OBJECT_ID(N'BARCODE',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.BARCODE',N'V') AND OBJECT_ID(N'TABMARC',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABMARC',N'V') AND OBJECT_ID(N'TABGMER',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABGMER',N'V') AND OBJECT_ID(N'TABSGME',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABSGME',N'V') AND OBJECT_ID(N'TABCFAM',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABCFAM',N'V') AND OBJECT_ID(N'TABSTAG',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABSTAG',N'V') AND OBJECT_ID(N'TABSEAT',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABSEAT',N'V') AND OBJECT_ID(N'TABFORM',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABFORM',N'V') AND OBJECT_ID(N'TABDIRE',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABDIRE',N'V') AND OBJECT_ID(N'LISTINIG',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.LISTINIG',N'V') AND OBJECT_ID(N'FORNITORI',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.FORNITORI',N'V') AND (CONVERT(nvarchar(4000), a.codditt) COLLATE Latin1_General_100_BIN2=CONVERT(nvarchar(4000), :company) COLLATE Latin1_General_100_BIN2 AND DATALENGTH(CONVERT(nvarchar(4000), a.codditt))=DATALENGTH(CONVERT(nvarchar(4000), :company))) AND (CONVERT(nvarchar(4000), a.ar_codart) COLLATE Latin1_General_100_BIN2=CONVERT(nvarchar(4000), :article) COLLATE Latin1_General_100_BIN2 AND DATALENGTH(CONVERT(nvarchar(4000), a.ar_codart))=DATALENGTH(CONVERT(nvarchar(4000), :article)))",
                    "tableName": ""
                },
                {
                    "cacheMode": "live",
                    "calculatedFields": [],
                    "customQueryIntegrationName": "NTS Business Experience",
                    "endpointPath": "",
                    "fetchSortRules": [
                        {
                            "direction": "ascending",
                            "id": "AC58221B-41B4-56FE-940A-9AD79094AFE1",
                            "key": "PriceStart",
                            "type": "text"
                        },
                        {
                            "direction": "ascending",
                            "id": "201F2F30-4EDD-5AC2-BA8A-BFDBB4E1006A",
                            "key": "PriceKey",
                            "type": "text"
                        }
                    ],
                    "id": "6EEACFC5-6BCD-532A-8A41-09B821AC8963",
                    "mappings": [
                        {
                            "commonFieldKey": "",
                            "key": "PriceKey",
                            "label": "Identità interna completa del listino",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "PriceKey",
                            "type": "text",
                            "visibleInDetail": false,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "ParentProductKey",
                            "label": "Identità interna del padre",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "ParentProductKey",
                            "type": "text",
                            "visibleInDetail": false,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "lc_listino",
                            "label": "Numero listino generico",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "lc_listino",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "lc_deslist",
                            "label": "Descrizione listino",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "lc_deslist",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "lc_unmis",
                            "label": "U.M. del prezzo memorizzato",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "lc_unmis",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "lc_daquant",
                            "label": "Da quantità (U.M. prezzo)",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "lc_daquant",
                            "type": "number",
                            "visibleInDetail": true,
                            "visibleInList": true
                        },
                        {
                            "commonFieldKey": "",
                            "key": "lc_aquant",
                            "label": "A quantità (U.M. prezzo)",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "lc_aquant",
                            "type": "number",
                            "visibleInDetail": true,
                            "visibleInList": true
                        },
                        {
                            "commonFieldKey": "",
                            "key": "lc_codtpro",
                            "label": "Codice promozione",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "lc_codtpro",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "PriceStart",
                            "label": "Validità da (data/ora)",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "PriceStart",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "PriceEnd",
                            "label": "Validità fino (data/ora)",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "PriceEnd",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "StoredPrice",
                            "label": "Prezzo (EURO vista standard)",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "StoredPrice",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": true
                        },
                        {
                            "commonFieldKey": "",
                            "key": "NetPriceState",
                            "label": "Ulteriori sconti secondo flag prezzo netto",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "NetPriceState",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": false
                        },
                        {
                            "commonFieldKey": "",
                            "key": "VatState",
                            "label": "IVA compresa (S/N)",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "VatState",
                            "type": "text",
                            "visibleInDetail": true,
                            "visibleInList": true
                        },
                        {
                            "commonFieldKey": "",
                            "key": "PriceStartDay",
                            "label": "Validità dal (data)",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "PriceStartDay",
                            "type": "text",
                            "visibleInDetail": false,
                            "visibleInList": true
                        },
                        {
                            "commonFieldKey": "",
                            "key": "PriceEndDay",
                            "label": "Validità fino (data)",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic",
                            "sourceColumn": "PriceEndDay",
                            "type": "text",
                            "visibleInDetail": false,
                            "visibleInList": true
                        }
                    ],
                    "maxRows": 1000,
                    "name": "Listini generici articolo",
                    "primaryKey": "PriceKey",
                    "queryParameters": [
                        {
                            "constantValue": "",
                            "dayOffset": 0,
                            "fieldKey": "codditt",
                            "id": "96DEC781-755E-5B7E-AA47-A9D67044A798",
                            "name": "company",
                            "source": "parentField",
                            "type": "text"
                        },
                        {
                            "constantValue": "",
                            "dayOffset": 0,
                            "fieldKey": "ar_codart",
                            "id": "2B567019-A132-5DBF-ACA6-D6B80846548D",
                            "name": "article",
                            "source": "parentField",
                            "type": "text"
                        }
                    ],
                    "refreshPolicy": {
                        "enabled": false,
                        "intervalMinutes": 60
                    },
                    "rootArrayPath": "",
                    "rowLimitEnabled": true,
                    "searchKeys": [
                        "lc_listino",
                        "lc_deslist",
                        "lc_unmis",
                        "lc_codtpro",
                        "PriceStart",
                        "PriceEnd",
                        "StoredPrice",
                        "NetPriceState",
                        "VatState"
                    ],
                    "sourceID": "951B608F-322A-5980-BCD9-A878FB5F49EC",
                    "sqlQuery": "SELECT CONCAT(DATALENGTH(CONVERT(nvarchar(4000), l.codditt)),N':',CONVERT(nvarchar(4000), l.codditt),N'|',DATALENGTH(CONVERT(nvarchar(4000), l.lc_codart)),N':',CONVERT(nvarchar(4000), l.lc_codart),N'|',DATALENGTH(CONVERT(nvarchar(4000), l.lc_listino)),N':',CONVERT(nvarchar(4000), l.lc_listino),N'|',DATALENGTH(CONVERT(nvarchar(4000), l.lc_unmis)),N':',CONVERT(nvarchar(4000), l.lc_unmis),N'|',DATALENGTH(CONVERT(nvarchar(4000), l.lc_datagg, 126)),N':',CONVERT(nvarchar(4000), l.lc_datagg, 126),N'|',DATALENGTH(CONVERT(nvarchar(4000), l.lc_daquant, 3)),N':',CONVERT(nvarchar(4000), l.lc_daquant, 3),N'|',DATALENGTH(CONVERT(nvarchar(4000), l.lc_codtpro)),N':',CONVERT(nvarchar(4000), l.lc_codtpro),N'|') AS PriceKey, CONCAT(DATALENGTH(CONVERT(nvarchar(4000), a.codditt)),N':',CONVERT(nvarchar(4000), a.codditt),N'|',DATALENGTH(CONVERT(nvarchar(4000), a.ar_codart)),N':',CONVERT(nvarchar(4000), a.ar_codart),N'|') AS ParentProductKey, l.lc_listino, l.lc_deslist, l.lc_unmis, l.lc_daquant, l.lc_aquant, l.lc_codtpro, REPLACE(CONVERT(nvarchar(4000), l.lc_datagg, 126),N'T',CHAR(10)) AS PriceStart, REPLACE(CONVERT(nvarchar(4000), l.lc_datscad, 126),N'T',CHAR(10)) AS PriceEnd, CONVERT(nvarchar(4000), l.lc_prezzo, 3) AS StoredPrice, CASE l.lc_netto WHEN N'S' THEN N'Non applicare ulteriori sconti' WHEN N'N' THEN N'Ulteriori condizioni da verificare' ELSE l.lc_netto END AS NetPriceState, CASE l.lc_ivato WHEN N'S' THEN N'Sì' WHEN N'N' THEN N'No' ELSE l.lc_ivato END AS VatState, SUBSTRING(CONVERT(nvarchar(4000), l.lc_datagg, 126),1,10) AS PriceStartDay, SUBSTRING(CONVERT(nvarchar(4000), l.lc_datscad, 126),1,10) AS PriceEndDay FROM LISTINIG l INNER JOIN ARTICO a ON (CONVERT(nvarchar(4000), l.codditt) COLLATE Latin1_General_100_BIN2=CONVERT(nvarchar(4000), a.codditt) COLLATE Latin1_General_100_BIN2 AND DATALENGTH(CONVERT(nvarchar(4000), l.codditt))=DATALENGTH(CONVERT(nvarchar(4000), a.codditt))) AND (CONVERT(nvarchar(4000), l.lc_codart) COLLATE Latin1_General_100_BIN2=CONVERT(nvarchar(4000), a.ar_codart) COLLATE Latin1_General_100_BIN2 AND DATALENGTH(CONVERT(nvarchar(4000), l.lc_codart))=DATALENGTH(CONVERT(nvarchar(4000), a.ar_codart))) WHERE l.codditt IS NOT NULL AND l.lc_codart IS NOT NULL AND l.lc_listino IS NOT NULL AND l.lc_unmis IS NOT NULL AND l.lc_datagg IS NOT NULL AND l.lc_daquant IS NOT NULL AND l.lc_codtpro IS NOT NULL AND SCHEMA_NAME() NOT IN (N'guest',N'sys',N'INFORMATION_SCHEMA') AND OBJECT_ID(N'ARTICO',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.ARTICO',N'V') AND OBJECT_ID(N'ARTPRO',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.ARTPRO',N'V') AND OBJECT_ID(N'TABMAGA',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABMAGA',N'V') AND OBJECT_ID(N'BARCODE',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.BARCODE',N'V') AND OBJECT_ID(N'TABMARC',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABMARC',N'V') AND OBJECT_ID(N'TABGMER',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABGMER',N'V') AND OBJECT_ID(N'TABSGME',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABSGME',N'V') AND OBJECT_ID(N'TABCFAM',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABCFAM',N'V') AND OBJECT_ID(N'TABSTAG',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABSTAG',N'V') AND OBJECT_ID(N'TABSEAT',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABSEAT',N'V') AND OBJECT_ID(N'TABFORM',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABFORM',N'V') AND OBJECT_ID(N'TABDIRE',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.TABDIRE',N'V') AND OBJECT_ID(N'LISTINIG',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.LISTINIG',N'V') AND OBJECT_ID(N'FORNITORI',N'V')=OBJECT_ID(QUOTENAME(SCHEMA_NAME())+N'.FORNITORI',N'V') AND (CONVERT(nvarchar(4000), a.codditt) COLLATE Latin1_General_100_BIN2=CONVERT(nvarchar(4000), :company) COLLATE Latin1_General_100_BIN2 AND DATALENGTH(CONVERT(nvarchar(4000), a.codditt))=DATALENGTH(CONVERT(nvarchar(4000), :company))) AND (CONVERT(nvarchar(4000), a.ar_codart) COLLATE Latin1_General_100_BIN2=CONVERT(nvarchar(4000), :article) COLLATE Latin1_General_100_BIN2 AND DATALENGTH(CONVERT(nvarchar(4000), a.ar_codart))=DATALENGTH(CONVERT(nvarchar(4000), :article)))",
                    "tableName": ""
                }
            ],
            "pages": [
                {
                    "actions": [
                        {
                            "id": "96E5A97F-C675-5FAB-A472-2958418BD18E",
                            "kind": "showRelated",
                            "relatedInitiallyExpanded": false,
                            "relatedPresentation": "separate",
                            "relatedPreviewLimit": 12,
                            "relatedRowStyle": "cards",
                            "relatedShowsCount": true,
                            "relationID": "1A20E97F-1691-531B-BAFB-E8803AC8046F",
                            "systemImage": "list.bullet.rectangle",
                            "targetDatasetID": "1CD80E14-558D-520B-A482-E6EE8644FA8C",
                            "title": "Articolo",
                            "urlKey": ""
                        }
                    ],
                    "badgeKey": "WarehouseName",
                    "cardEnrichments": [],
                    "cardFieldLayout": [
                        {
                            "detailGroup": "",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "ap_esist",
                            "label": "Esistenza fisica",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "ap_ordin",
                            "label": "Ordinato fornitori",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "ap_impeg",
                            "label": "Impegnato clienti",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "ap_prenot",
                            "label": "Prenotato spedizioni",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "PrimaryUnit",
                            "label": "U.M. principale",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "BrandName",
                            "label": "Marca attuale",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        }
                    ],
                    "datasetID": "D8A848E3-56A7-5F63-BDF1-19341E123D83",
                    "dateFilterKey": "",
                    "dateFilterLastDays": 7,
                    "dateFilterPreset": "none",
                    "detailFieldLayout": [
                        {
                            "detailGroup": "Articolo e varianti attuali",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "codditt",
                            "label": "Ditta",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Progressivi correnti — U.M. principale",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "ap_codart",
                            "label": "Codice articolo",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Progressivi correnti — U.M. principale",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "ap_magaz",
                            "label": "Codice magazzino",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Progressivi correnti — U.M. principale",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "ap_esist",
                            "label": "Esistenza fisica",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Progressivi correnti — U.M. principale",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "ap_ordin",
                            "label": "Ordinato fornitori",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Progressivi correnti — U.M. principale",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "ap_impeg",
                            "label": "Impegnato clienti",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Progressivi correnti — U.M. principale",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "ap_prenot",
                            "label": "Prenotato spedizioni",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Articolo e varianti attuali",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "ProductName",
                            "label": "Descrizione articolo attuale",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Articolo e varianti attuali",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "WarehouseName",
                            "label": "Magazzino attuale",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Articolo e varianti attuali",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "PrimaryUnit",
                            "label": "U.M. principale",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Classificazioni attuali",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "BrandName",
                            "label": "Marca attuale",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Classificazioni attuali",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "GroupName",
                            "label": "Gruppo merceologico",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Classificazioni attuali",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "SubgroupName",
                            "label": "Sottogruppo coerente",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Progressivi correnti — U.M. principale",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "GenericAvailable",
                            "label": "Disponibilità generica calcolata — U.M. principale",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Progressivi correnti — U.M. principale",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "NetAvailable",
                            "label": "Disponibilità netta calcolata — U.M. principale",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Progressivi correnti — U.M. principale",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "StockUpdatedAt",
                            "label": "Aggiornamento del progressivo (data/ora)",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Articolo e varianti attuali",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "ProductAvailability",
                            "label": "Anagrafica articolo attuale",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Articolo e varianti attuali",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "WarehouseAvailability",
                            "label": "Anagrafica magazzino attuale",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Classificazioni attuali",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "SubgroupAvailability",
                            "label": "Coerenza sottogruppo/gruppo attuale",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        }
                    ],
                    "detailLiveRefreshSeconds": 0,
                    "fixedFilters": [],
                    "id": "42936B0D-5709-5D7D-A81C-8675E928A4EB",
                    "openFilters": [
                        {
                            "id": "3663A50F-C644-5EFD-8AE3-FB5090494810",
                            "includeAllOption": false,
                            "key": "codditt",
                            "title": "Ditta",
                            "type": "text"
                        },
                        {
                            "id": "F47F924F-5604-50E5-BEBC-66688610F243",
                            "includeAllOption": false,
                            "key": "ap_magaz",
                            "title": "Magazzino",
                            "type": "number"
                        }
                    ],
                    "pageSize": 100,
                    "requiresOpeningFilterSelection": true,
                    "showOnHome": true,
                    "sortRules": [
                        {
                            "direction": "ascending",
                            "id": "019E52DE-9E39-546C-A09D-48747EDD5A70",
                            "key": "ProductName",
                            "type": "text"
                        },
                        {
                            "direction": "ascending",
                            "id": "6739E124-ABBF-5653-8180-FDC9DCBA0082",
                            "key": "StockKey",
                            "type": "text"
                        }
                    ],
                    "subtitle": "",
                    "subtitleKey": "ap_codart",
                    "systemImage": "doc.text",
                    "title": "Giacenze per magazzino",
                    "titleKey": "ProductName"
                },
                {
                    "actions": [
                        {
                            "id": "D110D6B1-E3C4-5E81-879C-345192F8F361",
                            "kind": "showRelated",
                            "relatedInitiallyExpanded": false,
                            "relatedPresentation": "separate",
                            "relatedPreviewLimit": 12,
                            "relatedRowStyle": "cards",
                            "relatedShowsCount": true,
                            "relationID": "84D09BC1-D49A-5E7F-B188-5FFD10B0303D",
                            "systemImage": "list.bullet.rectangle",
                            "targetDatasetID": "B6D33A8B-9C88-5ED8-AA29-6E6DD9295217",
                            "title": "Barcode",
                            "urlKey": ""
                        },
                        {
                            "id": "87E8E6BB-6ACF-5775-873B-8CF4F356E927",
                            "kind": "showRelated",
                            "relatedInitiallyExpanded": false,
                            "relatedPresentation": "separate",
                            "relatedPreviewLimit": 12,
                            "relatedRowStyle": "cards",
                            "relatedShowsCount": true,
                            "relationID": "329F5897-8A04-5A1F-BAD6-C3C15E94AF76",
                            "systemImage": "list.bullet.rectangle",
                            "targetDatasetID": "6EEACFC5-6BCD-532A-8A41-09B821AC8963",
                            "title": "Listini",
                            "urlKey": ""
                        }
                    ],
                    "badgeKey": "",
                    "cardEnrichments": [],
                    "cardFieldLayout": [
                        {
                            "detailGroup": "",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "ar_unmis",
                            "label": "U.M. principale",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "BrandName",
                            "label": "Marca attuale",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "GroupName",
                            "label": "Gruppo merceologico",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "SubgroupName",
                            "label": "Sottogruppo coerente",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "UsedState",
                            "label": "Articolo usato (S/N)",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "SaleState",
                            "label": "Vendibile esterno (S/N)",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        }
                    ],
                    "datasetID": "1CD80E14-558D-520B-A482-E6EE8644FA8C",
                    "dateFilterKey": "",
                    "dateFilterLastDays": 7,
                    "dateFilterPreset": "none",
                    "detailFieldLayout": [
                        {
                            "detailGroup": "Articolo e varianti attuali",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "codditt",
                            "label": "Ditta",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Articolo e varianti attuali",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "ar_codart",
                            "label": "Codice articolo",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Articolo e varianti attuali",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "ar_codalt",
                            "label": "Codice alternativo",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Articolo e varianti attuali",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "ar_descr",
                            "label": "Descrizione",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Articolo e varianti attuali",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "ar_desint",
                            "label": "Descrizione estesa",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Unità, confezioni e pesi",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "ar_unmis",
                            "label": "U.M. principale",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Unità, confezioni e pesi",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "ar_confez2",
                            "label": "U.M. confezione",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Unità, confezioni e pesi",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "ar_qtacon2",
                            "label": "Rapporto confezione/principale — moltiplicatore",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Unità, confezioni e pesi",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "ar_unmis2",
                            "label": "U.M. secondaria",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Unità, confezioni e pesi",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "ar_conver",
                            "label": "Rapporto principale/secondaria — divisore",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Classificazioni attuali",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "ar_codiva",
                            "label": "Codice IVA, non aliquota",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Unità, confezioni e pesi",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "ar_pesonet",
                            "label": "Peso netto nativo — verificare unità",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Unità, confezioni e pesi",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "ar_pesolor",
                            "label": "Peso lordo nativo — verificare unità",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Fornitore abituale attuale",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "ar_forn",
                            "label": "Codice fornitore abituale",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Articolo e varianti attuali",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "ar_codroot",
                            "label": "Codice radice articolo",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Articolo e varianti attuali",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "ar_codvar1",
                            "label": "Variante 1",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Articolo e varianti attuali",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "ar_codvar2",
                            "label": "Variante 2",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Articolo e varianti attuali",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "ar_codvar3",
                            "label": "Variante 3",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Articolo e varianti attuali",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "ar_codtagl",
                            "label": "Codice scala taglie",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Articolo e varianti attuali",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "ar_anno",
                            "label": "Anno taglie/colori",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Classificazioni attuali",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "ar_codcla1",
                            "label": "Classificazione 1 (codice)",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Classificazioni attuali",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "ar_codcla2",
                            "label": "Classificazione 2 (codice)",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Classificazioni attuali",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "ar_codcla3",
                            "label": "Classificazione 3 (codice)",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Classificazioni attuali",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "ar_codcla4",
                            "label": "Classificazione 4 (codice)",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Classificazioni attuali",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "ar_codcla5",
                            "label": "Classificazione 5 (codice)",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Classificazioni attuali",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "ar_clascon",
                            "label": "Classe sconto, non percentuale",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Classificazioni attuali",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "BrandName",
                            "label": "Marca attuale",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Classificazioni attuali",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "GroupName",
                            "label": "Gruppo merceologico",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Classificazioni attuali",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "SubgroupName",
                            "label": "Sottogruppo coerente",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Classificazioni attuali",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "FamilyName",
                            "label": "Famiglia attuale",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Classificazioni attuali",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "SeasonName",
                            "label": "Stagione attuale",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Classificazioni attuali",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "SetName",
                            "label": "Set attributi attuale",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Classificazioni attuali",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "FormName",
                            "label": "Forma attuale",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Classificazioni attuali",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "CompositionName",
                            "label": "Direttiva / composizione attuale",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Fornitore abituale attuale",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "SupplierName",
                            "label": "Fornitore abituale attuale",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Fornitore abituale attuale",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "SupplierAvailability",
                            "label": "Anagrafica fornitore abituale attuale",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Classificazioni attuali",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "SubgroupAvailability",
                            "label": "Coerenza sottogruppo/gruppo attuale",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Vendibilità e note",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "UsedState",
                            "label": "Articolo usato (S/N)",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Vendibilità e note",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "SaleState",
                            "label": "Vendibile esterno (S/N)",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Vendibilità e note",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "ProductNotes",
                            "label": "Note articolo (primi 500 caratteri)",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        }
                    ],
                    "detailLiveRefreshSeconds": 0,
                    "fixedFilters": [],
                    "id": "D475EA53-3FB9-50C2-9FAB-B5769DC52EA0",
                    "openFilters": [],
                    "pageSize": 100,
                    "requiresOpeningFilterSelection": false,
                    "showOnHome": false,
                    "sortRules": [
                        {
                            "direction": "ascending",
                            "id": "6DCA9023-BC8F-5EA2-A774-CA6ED06C3E76",
                            "key": "ar_descr",
                            "type": "text"
                        },
                        {
                            "direction": "ascending",
                            "id": "D548628C-5C21-5B03-B3A8-C42AD3D04106",
                            "key": "ProductKey",
                            "type": "text"
                        }
                    ],
                    "subtitle": "",
                    "subtitleKey": "ar_codart",
                    "systemImage": "doc.text",
                    "title": "Dossier articolo",
                    "titleKey": "ar_descr"
                },
                {
                    "actions": [],
                    "badgeKey": "bc_unmis",
                    "cardEnrichments": [],
                    "cardFieldLayout": [
                        {
                            "detailGroup": "",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "bc_tagl",
                            "label": "Taglia barcode",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        }
                    ],
                    "datasetID": "B6D33A8B-9C88-5ED8-AA29-6E6DD9295217",
                    "dateFilterKey": "",
                    "dateFilterLastDays": 7,
                    "dateFilterPreset": "none",
                    "detailFieldLayout": [
                        {
                            "detailGroup": "Articolo e varianti attuali",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "bc_code",
                            "label": "Barcode documentato",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Articolo e varianti attuali",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "bc_unmis",
                            "label": "U.M. barcode",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Articolo e varianti attuali",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "bc_tagl",
                            "label": "Taglia barcode",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Articolo e varianti attuali",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "BarcodeArticle",
                            "label": "Articolo del barcode",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        }
                    ],
                    "detailLiveRefreshSeconds": 0,
                    "fixedFilters": [],
                    "id": "85B0468C-37B4-5FC1-A69D-2511AD00B9EE",
                    "openFilters": [],
                    "pageSize": 100,
                    "requiresOpeningFilterSelection": false,
                    "showOnHome": false,
                    "sortRules": [
                        {
                            "direction": "ascending",
                            "id": "87C0FA4A-F521-59BC-935E-0C9722CCC2FA",
                            "key": "bc_code",
                            "type": "text"
                        },
                        {
                            "direction": "ascending",
                            "id": "91726984-03FA-5806-902B-37705420F9BD",
                            "key": "BarcodeKey",
                            "type": "text"
                        }
                    ],
                    "subtitle": "",
                    "subtitleKey": "BarcodeArticle",
                    "systemImage": "doc.text",
                    "title": "Barcode articolo",
                    "titleKey": "bc_code"
                },
                {
                    "actions": [],
                    "badgeKey": "lc_unmis",
                    "cardEnrichments": [],
                    "cardFieldLayout": [
                        {
                            "detailGroup": "",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "lc_daquant",
                            "label": "Da quantità (U.M. prezzo)",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "lc_aquant",
                            "label": "A quantità (U.M. prezzo)",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "StoredPrice",
                            "label": "Prezzo (EURO vista standard)",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "VatState",
                            "label": "IVA compresa (S/N)",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "PriceStartDay",
                            "label": "Validità dal (data)",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "PriceEndDay",
                            "label": "Validità fino (data)",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        }
                    ],
                    "datasetID": "6EEACFC5-6BCD-532A-8A41-09B821AC8963",
                    "dateFilterKey": "",
                    "dateFilterLastDays": 7,
                    "dateFilterPreset": "none",
                    "detailFieldLayout": [
                        {
                            "detailGroup": "Listino generico — non offerta cliente",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "lc_listino",
                            "label": "Numero listino generico",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Listino generico — non offerta cliente",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "lc_deslist",
                            "label": "Descrizione listino",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Listino generico — non offerta cliente",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "lc_unmis",
                            "label": "U.M. del prezzo memorizzato",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Listino generico — non offerta cliente",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "lc_daquant",
                            "label": "Da quantità (U.M. prezzo)",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Listino generico — non offerta cliente",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "lc_aquant",
                            "label": "A quantità (U.M. prezzo)",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Listino generico — non offerta cliente",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "lc_codtpro",
                            "label": "Codice promozione",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Listino generico — non offerta cliente",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "PriceStart",
                            "label": "Validità da (data/ora)",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Listino generico — non offerta cliente",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "PriceEnd",
                            "label": "Validità fino (data/ora)",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Listino generico — non offerta cliente",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "StoredPrice",
                            "label": "Prezzo (EURO vista standard)",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Listino generico — non offerta cliente",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "NetPriceState",
                            "label": "Ulteriori sconti secondo flag prezzo netto",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        },
                        {
                            "detailGroup": "Listino generico — non offerta cliente",
                            "detailRole": "information",
                            "isVisible": true,
                            "key": "VatState",
                            "label": "IVA compresa (S/N)",
                            "locationLabelKey": "",
                            "locationLongitudeKey": "",
                            "presentation": "automatic"
                        }
                    ],
                    "detailLiveRefreshSeconds": 0,
                    "fixedFilters": [],
                    "id": "931AC873-7366-5348-9FB0-735D5AC2DB44",
                    "openFilters": [],
                    "pageSize": 100,
                    "requiresOpeningFilterSelection": false,
                    "showOnHome": false,
                    "sortRules": [
                        {
                            "direction": "ascending",
                            "id": "AC58221B-41B4-56FE-940A-9AD79094AFE1",
                            "key": "PriceStart",
                            "type": "text"
                        },
                        {
                            "direction": "ascending",
                            "id": "201F2F30-4EDD-5AC2-BA8A-BFDBB4E1006A",
                            "key": "PriceKey",
                            "type": "text"
                        }
                    ],
                    "subtitle": "",
                    "subtitleKey": "lc_listino",
                    "systemImage": "doc.text",
                    "title": "Listini generici articolo",
                    "titleKey": "lc_deslist"
                }
            ],
            "relations": [
                {
                    "childDatasetID": "1CD80E14-558D-520B-A482-E6EE8644FA8C",
                    "childKey": "ProductKey",
                    "id": "1A20E97F-1691-531B-BAFB-E8803AC8046F",
                    "name": "Articolo",
                    "parentDatasetID": "D8A848E3-56A7-5F63-BDF1-19341E123D83",
                    "parentKey": "ProductKey"
                },
                {
                    "childDatasetID": "B6D33A8B-9C88-5ED8-AA29-6E6DD9295217",
                    "childKey": "ParentProductKey",
                    "id": "84D09BC1-D49A-5E7F-B188-5FFD10B0303D",
                    "name": "Barcode",
                    "parentDatasetID": "1CD80E14-558D-520B-A482-E6EE8644FA8C",
                    "parentKey": "ProductKey"
                },
                {
                    "childDatasetID": "6EEACFC5-6BCD-532A-8A41-09B821AC8963",
                    "childKey": "ParentProductKey",
                    "id": "329F5897-8A04-5A1F-BAD6-C3C15E94AF76",
                    "name": "Listini",
                    "parentDatasetID": "1CD80E14-558D-520B-A482-E6EE8644FA8C",
                    "parentKey": "ProductKey"
                }
            ],
            "widgets": []
        }
    },
    "format": "cifru-configuration-package",
    "formatVersion": 1,
    "manifest": {
        "applicationName": "NTS Business Experience",
        "configurationLanguages": [
            "it"
        ],
        "countries": [
            "IT"
        ],
        "createdAt": "2026-10-09T00:00:00Z",
        "description": "NON UFFICIALE — NON VALIDATA SU UNA INSTALLAZIONE ERP REALE.\n\nPer magazzinieri, acquisti, vendite e responsabili: scegli ditta e magazzino, cerca un articolo e consulta esistenza, ordinato, impegnato e prenotato con la loro U.M. Apri Articolo per descrizioni, marca, gruppo/sottogruppo, famiglia, classificazioni, confezioni, varianti e fornitore abituale; poi Barcode e Listini solo quando servono.\n\nPerché Cifru? Adatta le configurazioni al tuo modo di lavorare. Scegli i campi, i filtri e i dettagli che ti servono e porta sul telefono informazioni che potrebbero non essere disponibili nell’app mobile del tuo gestionale. Le possibilità dipendono dai dati accessibili nella fonte autorizzata e dal tuo piano Cifru.\n\nREQUISITO SPECIFICO: legge esclusivamente le 14 VISTE documentate del DATABASE DI TRANSITO del modulo ufficiale Collegamento a sistema eCommerce, già installate e autorizzate. NON legge tabelle native omonime, buffer di importazione o qualsiasi database NTS. Cifru non crea viste, non installa moduli e non esegue script vendor. Modulo, licenze, script delle viste, colonne, proprietario, chiavi logiche uniche/non nulle e permessi devono essere verificati dall’amministratore. Le chiavi in grassetto nel manuale sono logiche, non certificati di PK SQL. SQL Server 2016+ richiesto per la rappresentazione senza perdita delle chiavi Float (style3); non certifica i requisiti della versione ERP installata. Nessun accesso diretto a Business Cloud presunto.\n\nPro reale: una fonte, quattro liste e tre sotto-pulsanti lazy. Una sola Home Giacenze, ditta e magazzino obbligatori prima della lettura limitata; fino a 1.000 righe per richiesta, senza refresh periodico. Identità complete nascoste; nessun mix tra ditte, articoli o magazzini. Le letture separate non sono uno snapshot atomico. Filtri e ricerca locali agiscono sulle righe già caricate; restringere la selezione quando si raggiunge il limite.\n\nDOMINIO: articoli e magazzini visibili all’applicazione esterna, non l’intero ERP. La vista ARTICO documentata esclude gestioni lotto, matricola, commessa, ubicazione, fase e gift card; ARTPRO non espone progressivi per lotto/commessa/ubicazione/fase. Non è inventario storico, valorizzazione, costo medio o registro movimenti. Quantità native nella U.M. principale attuale; nessuna conversione, somma tra unità o sostituzione di NULL con zero. Disponibilità generica calcolata=esistenza+ordinato-impegnato; netta=esistenza-prenotato, secondo manuale. Sono due definizioni diverse, non promessa di consegna o garanzia di merce vendibile.\n\nAnagrafiche/classificazioni sono attuali. Master assente non elimina la giacenza: il problema è esplicito, senza nome/U.M. inventati. Sottogruppo collegato solo se coerente con il gruppo; le classificazioni 1–5 rimangono codici gestionali, non descrizioni indovinate. Codice IVA non è percentuale, classe sconto non è sconto applicato. Confezione: rapporto moltiplicatore; U.M. secondaria: rapporto divisore, senza conversioni automatiche. Note limitate a 500 caratteri. Nessun ID tecnico, operatore/audit, file immagine privato o password web visibile.\n\nBARCODE: codici documentati con U.M./taglia proprie; non assumiamo che ogni valore sia un EAN valido. LISTINIG: prezzi generici nella valuta principale EURO come documentato per questa vista standard, non per ogni database NTS o vista personalizzata. Mantiene U.M., intervallo originale data/ora, quantità da/a e promozione; sul card compare la sola data, mentre Dettagli mantiene anche ora e millisecondi. Non filtra silenziosamente prezzi scaduti/futuri. Prezzo memorizzato mostrato senza arrotondarlo a due decimali; non offerta corrente del cliente, costo d’acquisto, totale, scelta automatica del listino, sconti speciali o conversione valuta. lc_netto=S significa non applicare ulteriori sconti, NON IVA esclusa; lc_ivato indica IVA compresa. La documentazione standard limita lc_perqta a 1: verificare questa condizione nella vista installata. Valori S/N sconosciuti o NULL non diventano automaticamente Sì/No.\n\nIl filtro ditta non è ACL: SQL diretto non eredita le autorizzazioni NTS. Usare account dedicato solo SELECT e ambito approvato. Prezzi/fornitore/note possono essere riservati sulla fonte reale. Pacchetto senza server, credenziali, cache o righe aziendali. Documentazione helpnet2024, verifiche sintetiche e immagini DEMO NON sono test su installazione ERP o SQL Server reale. Verificare tipi/collation/indici/versione e performance con lettura limitata prima dell’import.\n\nManuale tecnico: https://servizi.ntsinformatica.it/BusHelpWs/helpnet2024/html/ambsecinst.htm\nAnagrafica articoli: https://servizi.ntsinformatica.it/BusHelpWs/helpnet2024/html/bsmgarti.htm\nMagazzino e disponibilità: https://servizi.ntsinformatica.it/BusHelpWs/helpnet2024/html/ambsmg07.htm",
        "licenseCode": "Cifru-Community-1.0",
        "minimumCifruVersion": "1.1.0",
        "minimumPlan": "pro",
        "packageID": "86B481D4-2588-5F3C-90D9-81E59DD0FD92",
        "rootButtonCount": 1,
        "summary": "Ditta e magazzino: quantità, dossier articolo, classificazioni, barcode e prezzi generici con condizioni native.",
        "tags": [
            "NTS Business Experience",
            "Business Cube",
            "SQL Server",
            "Magazzino",
            "Giacenze",
            "Articoli",
            "Barcode",
            "Listini",
            "Pro"
        ],
        "title": "Giacenze, articoli, barcode e listini e-commerce — Pro"
    }
}

Tags

Reviews

There are no approved reviews for this version yet.

Write a review

Sign in to review

Similar templates

From the same application, then shared tags, in the same language and country.