FSN#37025 Putorders multipart ook voor system2system

svn path=/Website/trunk/; revision=30638
This commit is contained in:
Jos Groot Lipman
2016-09-08 10:12:21 +00:00
parent 7a8b0decb3
commit 93e25a0a49

View File

@@ -373,13 +373,22 @@ function notificationSYS(rec, params)
{
var connect = new ConnectorCls();
// Met FSN#34131 hoop ik echte prs_bedrijfadres informatie te krijgen
// Tot die tijd ook even zo: je mag achteraan het systeemadres
// een ##1 zetten voor andere encoding
var encoding = 0; // text/xml
if (systeemadres.indexOf('##') > -1)
{
encoding = systeemadres.split('##')[1];
systeemadres = systeemadres.split('##')[0];
}
var bedrijfadres = { url: systeemadres,
extension: "xml",
ordermode: 0,
certificateName: "",
AttachFile: "",
username: "",
password: "" };
password: "",
encoding: encoding };
connect.connect(bedrijfadres); // vult eventueel bedrijfadres.username/password
if (xmlnode != "")