Пример #1
0
    public static function WorkersCompCodeQueryRequest($requestID, $user, $action, $ID, $extra, &$err, $last_action_time, $last_actionident_time, $version, $locale, $config = array())
    {
        $xml = '';
        if (!QuickBooks_Server_SQL_Callbacks::_requiredVersion(7.0, $version)) {
            return QUICKBOOKS_SKIP;
        }
        $xml .= '<?xml version="1.0" encoding="utf-8"?>
			<?qbxml version="' . $version . '"?>
			<QBXML>
				<QBXMLMsgsRq onError="' . QUICKBOOKS_SERVER_SQL_ON_ERROR . '">
					<WorkersCompCodeQueryRq requestID="' . $requestID . '">
						' . QuickBooks_Server_SQL_Callbacks::_buildFilter($user, $action, $extra) . '
					</WorkersCompCodeQueryRq>
				</QBXMLMsgsRq>
			</QBXML>';
        return $xml;
    }