{"id":38549,"date":"2026-05-14T22:48:52","date_gmt":"2026-05-14T20:48:52","guid":{"rendered":"https:\/\/help.qualiware.it\/qw-help\/?p=38549"},"modified":"2026-05-14T22:48:52","modified_gmt":"2026-05-14T20:48:52","slug":"prompt-per-la-creazione-di-action-link-per-limportazione-di-una-anagrafica-articolo","status":"publish","type":"post","link":"https:\/\/help.qualiware.it\/qw-help\/prompt-per-la-creazione-di-action-link-per-limportazione-di-una-anagrafica-articolo\/","title":{"rendered":"Prompt per la creazione di Action Link per l&#8217;importazione di una anagrafica articolo"},"content":{"rendered":"<p>Il seguente prompt crea un action link che viene chiamato da un servizio esterno che nel payload passa un JSON contente un articolo.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\">Crea un action link che prende questo payload e assegna i seguenti campi della tabella ARTIC\r\n\r\nCODICE --&gt; ItemCode\r\nRAGSOC --&gt; ItemName\r\nUNMIS --&gt; InventoryUOM\r\nTIPO --&gt; 1 se \"PurchaseItem\": \"tYES\", 3 se \"SalesItem\": \"tYES\"\r\n\r\nQuesto \u00e8 il payload\r\n\/\/ Esempio Articolo\r\n\r\n{\r\n                \"ItemCode\": \"UK-0001\",\r\n                \"ItemName\": \"Articolo Inglese\",\r\n                \"ForeignName\": null,\r\n                \"ItemsGroupCode\": 100,\r\n                \"PurchaseItem\": \"tYES\",\r\n                \"SalesItem\": \"tYES\",\r\n                \"InventoryItem\": \"tYES\",\r\n                \"InventoryUOM\": \"N\",\r\n            }.<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Il seguente prompt crea un action link che viene chiamato da un servizio esterno che nel payload passa un JSON contente un articolo. Crea un action link che prende questo payload e assegna i seguenti campi della tabella ARTIC CODICE &#8211;&gt; ItemCode RAGSOC &#8211;&gt; ItemName UNMIS &#8211;&gt; InventoryUOM TIPO &#8211;&gt; 1 se &#8220;PurchaseItem&#8221;: &#8220;tYES&#8221;, 3&hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"ngg_post_thumbnail":0,"footnotes":""},"categories":[86],"tags":[284],"acf":[],"_links":{"self":[{"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/posts\/38549"}],"collection":[{"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/comments?post=38549"}],"version-history":[{"count":1,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/posts\/38549\/revisions"}],"predecessor-version":[{"id":38550,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/posts\/38549\/revisions\/38550"}],"wp:attachment":[{"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/media?parent=38549"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/categories?post=38549"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/tags?post=38549"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}