ccvoid.script File Reference

Functions

_transactions addColumn ("Currency",-1, 1, true,"ccpay_currAbbr")
_transactions addColumn ("Amount",-1, 2, true,"ccpay_amount")
_transactions addColumn ("Order-Seq.",-1, 2, true,"docnumber")
_transactions addColumn ("Transaction",-1, 1, true,"status")
_transactions addColumn ("Type",-1, 1, true,"type")
_transactions addColumn ("Name",-1, 1, true,"cust_name")
_transactions addColumn ("Cust. #",-1, 1, true,"cust_number")
function APPENDFIELD (request, name, content)
_void clicked connect (sVoid)
_netmgr finished connect (sHandleResponse)
_netmgr sslErrors connect (sHandleSslError)
_netmgr proxyAuthenticationRequired connect (sHandleProxyAuthenticationRequired)
_netmgr authenticationRequired connect (sHandleAuthenticationRequired)
 if (metrics.value("CCPort") > 0) _url.setPort(metrics.value("CCPort"))
 if (_ccp==null) toolbox.messageBox("critical"
else _url setPort (_ccp.defaultPort())
function sHandleAuthenticationRequired (reply, authenticator)
function sHandleProxyAuthenticationRequired (proxy, authenticator)
function sHandleResponse (netresponse)
function sHandleSslError (reply, errors)
function sPopulateTransactions ()
function sVoid ()

Variables

var _ccp = toolbox.getCreditCardProcessor()
var _currid = -1
var _netmgr = new QNetworkAccessManager(mywindow)
var _transactions = mywindow.findChild("_transactions")
var _url = new QUrl(metrics.value("CCServer"))
var _void = mywindow.findChild("_void")
 mywindow
No Credit Card Could not get a
credit card 
processor
No Credit Card Processor

Function Documentation

_transactions addColumn ( "Currency"  ,
1,
,
true  ,
"ccpay_currAbbr"   
)
_transactions addColumn ( "Amount"  ,
1,
,
true  ,
"ccpay_amount"   
)
_transactions addColumn ( "Order-Seq."  ,
1,
,
true  ,
"docnumber"   
)
_transactions addColumn ( "Transaction"  ,
1,
,
true  ,
"status"   
)
_transactions addColumn ( "Type"  ,
1,
,
true  ,
"type"   
)
_transactions addColumn ( "Name"  ,
1,
,
true  ,
"cust_name"   
)
_transactions addColumn ( "Cust. #"  ,
1,
,
true  ,
"cust_number"   
)
function APPENDFIELD ( request  ,
name  ,
content   
)
_void clicked connect ( sVoid   ) 
_netmgr finished connect ( sHandleResponse   ) 
_netmgr sslErrors connect ( sHandleSslError   ) 
_netmgr proxyAuthenticationRequired connect ( sHandleProxyAuthenticationRequired   ) 
_netmgr authenticationRequired connect ( sHandleAuthenticationRequired   ) 
if ( metrics.  value"CCPort",
 
)
if ( _ccp  = = null  ) 
else _url setPort ( _ccp.  defaultPort()  ) 
function sHandleAuthenticationRequired ( reply  ,
authenticator   
)
function sHandleProxyAuthenticationRequired ( proxy  ,
authenticator   
)
function sHandleResponse ( netresponse   ) 
function sHandleSslError ( reply  ,
errors   
)
sPopulateTransactions (  ) 
function sVoid (  ) 

Variable Documentation

var _ccp = toolbox.getCreditCardProcessor()
var _currid = -1
var _transactions = mywindow.findChild("_transactions")
var _url = new QUrl(metrics.value("CCServer"))
var _void = mywindow.findChild("_void")
No Credit Card Could not get a credit card processor
No Credit Card Processor

Generated on Fri Sep 4 10:06:59 2009 xTuple ERP Programmer Reference, Version 3.3.0 doxygen 1.6.1