NexusERP
Stoc pe gestiuni
Carduri de stoc corect identificate prin perechea gestiune–produs, cu filtru de intrare pe gestiune.
Stoc read-only pe produs și gestiune. Interogarea folosește exclusiv dbo.accesex_stoc_detaliat_view și construiește un ID stabil din gestiune + produs, pentru ca rândurile aceleiași mărfi din gestiuni diferite să nu se suprascrie.
Pregătire în NexusERP / SQL Server:
1. Creează un utilizator SQL dedicat cu SELECT numai pe dbo.accesex_stoc_detaliat_view.
2. Permite accesul securizat din rețeaua telefonului, preferabil prin VPN, și păstrează TLS activ.
Configurare în Cifru pe iPhone/iPad:
1. Surse → SQL Server; introdu host, port, bază și utilizatorul read-only, apoi testează structura.
2. Importă pachetul și mapează slotul la acea sursă.
3. Este necesar planul Pro deoarece pachetul conține SQL personalizat. Cifru verifică local că SQL-ul este SELECT-only înainte de test și import.
4. La deschiderea butonului poți alege gestiunea; cardul arată produsul, codul, cantitatea și prețul.
Pachetul nu conține credențiale și nu execută nicio scriere.
Ce creează pachetul
- Home: Stoc pe gestiuni
Sursele se mapează local și se verifică înainte de aplicare.
Interogări personalizatePRO1 SQL
Interogările personalizate sunt funcții PRO. Cifru repetă validarea read-only pe sursa locală înainte de execuție.
$.components.workspaceSelection.datasets.0.sqlQuerySELECT
CONCAT(CONVERT(varchar(100), id_gestiune), '|', CONVERT(varchar(100), id_produs)) AS row_id,
id_gestiune, den_gestiune, id_produs, cod_produs, den_produs, cantitate,
pret_achizitie, pret_vanzare_tva, rezervat, comenzi_de_onorat
FROM dbo.accesex_stoc_detaliat_viewstatic read-only checks passed
Vezi JSON-ul care se importărestrâns implicit
{
"components": {
"sourceSlots": [
{
"displayName": "NexusERP SQL Server (AccesEx)",
"id": "9A027096-2CEC-5D2D-9446-27EB18E35069",
"kind": "sqlServer",
"requiredObjects": [
"dbo.accesex_stoc_detaliat_view"
],
"requiresCustomSQL": true
}
],
"workspaceSelection": {
"commonFields": [],
"datasets": [
{
"cacheMode": "cached",
"calculatedFields": [],
"customQueryIntegrationName": "NexusERP",
"endpointPath": "",
"fetchSortRules": [],
"id": "89050D6A-72CF-51E9-805A-21C8ADBC5896",
"mappings": [
{
"commonFieldKey": "",
"key": "row_id",
"label": "ID rând",
"locationLabelKey": "",
"locationLongitudeKey": "",
"presentation": "automatic",
"sourceColumn": "row_id",
"type": "text",
"visibleInDetail": true,
"visibleInList": false
},
{
"commonFieldKey": "",
"key": "id_gestiune",
"label": "ID gestiune",
"locationLabelKey": "",
"locationLongitudeKey": "",
"presentation": "automatic",
"sourceColumn": "id_gestiune",
"type": "text",
"visibleInDetail": true,
"visibleInList": false
},
{
"commonFieldKey": "",
"key": "den_gestiune",
"label": "Gestiune",
"locationLabelKey": "",
"locationLongitudeKey": "",
"presentation": "automatic",
"sourceColumn": "den_gestiune",
"type": "text",
"visibleInDetail": true,
"visibleInList": true
},
{
"commonFieldKey": "",
"key": "id_produs",
"label": "ID produs",
"locationLabelKey": "",
"locationLongitudeKey": "",
"presentation": "automatic",
"sourceColumn": "id_produs",
"type": "text",
"visibleInDetail": true,
"visibleInList": false
},
{
"commonFieldKey": "product_code",
"key": "cod_produs",
"label": "Cod produs",
"locationLabelKey": "",
"locationLongitudeKey": "",
"presentation": "automatic",
"sourceColumn": "cod_produs",
"type": "text",
"visibleInDetail": true,
"visibleInList": true
},
{
"commonFieldKey": "product_name",
"key": "den_produs",
"label": "Produs",
"locationLabelKey": "",
"locationLongitudeKey": "",
"presentation": "automatic",
"sourceColumn": "den_produs",
"type": "text",
"visibleInDetail": true,
"visibleInList": true
},
{
"commonFieldKey": "quantity",
"key": "cantitate",
"label": "Cantitate",
"locationLabelKey": "",
"locationLongitudeKey": "",
"presentation": "automatic",
"sourceColumn": "cantitate",
"type": "number",
"visibleInDetail": true,
"visibleInList": true
},
{
"commonFieldKey": "",
"key": "pret_achizitie",
"label": "Preț achiziție",
"locationLabelKey": "",
"locationLongitudeKey": "",
"presentation": "automatic",
"sourceColumn": "pret_achizitie",
"type": "number",
"visibleInDetail": true,
"visibleInList": false
},
{
"commonFieldKey": "",
"key": "pret_vanzare_tva",
"label": "Preț vânzare cu TVA",
"locationLabelKey": "",
"locationLongitudeKey": "",
"presentation": "automatic",
"sourceColumn": "pret_vanzare_tva",
"type": "number",
"visibleInDetail": true,
"visibleInList": true
},
{
"commonFieldKey": "",
"key": "rezervat",
"label": "Rezervat",
"locationLabelKey": "",
"locationLongitudeKey": "",
"presentation": "automatic",
"sourceColumn": "rezervat",
"type": "number",
"visibleInDetail": true,
"visibleInList": false
},
{
"commonFieldKey": "",
"key": "comenzi_de_onorat",
"label": "Comenzi de onorat",
"locationLabelKey": "",
"locationLongitudeKey": "",
"presentation": "automatic",
"sourceColumn": "comenzi_de_onorat",
"type": "number",
"visibleInDetail": true,
"visibleInList": false
}
],
"maxRows": 3000,
"name": "Stoc pe gestiuni",
"primaryKey": "row_id",
"refreshPolicy": {
"enabled": true,
"intervalMinutes": 15
},
"rootArrayPath": "",
"rowLimitEnabled": true,
"searchKeys": [
"row_id",
"id_gestiune",
"den_gestiune",
"id_produs",
"cod_produs"
],
"sourceID": "9A027096-2CEC-5D2D-9446-27EB18E35069",
"sqlQuery": "SELECT\n CONCAT(CONVERT(varchar(100), id_gestiune), '|', CONVERT(varchar(100), id_produs)) AS row_id,\n id_gestiune, den_gestiune, id_produs, cod_produs, den_produs, cantitate,\n pret_achizitie, pret_vanzare_tva, rezervat, comenzi_de_onorat\nFROM dbo.accesex_stoc_detaliat_view",
"tableName": ""
}
],
"pages": [
{
"actions": [],
"badgeKey": "cantitate",
"cardEnrichments": [],
"cardFieldLayout": [
{
"detailGroup": "",
"detailRole": "information",
"isVisible": true,
"key": "den_produs",
"label": "Produs",
"locationLabelKey": "",
"locationLongitudeKey": "",
"presentation": "automatic"
},
{
"detailGroup": "",
"detailRole": "information",
"isVisible": true,
"key": "cod_produs",
"label": "Cod produs",
"locationLabelKey": "",
"locationLongitudeKey": "",
"presentation": "automatic"
},
{
"detailGroup": "",
"detailRole": "information",
"isVisible": true,
"key": "den_gestiune",
"label": "Gestiune",
"locationLabelKey": "",
"locationLongitudeKey": "",
"presentation": "automatic"
},
{
"detailGroup": "",
"detailRole": "information",
"isVisible": true,
"key": "cantitate",
"label": "Cantitate",
"locationLabelKey": "",
"locationLongitudeKey": "",
"presentation": "automatic"
},
{
"detailGroup": "",
"detailRole": "information",
"isVisible": true,
"key": "pret_vanzare_tva",
"label": "Preț vânzare cu TVA",
"locationLabelKey": "",
"locationLongitudeKey": "",
"presentation": "automatic"
}
],
"datasetID": "89050D6A-72CF-51E9-805A-21C8ADBC5896",
"dateFilterKey": "",
"dateFilterLastDays": 7,
"dateFilterPreset": "none",
"detailFieldLayout": [
{
"detailGroup": "",
"detailRole": "information",
"isVisible": true,
"key": "row_id",
"label": "ID rând",
"locationLabelKey": "",
"locationLongitudeKey": "",
"presentation": "automatic"
},
{
"detailGroup": "",
"detailRole": "information",
"isVisible": true,
"key": "id_gestiune",
"label": "ID gestiune",
"locationLabelKey": "",
"locationLongitudeKey": "",
"presentation": "automatic"
},
{
"detailGroup": "",
"detailRole": "information",
"isVisible": true,
"key": "den_gestiune",
"label": "Gestiune",
"locationLabelKey": "",
"locationLongitudeKey": "",
"presentation": "automatic"
},
{
"detailGroup": "",
"detailRole": "information",
"isVisible": true,
"key": "id_produs",
"label": "ID produs",
"locationLabelKey": "",
"locationLongitudeKey": "",
"presentation": "automatic"
},
{
"detailGroup": "",
"detailRole": "information",
"isVisible": true,
"key": "cod_produs",
"label": "Cod produs",
"locationLabelKey": "",
"locationLongitudeKey": "",
"presentation": "automatic"
},
{
"detailGroup": "",
"detailRole": "information",
"isVisible": true,
"key": "den_produs",
"label": "Produs",
"locationLabelKey": "",
"locationLongitudeKey": "",
"presentation": "automatic"
},
{
"detailGroup": "",
"detailRole": "highlight",
"isVisible": true,
"key": "cantitate",
"label": "Cantitate",
"locationLabelKey": "",
"locationLongitudeKey": "",
"presentation": "automatic"
},
{
"detailGroup": "",
"detailRole": "information",
"isVisible": true,
"key": "pret_achizitie",
"label": "Preț achiziție",
"locationLabelKey": "",
"locationLongitudeKey": "",
"presentation": "automatic"
},
{
"detailGroup": "",
"detailRole": "information",
"isVisible": true,
"key": "pret_vanzare_tva",
"label": "Preț vânzare cu TVA",
"locationLabelKey": "",
"locationLongitudeKey": "",
"presentation": "automatic"
},
{
"detailGroup": "",
"detailRole": "information",
"isVisible": true,
"key": "rezervat",
"label": "Rezervat",
"locationLabelKey": "",
"locationLongitudeKey": "",
"presentation": "automatic"
},
{
"detailGroup": "",
"detailRole": "information",
"isVisible": true,
"key": "comenzi_de_onorat",
"label": "Comenzi de onorat",
"locationLabelKey": "",
"locationLongitudeKey": "",
"presentation": "automatic"
}
],
"fixedFilters": [],
"id": "82E0E7F8-A569-526A-B93A-D1E4CC6BD052",
"openFilters": [
{
"id": "786AECC1-9A82-5E11-BBF0-23AAF46A6818",
"includeAllOption": true,
"key": "den_gestiune",
"title": "Alege gestiunea",
"type": "text"
}
],
"pageSize": 100,
"requiresOpeningFilterSelection": true,
"showOnHome": true,
"sortRules": [
{
"direction": "ascending",
"id": "C0662EC4-4556-524F-9B67-210C0C480C6C",
"key": "den_produs",
"type": "text"
}
],
"subtitle": "",
"subtitleKey": "den_gestiune",
"systemImage": "shippingbox",
"title": "Stoc pe gestiuni",
"titleKey": "den_produs"
}
],
"relations": [],
"widgets": []
}
},
"format": "cifru-configuration-package",
"formatVersion": 1,
"manifest": {
"applicationName": "NexusERP",
"configurationLanguages": [
"ro"
],
"countries": [
"RO"
],
"createdAt": "2026-07-24T16:26:43Z",
"description": "Stoc read-only pe produs și gestiune. Interogarea folosește exclusiv dbo.accesex_stoc_detaliat_view și construiește un ID stabil din gestiune + produs, pentru ca rândurile aceleiași mărfi din gestiuni diferite să nu se suprascrie.\n\nPregătire în NexusERP / SQL Server:\n1. Creează un utilizator SQL dedicat cu SELECT numai pe dbo.accesex_stoc_detaliat_view.\n2. Permite accesul securizat din rețeaua telefonului, preferabil prin VPN, și păstrează TLS activ.\n\nConfigurare în Cifru pe iPhone/iPad:\n1. Surse → SQL Server; introdu host, port, bază și utilizatorul read-only, apoi testează structura.\n2. Importă pachetul și mapează slotul la acea sursă.\n3. Este necesar planul Pro deoarece pachetul conține SQL personalizat. Cifru verifică local că SQL-ul este SELECT-only înainte de test și import.\n4. La deschiderea butonului poți alege gestiunea; cardul arată produsul, codul, cantitatea și prețul.\n\nPachetul nu conține credențiale și nu execută nicio scriere.",
"licenseCode": "Cifru-Community-1.0",
"minimumCifruVersion": "1.0",
"minimumPlan": "pro",
"packageID": "0DB22D7A-253E-5E43-89A6-A377526D0D91",
"rootButtonCount": 1,
"summary": "Carduri de stoc corect identificate prin perechea gestiune–produs, cu filtru de intrare pe gestiune.",
"tags": [
"NexusERP",
"stoc",
"gestiuni",
"SQL read-only"
],
"title": "Stoc pe gestiuni"
}
}