HMRC.MTD.CSV.Filing
General
General · 19 fields · 19 with a value
- Baserecordtypebaserecordtype
- customrecord_filing_template
- Customformcustomform
- Standard Online Filing Template Form
- Filing template contentcustrecord_filing_template_content
- <head> <script type="text/javascript"> var childWindow; var localIp = []; var localIpTimestamp; getLocalIp(); function toggleOnlineFiling() { var submitBtn; if (typeof Ext.version === 'string' && parseFloat(Ext.version) >= 3) { submitBtn = Ext.MessageBox.getDialog().buttons[1]; submitBtn.disabled ? submitBtn.enable() : submitBtn.disable(); } else { submitBtn = Ext.MessageBox.msgButtons.yes; Ext.getCmp(submitBtn.id).setDisabled(!submitBtn.disabled); } } function SubmitOnline(importData) { var baseUrl = nlapiResolveURL('SUITELET', 'customscript_online_filing_su', 'customdeploy_online_filing_su'); var target = '_onlineFiling'; CreateForm(importData, baseUrl, target); } function CreateForm(data, url, target, screenDimensions) { data.clientHeaders = GetClientHeaders(); var mtdForm = document.createElement('form'); mtdForm.method = 'POST'; mtdForm.action = url; mtdForm.target = target; var screenHeight; var screenWidth; var box; if (screenDimensions) { screenHeight = screenDimensions.height; screenWidth = screenDimensions.width; } else { screenHeight = screen.height * .9; screenWidth = screen.width * .9; } box = document.createElement('input'); box.type = 'hidden'; box.name = 'data'; box.value = JSON.stringify(data); mtdForm.appendChild(box); document.body.appendChild(mtdForm); childWindow = window.open('about:blank', mtdForm.target, 'width=' + screenWidth + ', height=' + screenHeight); mtdForm.onsubmit = childWindow; mtdForm.submit(); document.body.removeChild(mtdForm); } function GetClientHeaders() { var headers = {}; headers.localIp = localIp.join(","); headers.localIpTimestamp = localIpTimestamp; headers.screenWidth = screen.width; headers.screenHeight = screen.height; headers.colorDepth = screen.colorDepth; headers.pixelRatio = window.devicePixelRatio; headers.innerWidth = window.innerWidth; headers.innerHeight = window.innerHeight; headers.tzOffset = new Date().getTimezoneOffset(); headers.jsUserAgent = navigator.userAgent; headers.browserPlugins = getBrowserPlugins(); headers.doNotTrack = getDoNotTrackPreference(); headers.deviceId = getDeviceUUIDFromCookies(); return headers; } function getBrowserPlugins() { var plugins = []; if(navigator && navigator.plugins) { for(var i = 0; i < navigator.plugins.length; i++) { plugins.push(encodeURIComponent(navigator.plugins[i].name)); } } return plugins.join(','); } function getLocalIp() { window.RTCPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection || false; try { if (window.RTCPeerConnection) { var pc = new RTCPeerConnection({ iceServers: [] }), noop = function () {}; pc.createDataChannel(""); pc.createOffer(pc.setLocalDescription.bind(pc), noop); pc.onicecandidate = function (event) { try { if (event && event.candidate && event.candidate.candidate) { var s = event.candidate.candidate.split("\n"); localIp.push(encodeURIComponent(s[0].split(" ")[4])); } } catch (ex) { console.log(['getLocalIp.pc.onicecandidate', ex.name, ex.message].join(' | ')); } }; } } catch (ex) { console.log(['getLocalIp', ex.name, ex.message].join(' | ')); } localIpTimestamp = new Date().toISOString(); } function getDoNotTrackPreference() { var dnt = navigator.doNotTrack || window.doNotTrack; return dnt === "1"; } function getDeviceUUIDFromCookies() { var deviceUUID = getCookie('HMRC_UK_SUBMISSION_GUID'); var isValidUUID = validateUUIDFormat(deviceUUID); if (!isValidUUID) { deviceUUID = generateUUID(); setCookie('HMRC_UK_SUBMISSION_GUID', deviceUUID, 365); } return deviceUUID; } function setCookie(cookieName, cookieValue, daysBeforeExpiration) { const dateObj = new Date(); dateObj.setTime(dateObj.getTime() + (daysBeforeExpiration * 24 * 60 * 60 * 1000)); var expires = 'expires=' + dateObj.toUTCString(); document.cookie = cookieName + '=' + cookieValue + ';' + expires + '; path=/; Secure'; } function getCookie(cookieName) { var nameString = cookieName + '='; var cookiesSplit = document.cookie.split(';'); for (var i = 0; i < cookiesSplit.length; i++) { var cookie = cookiesSplit[i]; while (cookie.charAt(0) === ' ') { cookie = cookie.substring(1); } if (cookie.indexOf(nameString) === 0) { return cookie.substring(nameString.length, cookie.length); } } return ''; } function generateUUID() { return ([1e7] + -1e3 + -4e3 + -8e3 + -1e11).replace(/[018]/g, c => (c ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> c / 4).toString(16) ); } function validateUUIDFormat(uuid) { return /^[0-9A-F]{8}-[0-9A-F]{4}-[4][0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i.test(uuid); } </script> <style> .formfont{font: 11px Verdana,Arial,Helvetica,sans-serif !important;} .formBGColor {background-color: #F1F1F1;} .maxwidth {width:800px} .padding {padding:10px 10px 10px 10px;} .divdotted {border: 1px dotted #000000;} a { text-decoration:underline;cursor: pointer; z-index: 100; position:relative;} ul { list-style-type: none; } li { list-style-type: none; } ul.x-tab-strip li.right-tab {float: right;} td {font: 11px Verdana,Arial,Helvetica,sans-serif !important;} input[type="text"]:disabled, select:disabled { background: #ffffff !important; color: #000000 !important; } </style> </head> <body style="font-family: Verdana, Arial, Helvetica, sans-serif;"> <div class="maxwidth padding" id='reportbody'> <div id='maintab' name='maintab' style='list-style-type: none;'></div> <div id='filingsetup' name='filingsetup' label="Setup" class='customtab lline rline bline tline x-hide-display formBGColor'> <table class="formfont collapse formBGColor" border="0" style="width:100%" width="100%" cellpadding="5"> <tr> <td style="width:20%" class='tline lline rline'></td> <td style="width:80%" class='tline rline'></td> </tr> <tr> <td class='tline lline rline'><a id="vrnmtdcsv" class="tooltip">VAT Registration No.*</a></td> <td class='tline rline'><input style="width: 30%" id="vrnmtdcsv" class="vat-freetext" value="{{vrnmtdcsv}}" type="text" {{isEdit}}></td> </tr> <tr> <td class='tline lline rline'><a id="periodtypemtdcsv" class="tooltip">VAT Reporting Period*</a></td> <td class='tline rline'> <select style="width: 30%" id="periodtypemtdcsv" {{isEdit}}> <option value=""></option> <option value="QUARTERLY" {{quarterly}}>By Quarter</option> <option value="MONTHLY" {{monthly}}>By Month</option> <option value="CUSTOM" {{custom}}>Custom</option> </select> </td> </tr> <tr> <td class='tline lline rline' colspan='2'><a id="periodfrommtdcsv" class="tooltip">From*</a></td> </tr> <tr> <td colspan='2'> <select style="width: 25%" id="periodfrommtdcsv" {{isEdit}}> {{fromPeriodOptions}} </select> </td> </tr> <td class='tline lline rline' colspan='2'><a id="periodtomtdcsv" class="tooltip">To*</a></td> </tr> <tr> <td colspan='2'> <select style="width: 25%" id="periodtomtdcsv" {{isEdit}}> {{toPeriodOptions}} </select> </td> </tr> <tr> <td colspan='2'><span id='_btnsave'></span><span id='_btnedit'></span><span id='_btncancel'></span></td> </tr> </table> </div> <div id='submitcsv' name='submitcsv' label="Submit CSV" class='customtab lline rline bline tline x-hide-display'> <table class="formfont collapse formBGColor" border="0" style="width:100%" width="100%" cellpadding="5"> <tr> <td class='tline lline rline' colspan='2'> FILE (CSV) * <br/> <input type="file" name="custpage_online_filing_import_file" class="inputreq" onchange="setWindowChanged(window, true);" size="40" id="custpage_online_filing_import_file" value="{{custpage_online_filing_import_file}}" type="text" {{isEdit}><br/> <i>Select the CSV file to be submitted. Make sure the file is in the correct format.</i> </td> </tr> <tr> <td style="width:20%" class='tline lline'> <span id='_btnsubmit'/> </td> </tr> </table> </div> <div id='submithistory' name='submithistory' label="Submission History" class='customtab lline rline bline tline x-hide-display'> <div id='submithistory'></div> </div> </body>
- Filing template typecustrecord_filing_template_type
- HTML
- Isinactiveisinactive
- No
- Lastmodifiedlastmodified
- 5/12/2022 2:14 am
- Linenumberlinenumber
- 11
- Namename
- HMRC.MTD.CSV.Filing
- Nameorignameorig
- HMRC.MTD.CSV.Filing
- Ownerowner
- Kristoff Tatur
- Owneridownerid
- -5
- Recordidrecordid
- 11
- Rectyperectype
- Online Filing Template
- Scriptidscriptid
- val_53647_3776644_212
- Submitnext tsubmitnext_t
- customrecordentry
- Submitnext ysubmitnext_y
- 425
- Templatestoredtemplatestored
- No
- Typetype
- custrecordentry
- Versionversion
- 8
System & IDs
System & IDs · 10 fields · 6 with a value · 4 empty
- Customform refidcustomform_refid
- -1425
- Entryformquerystringentryformquerystring
- rectype=425&e=T&id=11
- Idid
- 11
- InternalIdInternalId
- 11
- Owner refidowner_refid
- -5
- Rectype refidrectype_refid
- 425
No value 4
- Customwhencecustomwhence
- —
- Externalidexternalid
- —
- Nsbrowserenvnsbrowserenv
- —
- Selectedtabselectedtab
- —
No field matches your search.
Fields without a value are shown as “—”.