{"id":24381,"date":"2016-12-08T21:36:05","date_gmt":"2016-12-08T20:36:05","guid":{"rendered":"http:\/\/help.qualiware.it\/qw-help\/?p=24381"},"modified":"2016-12-08T21:41:01","modified_gmt":"2016-12-08T20:41:01","slug":"creazione-di-unazione-sul-sistema-qualita","status":"publish","type":"post","link":"https:\/\/help.qualiware.it\/qw-help\/creazione-di-unazione-sul-sistema-qualita\/","title":{"rendered":"Creazione di un&#8217;azione sul Sistema Qualit\u00e0"},"content":{"rendered":"<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"csharp\">' Il seguente frammento crea un'azione sul sistema qualit\u00e0, collegandola al documento corrente\r\n' e la apre\r\nDim url As String\r\nDim params As AssocArray\r\nDim formid As String\r\n\r\nparams = New AssocArray\r\n'Parameter : PTipo,pNumMod,pCodart,pCodRep,pPar1,pPar2,pPar3,pPar4,pPar5,pPar6,pPar7,pPar8,pPar9,pPar10,pTipoArea,pDescr,pOggetto,pDescArt\r\nparams(\"PTipo\") = \"C\"\r\nparams(\"pIddoc\") = \"DW\"\r\nparams(\"pCoddoc\") = PackCode(\"DW\",form.form_state.dmd_ref.TIPI_DOC.rowset.fields(\"TIPO\").value,form.FindControl(\"TIPO_CONT\").value,form.FindControl(\"NUMERO\").value)\r\nparams(\"PCodart\") = \"\"\r\nparams(\"PCodRep\") = \"SPP\"\r\nparams(\"pTipoArea\") = \"E\"\r\nparams(\"pDescr\") = \"Reparto: \"+form.findcontrol(\"Notebook1\").findcontrol(\"Rep\").value+chr(13)+\"Attivit\u00e0: \"+form.findcontrol(\"Notebook1\").findcontrol(\"Att\").value+chr(13)+form.findcontrol(\"Notebook1\").findcontrol(\"DescInc\").value\r\nparams(\"pOggetto\") = \"Analisi Infortunio - \"+form.findcontrol(\"titolo\").value\r\nparams(\"pDescart\") = \"\"\r\n\r\nformid = CType(form.Page, qwWebControls.QWWebPage)._uniqueID\r\nform.Session(formid + \"_AQ_PARAMS\") = params\r\nurl = \"AZIONISQ.ASPX?FORMID=\" + formid\r\nBrowserDo(form.Page, url)<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>&#8216; Il seguente frammento crea un&#8217;azione sul sistema qualit\u00e0, collegandola al documento corrente &#8216; e la apre Dim url As String Dim params As AssocArray Dim formid As String params = New AssocArray &#8216;Parameter : PTipo,pNumMod,pCodart,pCodRep,pPar1,pPar2,pPar3,pPar4,pPar5,pPar6,pPar7,pPar8,pPar9,pPar10,pTipoArea,pDescr,pOggetto,pDescArt params(&#8220;PTipo&#8221;) = &#8220;C&#8221; params(&#8220;pIddoc&#8221;) = &#8220;DW&#8221; params(&#8220;pCoddoc&#8221;) = PackCode(&#8220;DW&#8221;,form.form_state.dmd_ref.TIPI_DOC.rowset.fields(&#8220;TIPO&#8221;).value,form.FindControl(&#8220;TIPO_CONT&#8221;).value,form.FindControl(&#8220;NUMERO&#8221;).value) params(&#8220;PCodart&#8221;) = &#8220;&#8221; params(&#8220;PCodRep&#8221;) = &#8220;SPP&#8221; params(&#8220;pTipoArea&#8221;) = &#8220;E&#8221; params(&#8220;pDescr&#8221;)&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"ngg_post_thumbnail":0,"footnotes":""},"categories":[65],"tags":[71],"acf":[],"_links":{"self":[{"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/posts\/24381"}],"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\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/comments?post=24381"}],"version-history":[{"count":0,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/posts\/24381\/revisions"}],"wp:attachment":[{"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/media?parent=24381"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/categories?post=24381"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/help.qualiware.it\/qw-help\/wp-json\/wp\/v2\/tags?post=24381"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}