Correct export of Delivery Unit EON_EMOBILITY_VIRTA (42 files, replaces incomplete initial export)
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
description = "b1i saphanats03 server";
|
||||
host = "192.168.50.187";
|
||||
port = 8080;
|
||||
pathPrefix = "/B1iXcellerator/exec/ipo/vP.0010000105.in_HCSX/com.sap.b1i.vplatform.runtime/INB_HT_CALL_SYNC_XPT/INB_HT_CALL_SYNC_XPT.ipo/proc";
|
||||
proxyType = none;
|
||||
proxyHost = "localhost";
|
||||
proxyPort = 0;
|
||||
authType = none;
|
||||
useSSL = false;
|
||||
timeout = 0;
|
||||
@@ -0,0 +1,71 @@
|
||||
var ParDebug = false;
|
||||
var Billingrunmode = "ABC";
|
||||
var DateFrom = "";
|
||||
var DateTo = "";
|
||||
var BillingRunDate = "20190701";
|
||||
|
||||
|
||||
function doHTTPCallstartBillingrun(Billingrunmode,BillingRunDate,DateFrom,DateTo) {
|
||||
|
||||
//http://172.17.12.201:8080/B1iXcellerator/exec/ipo/vP.0010000104.in_HCSX/com.sap.b1i.vplatform.runtime/INB_HT_CALL_SYNC_XPT/INB_HT_CALL_SYNC_XPT.ipo/proc?biu=uni.eon.emob.addcdr&SysId=0010000100&CdrCallId=4aa9b243be184a4abdb4179f375459be
|
||||
|
||||
var destn_pkg = "uniorg.mrssporty.billingrunui.b1iwrapper";
|
||||
var dest_name = "B1I";
|
||||
|
||||
try
|
||||
|
||||
{
|
||||
|
||||
var dest = $.net.http.readDestination(destn_pkg, dest_name);
|
||||
var client = new $.net.http.Client();
|
||||
var req = new $.web.WebRequest($.net.http.GET, "");
|
||||
var oSysId = "0010000104";
|
||||
// oCdrCallId = "4aa9b243be184a4abdb4179f375459be";
|
||||
req.parameters.set("biu", "uni.msp.billing.run");
|
||||
//req.parameters.set("msglog", "true");
|
||||
req.parameters.set("function", "triggerbillingrun");
|
||||
req.parameters.set("SysId", oSysId);
|
||||
req.parameters.set("Billingrunmode", Billingrunmode);
|
||||
// req.parameters.set("DateFrom", DateFrom);
|
||||
// req.parameters.set("DateTo", DateTo);
|
||||
req.parameters.set("BillingRunDate", BillingRunDate);
|
||||
|
||||
|
||||
//, "/httpdest.png");
|
||||
|
||||
client.request(req, dest);
|
||||
|
||||
var response = client.getResponse();
|
||||
|
||||
var b1iResp = response.body.asString()
|
||||
|
||||
$.trace.debug("DEBUG Billingmode: " + Billingrunmode );
|
||||
|
||||
$.response.status = $.net.http.OK;
|
||||
|
||||
$.response.contentType = "text/xml";
|
||||
|
||||
$.response.setBody(b1iResp);
|
||||
|
||||
} catch (e) {
|
||||
|
||||
$.response.contentType = "text/plain";
|
||||
|
||||
$.response.setBody(e.message);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
if ($.request.parameters.get('Billingrunmode')) {
|
||||
Billingrunmode = $.request.parameters.get('Billingrunmode');
|
||||
}
|
||||
if ($.request.parameters.get('DateFrom')) {
|
||||
DateFrom = $.request.parameters.get('DateFrom');
|
||||
}
|
||||
if ($.request.parameters.get('DateTo')) {
|
||||
DateTo = $.request.parameters.get('DateTo');
|
||||
}
|
||||
if ($.request.parameters.get('BillingRunDate')) {
|
||||
BillingRunDate = $.request.parameters.get('BillingRunDate');
|
||||
}
|
||||
doHTTPCallstartBillingrun(Billingrunmode,BillingRunDate);
|
||||
Reference in New Issue
Block a user