FUNCTION CloseCRMConnection()
Close connection to CRM Database.
|
Returns |
[boolean] Always returns True = success |
|
FUNCTION Init(companyCode$, notifyHwnd, notifyMsg, transactionsOff, reserved$)
|
FUNCTION Init(companyCode$, notifyHwnd, notifyMsg, transactionsOff, threadKey$, engineVersion, extendedData$)
Initialize class, setup required to push data to / from Sage 100 / CRM
|
Parameter | Description |
companyCode$ |
[input, string] The Company Code of the data to push |
notifyHwnd |
[input, numeric] Used to set cNotifyHwnd in SetNotify() |
notifyMsg |
[input, boolean] Used to set cNotifyMsg in SetNotify() |
transactionsOff |
[input, boolean] Sets local propery, cTransactionsOff |
reserved$ |
[input, string] Placeholder for null threadKey$ |
threadKey$ |
[input, string] Sets local propery, cThreadKey$ |
engineVersion |
{optional} [input, numeric] Sets local propery, cThreadKey$ |
extendedData$ |
{optional} [input, string] Currently not used |
|
Returns |
[boolean] True = success, False = failure |
|
FUNCTION OpenCRMConnection()
Open connection to CRM Database.
|
Returns |
[boolean] True = success, False = failure |
|
FUNCTION PreSync()
Executes OpenCRMConnection()
|
Returns |
[boolean] True = success, False = failure (from OpenCRMConnection()) |
|
FUNCTION PushToCRM()
Push data from Sage 100 to CRM, requires Init() be processed before this call
|
Returns |
[boolean] True = success, False = failure |
|
FUNCTION PushToMAS()
Push data from Sage 100 to CRM, requires Init() be processed before this call when SetNotify returns greater than zero
|
Returns |
[boolean] True = success, False = failure |
|
FUNCTION RepairMAS(progressObj)
|
FUNCTION SetNotify(notifyHwnd, notifyMsg)
|
FUNCTION SetTransactionMode(transactionsOff)
|
FUNCTION Sync(syncDirection, reserved1$, reserved2$)
Initialize class, setup required to push data to / from Sage 100 / CRM
|
Parameter | Description |
syncDirection |
[input, numeric] 1 = PushToMas(), 2 = PushToCRM() |
reserved1$ |
[input, string] Currently not used |
reserved2$ |
[input, string] Currently not used |
|
Returns |
[boolean] True = success, False = failure (Based upon syncDirection return value is from PushToMas() or PushToCRM(); if syncDirection = 0, will return failure.) |
|