{"templates":[{"u":"9ydXS!Lh0ig;[K<#*RbJ","tt":"Customer","type":"ft_lib_entry","usg":"USAGE_IN_TITLE","num":14,"order":0,"lib":"iVhvempUwn9-]+1Qif)j","r":true,"stats":"","hint":"","cnt":[{"s":"_index_{\"i\":1,\"t\":\"L Customers\"}","i":0,"o":"9ydXS!Lh0ig;[K<#*RbJ","t":"9ydXS!Lh0ig;[K<#*RbJ"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"compactEditMode\":false,\"compactViewMode\":false,\"defaultEntriesIds\":[],\"relationType\":1,\"attrJsonTemplates\":[],\"maxObjects\":2147483647,\"colSpan\":1,\"colorizeRules\":\"{\\\"colorTarget\\\":0,\\\"rules\\\":[]}\",\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"fieldDelimiter\":\" | \",\"textDrawable\":false}","unique":false,"readonly":false},{"u":"j)EQdZJQrK6syF8-(>u9","tt":"JS Invoice Color","type":"ft_script","usg":"HIDDEN","num":103,"order":1,"lib":"iVhvempUwn9-]+1Qif)j","r":false,"stats":"","hint":"","cnt":[{"s":"{\"expr\":\"let _hold = \\\"#3d92d6\\\"; // blue\\nlet _send = \\\"#ffb142\\\"; // yellow\\nlet _error = \\\"#f44336\\\"; // red\\nlet _sent = \\\"#007b29\\\"; // green\\n\\nlet inv = field(\\\"qb_id\\\") != \\\"\\\";\\nlet estCtx = !inv && !field(\\\"qb_act_sync\\\")\\n    && (field(\\\"qb_estimate_id\\\") != \\\"\\\" || field(\\\"qb_estimate_act_sync\\\"));\\n\\nif (estCtx) {\\n    let pending = field(\\\"qb_estimate_act_sync\\\") || field(\\\"qb_estimate_need_to_send\\\");\\n    if (field(\\\"qb_estimate_dont_send\\\") && (pending || !field(\\\"qb_estimate_sent\\\")))\\n        _hold;\\n    else if (pending)\\n        _send;\\n    else if (field(\\\"qb_estimate_sent\\\"))\\n        _sent;\\n    else\\n        \\\"#ffffff\\\";\\n}\\nelse if (field(\\\"qb_id\\\")==\\\"\\\" && field(\\\"qb_act_sync\\\")==false && field(\\\"qb_act_dont_send\\\")==false)\\n    \\\"#ffffff\\\";\\nelse if (field(\\\"qb_id\\\")!=\\\"\\\" && field(\\\"qb_act_sync\\\")==false && field(\\\"qb_act_dont_send\\\")==false && field(\\\"qb_sent\\\"))\\n    _sent;\\nelse if (field(\\\"qb_act_dont_send\\\")) {\\n    _hold;\\n}\\nelse if (field(\\\"qb_act_dont_send\\\")==false)\\n    _send;\",\"res\":4,\"s\":5,\"real_time\":true,\"libs\":[]}","o":"j)EQdZJQrK6syF8-(>u9","t":"j)EQdZJQrK6syF8-(>u9"}],"depend":"","disp_title":true,"entry_color":true,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"html\":false,\"displayConvertUnitButton\":false,\"groupSeparator\":false,\"incDelta\":1.0,\"showCalc\":false,\"colSpan\":1,\"colorizeRules\":\"{\\\"colorTarget\\\":0,\\\"rules\\\":[]}\",\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"f9KnSXLdJ-0PJ6iyuK)T","tt":"JS Invoice Background Color","type":"ft_script","usg":"HIDDEN","num":95,"order":2,"lib":"iVhvempUwn9-]+1Qif)j","r":false,"stats":"","hint":"","cnt":[{"s":"{\"expr\":\"let _created = \\\"#d6eadf\\\"; // green: invoiced\\nlet _create_update = \\\"#f7d794\\\"; // gold: waiting for the next MQSync run\\nlet _error = \\\"#eac4d5\\\"; // red\\nlet _estimate_open = \\\"#d9e6f5\\\"; // light blue: estimate in QuickBooks, no answer yet\\nlet _estimate_accepted = \\\"#e2d9f3\\\"; // lavender: estimate accepted, not invoiced yet\\n\\nlet noInvoice = field(\\\"qb_id\\\") == \\\"\\\";\\nlet hasEstimate = field(\\\"qb_estimate_id\\\") != \\\"\\\";\\n\\nif (field(\\\"qb_state_error\\\") == true)\\n    _error;\\nelse if (field(\\\"qb_act_sync\\\"))\\n    _create_update;\\nelse if (noInvoice && field(\\\"qb_estimate_act_sync\\\"))\\n    _create_update;\\nelse if (noInvoice && hasEstimate && field(\\\"Estimate accepted\\\"))\\n    _estimate_accepted;\\nelse if (noInvoice && hasEstimate)\\n    _estimate_open;\\nelse if (!noInvoice)\\n    _created;\\nelse\\n    \\\"#ffffff\\\";\",\"res\":4,\"s\":5,\"real_time\":true,\"libs\":[]}","o":"f9KnSXLdJ-0PJ6iyuK)T","t":"f9KnSXLdJ-0PJ6iyuK)T"}],"depend":"","disp_title":true,"entry_color":true,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"html\":false,\"displayConvertUnitButton\":false,\"groupSeparator\":false,\"incDelta\":1.0,\"showCalc\":false,\"colSpan\":1,\"colorizeRules\":\"{\\\"colorTarget\\\":0,\\\"rules\\\":[]}\",\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":1,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"qk;YvA0V8tWqZ>>7C!Nm","tt":"Shipping Address","type":"ft_subheader","usg":"NOT_USAGE","num":133,"order":3,"lib":"iVhvempUwn9-]+1Qif)j","r":false,"stats":"","hint":"","cnt":[{"s":"","i":1,"o":"qk;YvA0V8tWqZ>>7C!Nm","t":"qk;YvA0V8tWqZ>>7C!Nm"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"font\":{\"color\":-13783129,\"defaultColor\":false,\"family\":\"sans-serif\",\"size\":18,\"style\":1},\"textDrawable\":false}","unique":false,"readonly":false},{"u":"BduHgB]nb4#uB[UHtM<q","tt":"ShipAddrLine1","type":"ft_string","usg":"NOT_USAGE","num":125,"order":4,"lib":"iVhvempUwn9-]+1Qif)j","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"BduHgB]nb4#uB[UHtM<q","t":"BduHgB]nb4#uB[UHtM<q"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"9@:nTOW1uXD1I!0C0P>)","tt":"ShipAddrLine2","type":"ft_string","usg":"NOT_USAGE","num":126,"order":5,"lib":"iVhvempUwn9-]+1Qif)j","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"9@:nTOW1uXD1I!0C0P>)","t":"9@:nTOW1uXD1I!0C0P>)"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"0!Sv762nn1nj]2UtY9C-","tt":"ShipAddrCity","type":"ft_string","usg":"NOT_USAGE","num":127,"order":6,"lib":"iVhvempUwn9-]+1Qif)j","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"0!Sv762nn1nj]2UtY9C-","t":"0!Sv762nn1nj]2UtY9C-"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"PCTTvn@Sq8njy:LLiL7N","tt":"ShipAddrZipCode","type":"ft_string","usg":"NOT_USAGE","num":128,"order":7,"lib":"iVhvempUwn9-]+1Qif)j","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"PCTTvn@Sq8njy:LLiL7N","t":"PCTTvn@Sq8njy:LLiL7N"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"Ux:eD!!-igjDNM!ACZ#6","tt":"ShipAddrState","type":"ft_string","usg":"NOT_USAGE","num":129,"order":8,"lib":"iVhvempUwn9-]+1Qif)j","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"Ux:eD!!-igjDNM!ACZ#6","t":"Ux:eD!!-igjDNM!ACZ#6"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"nQAg9Q@YIRe[qw8n7<vn","tt":"ShipAddrCountry","type":"ft_string","usg":"NOT_USAGE","num":130,"order":9,"lib":"iVhvempUwn9-]+1Qif)j","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"nQAg9Q@YIRe[qw8n7<vn","t":"nQAg9Q@YIRe[qw8n7<vn"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"NMQNn+Ya@W-OJxp4FL!5","tt":"ShipAddrLatitude","type":"ft_string","usg":"NOT_USAGE","num":131,"order":10,"lib":"iVhvempUwn9-]+1Qif)j","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"NMQNn+Ya@W-OJxp4FL!5","t":"NMQNn+Ya@W-OJxp4FL!5"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"RXuh7H*DIE2fuvR-FQgq","tt":"ShipAddrLongitude","type":"ft_string","usg":"NOT_USAGE","num":132,"order":11,"lib":"iVhvempUwn9-]+1Qif)j","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"RXuh7H*DIE2fuvR-FQgq","t":"RXuh7H*DIE2fuvR-FQgq"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"AmR6#[g9dPVFvOnNfC5n","tt":"Estimate","type":"ft_subheader","usg":"NOT_USAGE","num":168,"order":12,"lib":"iVhvempUwn9-]+1Qif)j","r":false,"stats":"","hint":"","cnt":[{"s":"","i":0,"o":"AmR6#[g9dPVFvOnNfC5n","t":"AmR6#[g9dPVFvOnNfC5n"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"font\":{\"color\":-13783129,\"defaultColor\":false,\"family\":\"sans-serif\",\"size\":18,\"style\":1},\"textDrawable\":false}","unique":false,"readonly":false},{"u":"jtpc*OC[0XKqYIn6iG!L","tt":"Estimate status","type":"ft_script","usg":"NOT_USAGE","num":167,"order":13,"lib":"iVhvempUwn9-]+1Qif)j","r":false,"stats":"","hint":"","cnt":[{"s":"{\"expr\":\"let est   \\u003d field(\\\"qb_estimate_id\\\") !\\u003d \\\"\\\";\\nlet inv   \\u003d field(\\\"qb_id\\\") !\\u003d \\\"\\\";\\nlet resp  \\u003d String(field(\\\"qb_response\\\") || \\\"\\\");\\n\\nif (field(\\\"qb_state_error\\\") \\u003d\\u003d true \\u0026\\u0026 resp.indexOf(\\\"Estimate\\\") \\u003d\\u003d 0)\\n    \\\"Error\\\";\\nelse if (est \\u0026\\u0026 inv)\\n    \\\"Invoiced\\\";\\nelse if (field(\\\"qb_estimate_act_sync\\\"))\\n    \\\"Waiting to sync\\\";\\nelse if (est \\u0026\\u0026 field(\\\"Estimate accepted\\\"))\\n    \\\"Accepted\\\";\\nelse if (est \\u0026\\u0026 field(\\\"qb_estimate_dont_send\\\") \\u0026\\u0026 !field(\\\"qb_estimate_sent\\\"))\\n    \\\"Not sent (paused)\\\";\\nelse if (est \\u0026\\u0026 field(\\\"qb_estimate_sent\\\"))\\n    \\\"Sent\\\";\\nelse if (est \\u0026\\u0026 field(\\\"qb_estimate_need_to_send\\\"))\\n    \\\"Waiting to sync\\\";\\nelse if (!est \\u0026\\u0026 !inv)\\n    \\\"Draft\\\";\\nelse\\n    \\\" \\\";\",\"res\":4,\"s\":5,\"real_time\":true,\"libs\":[]}","o":"jtpc*OC[0XKqYIn6iG!L","t":"jtpc*OC[0XKqYIn6iG!L"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"html\":false,\"displayConvertUnitButton\":false,\"groupSeparator\":false,\"incDelta\":1.0,\"showCalc\":false,\"colSpan\":1,\"colorizeRules\":\"{\\\"colorTarget\\\":0,\\\"rules\\\":[]}\",\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"dYRbTRKd51Jg>J0%;8lw","tt":"Sync estimate","type":"ft_button","usg":"NOT_USAGE","num":170,"order":14,"lib":"iVhvempUwn9-]+1Qif)j","r":false,"stats":"","hint":"","cnt":[{"s":"","o":"dYRbTRKd51Jg>J0%;8lw","t":"dYRbTRKd51Jg>J0%;8lw"}],"depend":"[{\"template_index\":162,\"type_class\":\"com.luckydroid.droidbase.depend.VisibleFieldDependType\",\"only_edit\":false,\"group_type\":0,\"depends\":[{\"key\":\"visible\",\"values\":[\"false\"]}]},{\"template_index\":117,\"type_class\":\"com.luckydroid.droidbase.depend.VisibleFieldDependType\",\"only_edit\":false,\"group_type\":0,\"depends\":[{\"key\":\"visible\",\"values\":[\"false\"]}]},{\"template_index\":115,\"type_class\":\"com.luckydroid.droidbase.depend.VisibleFieldDependType\",\"only_edit\":false,\"group_type\":0,\"depends\":[{\"key\":\"visible\",\"values\":[\"false\"]}]},{\"template_index\":118,\"type_class\":\"com.luckydroid.droidbase.depend.VisibleFieldDependType\",\"only_edit\":false,\"group_type\":0,\"depends\":[{\"key\":\"visible\",\"values\":[\"false\"]}]}]","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":2,"json_options":"{\"backgroundColor\":-16746133,\"script\":\"{\\\"enabled\\\":true,\\\"event\\\":\\\"BUTTON\\\",\\\"jsLibs\\\":[],\\\"modifiedTime\\\":0,\\\"moment\\\":\\\"VIEW_ENTRY_CONTEXT\\\",\\\"name\\\":\\\"Script\\\",\\\"script\\\":\\\"est_sync_switch();\\\"}\",\"share\":\"\",\"type\":\"SCRIPT\",\"url\":\"\",\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"5gRhUte0J--D0J8mY4OY","tt":"Pause email","type":"ft_button","usg":"NOT_USAGE","num":171,"order":15,"lib":"iVhvempUwn9-]+1Qif)j","r":false,"stats":"","hint":"","cnt":[{"s":"","o":"5gRhUte0J--D0J8mY4OY","t":"5gRhUte0J--D0J8mY4OY"}],"depend":"[{\"template_index\":115,\"type_class\":\"com.luckydroid.droidbase.depend.VisibleFieldDependType\",\"only_edit\":false,\"group_type\":0,\"depends\":[{\"key\":\"visible\",\"values\":[\"false\"]}]},{\"template_index\":118,\"type_class\":\"com.luckydroid.droidbase.depend.VisibleFieldDependType\",\"only_edit\":false,\"group_type\":0,\"depends\":[{\"key\":\"visible\",\"values\":[\"false\"]}]}]","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":1,"json_options":"{\"script\":\"{\\\"enabled\\\":true,\\\"event\\\":\\\"BUTTON\\\",\\\"jsLibs\\\":[],\\\"modifiedTime\\\":0,\\\"moment\\\":\\\"VIEW_ENTRY_CONTEXT\\\",\\\"name\\\":\\\"Script\\\",\\\"script\\\":\\\"est_pause_email();\\\"}\",\"share\":\"\",\"type\":\"SCRIPT\",\"url\":\"\",\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"5BJ#nO<R>Sg%um0f>jb@","tt":"Estimate number","type":"ft_string","usg":"USAGE_IN_STATUS","num":160,"order":16,"lib":"iVhvempUwn9-]+1Qif)j","r":false,"stats":"","hint":"","cnt":[{"s":"","i":0,"o":"5BJ#nO<R>Sg%um0f>jb@","t":"5BJ#nO<R>Sg%um0f>jb@"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":2,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"colorizeRules\":\"{\\\"colorTarget\\\":0,\\\"rules\\\":[]}\",\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":true},{"u":"JH+;CRWNg;jO4WeKXT0;","tt":"Estimate total","type":"ft_money","usg":"NOT_USAGE","num":161,"order":17,"lib":"iVhvempUwn9-]+1Qif)j","r":false,"stats":"","hint":"","cnt":[{"s":"USD","o":"JH+;CRWNg;jO4WeKXT0;","t":"JH+;CRWNg;jO4WeKXT0;"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":1,"json_options":"{\"displayConvertUnitButton\":false,\"groupSeparator\":false,\"incDelta\":1.0,\"showCalc\":false,\"colSpan\":1,\"colorizeRules\":\"{\\\"colorTarget\\\":2,\\\"rules\\\":[{\\\"color\\\":-16738680,\\\"rule\\\":{\\\"t\\\":5,\\\"v\\\":0,\\\"v2\\\":0}}]}\",\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":true},{"u":"vaH[w*SfXlGEAyVDI)Lv","tt":"estimatePDF","type":"ft_file","usg":"NOT_USAGE","num":157,"order":18,"lib":"iVhvempUwn9-]+1Qif)j","r":false,"stats":"","hint":"","cnt":[{"s":"","o":"vaH[w*SfXlGEAyVDI)Lv","t":"vaH[w*SfXlGEAyVDI)Lv"}],"depend":"[{\"template_index\":105,\"type_class\":\"com.luckydroid.droidbase7.depend.VisibleFieldDependType\",\"only_edit\":true,\"group_type\":0,\"depends\":[{\"key\":\"visible\",\"values\":[\"1\"]}]}]","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"dd*+LL+i@eg+em5RMgOd","tt":"Estimate date","type":"ft_date","usg":"NOT_USAGE","num":163,"order":19,"lib":"iVhvempUwn9-]+1Qif)j","r":false,"stats":"","hint":"","cnt":[{"s":"","i":1,"o":"dd*+LL+i@eg+em5RMgOd","t":"dd*+LL+i@eg+em5RMgOd"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":2,"json_options":"{\"dateTimeFormats\":{\"dateFormat\":\"MMM d, yyyy\",\"dateFormatLang\":\"en_US\"},\"endYear\":2100,\"startYear\":1900,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"aCyx%uRmKp97rHX<zvF!","tt":"Expiration date","type":"ft_date","usg":"NOT_USAGE","num":164,"order":20,"lib":"iVhvempUwn9-]+1Qif)j","r":false,"stats":"","hint":"","cnt":[{"s":"","i":1,"o":"aCyx%uRmKp97rHX<zvF!","t":"aCyx%uRmKp97rHX<zvF!"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":1,"json_options":"{\"dateTimeFormats\":{\"dateFormat\":\"MMM d, yyyy\",\"dateFormatLang\":\"en_US\"},\"endYear\":2100,\"startYear\":1900,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"82F8!pWY+X>zTs-qffEm","tt":"Customer signature","type":"ft_signature","usg":"NOT_USAGE","num":169,"order":21,"lib":"iVhvempUwn9-]+1Qif)j","r":false,"stats":"","hint":"","cnt":[{"s":"{\"_backgroundColor\":-5592406,\"_cropEmpty\":true,\"_fullScreen\":false,\"_height\":1200,\"_paintColor\":-13421773,\"_paintWidth\":5,\"_signatureMode\":true,\"_width\":1080}","o":"82F8!pWY+X>zTs-qffEm","t":"82F8!pWY+X>zTs-qffEm"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"captureMaxHeight\":0,\"captureMaxWidth\":0,\"fileNamePattern\":\"TIME\",\"orientation\":1,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"V5wFBc0Iqe)204IOYy4K","tt":"Accepted by","type":"ft_string","usg":"NOT_USAGE","num":165,"order":22,"lib":"iVhvempUwn9-]+1Qif)j","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"V5wFBc0Iqe)204IOYy4K","t":"V5wFBc0Iqe)204IOYy4K"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"1o(ilNc[W0nKR9wOmuSS","tt":"Estimate accepted","type":"ft_boolean","usg":"NOT_USAGE","num":162,"order":23,"lib":"iVhvempUwn9-]+1Qif)j","r":false,"stats":"","hint":"","cnt":[{"s":"Yes::No::0","i":0,"o":"1o(ilNc[W0nKR9wOmuSS","t":"1o(ilNc[W0nKR9wOmuSS"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":2,"json_options":"{\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"o>APvPDs<Gy>4:V1U:x(","tt":"Accepted date","type":"ft_date","usg":"NOT_USAGE","num":166,"order":24,"lib":"iVhvempUwn9-]+1Qif)j","r":false,"stats":"","hint":"","cnt":[{"s":"","i":1,"o":"o>APvPDs<Gy>4:V1U:x(","t":"o>APvPDs<Gy>4:V1U:x("}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":1,"json_options":"{\"dateTimeFormats\":{\"dateFormat\":\"MMM d, yyyy\",\"dateFormatLang\":\"en_US\"},\"endYear\":2100,\"startYear\":1900,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":";wj%*oPstn@*q;SZCs1C","tt":"Notes","type":"ft_subheader","usg":"NOT_USAGE","num":173,"order":25,"lib":"iVhvempUwn9-]+1Qif)j","r":false,"stats":"","hint":"","cnt":[{"i":0,"o":";wj%*oPstn@*q;SZCs1C","t":";wj%*oPstn@*q;SZCs1C"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"font\":{\"color\":-13783129,\"defaultColor\":false,\"family\":\"sans-serif\",\"size\":18,\"style\":1},\"textDrawable\":false}","unique":false,"readonly":false},{"u":"0t>9OBhrP#--+n:9niBu","tt":"CustomerMemo","type":"ft_string","usg":"NOT_USAGE","num":1,"order":26,"lib":"iVhvempUwn9-]+1Qif)j","r":false,"stats":"","hint":"Message to the customer","cnt":[{"s":"","i":0,"o":"0t>9OBhrP#--+n:9niBu","t":"0t>9OBhrP#--+n:9niBu"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"font\":{\"color\":-12434878,\"defaultColor\":false,\"family\":\"sans-serif\",\"size\":18,\"style\":0},\"textDrawable\":false}","unique":false,"readonly":false},{"u":"SvAE9%*(oIgg6EcrZ!E3","tt":"PrivateNote","type":"ft_string","usg":"NOT_USAGE","num":124,"order":27,"lib":"iVhvempUwn9-]+1Qif)j","r":false,"stats":"","hint":"Does not appear on the invoice to the customer","cnt":[{"s":"","i":0,"o":"SvAE9%*(oIgg6EcrZ!E3","t":"SvAE9%*(oIgg6EcrZ!E3"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"font\":{\"color\":-12434878,\"defaultColor\":false,\"family\":\"sans-serif\",\"size\":18,\"style\":0},\"textDrawable\":false}","unique":false,"readonly":false},{"u":"VvmxfXo5w9[RsyZv-Sbe","tt":"Item or Service Link","type":"ft_lib_entry","usg":"NOT_USAGE","num":111,"order":28,"lib":"iVhvempUwn9-]+1Qif)j","r":false,"stats":"","hint":"","cnt":[{"s":"_index_{\"i\":2,\"t\":\"L Items\"}","i":0,"o":"VvmxfXo5w9[RsyZv-Sbe","t":"VvmxfXo5w9[RsyZv-Sbe"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"compactEditMode\":false,\"compactViewMode\":false,\"defaultEntriesIds\":[],\"relationType\":0,\"attrJsonTemplates\":[\"{\\\"u\\\":\\\"-)\\u0026ekii[PHEOwWua*LVO\\\",\\\"tt\\\":\\\"Price\\\",\\\"type\\\":\\\"ft_money\\\",\\\"usg\\\":\\\"NOT_USAGE\\\",\\\"num\\\":1,\\\"order\\\":0,\\\"r\\\":false,\\\"stats\\\":\\\"\\\",\\\"hint\\\":\\\"\\\",\\\"cnt\\\":[{\\\"s\\\":\\\"USD\\\"}],\\\"depend\\\":\\\"\\\",\\\"disp_title\\\":true,\\\"entry_color\\\":false,\\\"show_in_table\\\":true,\\\"column_width\\\":100,\\\"week_event\\\":0,\\\"autofill\\\":\\\"\\\",\\\"card_align\\\":0,\\\"json_options\\\":\\\"{\\\\\\\"displayConvertUnitButton\\\\\\\":false,\\\\\\\"groupSeparator\\\\\\\":true,\\\\\\\"incDelta\\\\\\\":1.0,\\\\\\\"showCalc\\\\\\\":true,\\\\\\\"descriptionPos\\\\\\\":17,\\\\\\\"directEdit\\\\\\\":0,\\\\\\\"fieldColorTarget\\\\\\\":0,\\\\\\\"textDrawable\\\\\\\":false}\\\",\\\"unique\\\":false,\\\"readonly\\\":false}\",\"{\\\"u\\\":\\\"K\\u003eUOpy))\\u003el)7p]nFBCjT\\\",\\\"tt\\\":\\\"Quantity\\\",\\\"type\\\":\\\"ft_real\\\",\\\"usg\\\":\\\"NOT_USAGE\\\",\\\"num\\\":0,\\\"order\\\":1,\\\"r\\\":true,\\\"stats\\\":\\\"\\\",\\\"hint\\\":\\\"\\\",\\\"cnt\\\":[{\\\"s\\\":\\\"\\\"}],\\\"depend\\\":\\\"\\\",\\\"disp_title\\\":true,\\\"entry_color\\\":false,\\\"show_in_table\\\":true,\\\"column_width\\\":100,\\\"week_event\\\":0,\\\"autofill\\\":\\\"\\\",\\\"card_align\\\":0,\\\"json_options\\\":\\\"{\\\\\\\"displayConvertUnitButton\\\\\\\":false,\\\\\\\"groupSeparator\\\\\\\":false,\\\\\\\"incDelta\\\\\\\":1.0,\\\\\\\"showCalc\\\\\\\":false,\\\\\\\"descriptionPos\\\\\\\":17,\\\\\\\"directEdit\\\\\\\":0,\\\\\\\"fieldColorTarget\\\\\\\":0,\\\\\\\"textDrawable\\\\\\\":false}\\\",\\\"unique\\\":false,\\\"readonly\\\":false}\",\"{\\\"u\\\":\\\"WUiGe]+884e4iHd)cIhs\\\",\\\"tt\\\":\\\"Amount\\\",\\\"type\\\":\\\"ft_money\\\",\\\"usg\\\":\\\"NOT_USAGE\\\",\\\"num\\\":2,\\\"order\\\":2,\\\"r\\\":false,\\\"stats\\\":\\\"\\\",\\\"hint\\\":\\\"\\\",\\\"cnt\\\":[{\\\"s\\\":\\\"USD\\\"}],\\\"depend\\\":\\\"\\\",\\\"disp_title\\\":true,\\\"entry_color\\\":false,\\\"show_in_table\\\":true,\\\"column_width\\\":100,\\\"week_event\\\":0,\\\"autofill\\\":\\\"\\\",\\\"card_align\\\":0,\\\"json_options\\\":\\\"{\\\\\\\"displayConvertUnitButton\\\\\\\":false,\\\\\\\"groupSeparator\\\\\\\":true,\\\\\\\"incDelta\\\\\\\":1.0,\\\\\\\"showCalc\\\\\\\":true,\\\\\\\"descriptionPos\\\\\\\":17,\\\\\\\"directEdit\\\\\\\":0,\\\\\\\"fieldColorTarget\\\\\\\":0,\\\\\\\"textDrawable\\\\\\\":false}\\\",\\\"unique\\\":false,\\\"readonly\\\":false}\",\"{\\\"u\\\":\\\"T1vQNh@OVXB39Xsk#x*p\\\",\\\"tt\\\":\\\"Description\\\",\\\"type\\\":\\\"ft_string\\\",\\\"usg\\\":\\\"NOT_USAGE\\\",\\\"num\\\":3,\\\"order\\\":3,\\\"r\\\":false,\\\"stats\\\":\\\"\\\",\\\"hint\\\":\\\"\\\",\\\"cnt\\\":[{\\\"s\\\":\\\"\\\",\\\"i\\\":0}],\\\"depend\\\":\\\"\\\",\\\"disp_title\\\":true,\\\"entry_color\\\":false,\\\"show_in_table\\\":true,\\\"column_width\\\":100,\\\"week_event\\\":0,\\\"autofill\\\":\\\"\\\",\\\"card_align\\\":0,\\\"json_options\\\":\\\"\\\",\\\"unique\\\":false,\\\"readonly\\\":false}\"],\"maxObjects\":2147483647,\"colSpan\":1,\"colorizeRules\":\"{\\\"colorTarget\\\":0,\\\"rules\\\":[]}\",\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"BRqj%y]Of7RkJQna9aLe","tt":"Lines subtotal","type":"ft_script","usg":"USAGE_IN_STATUS","num":91,"order":29,"lib":"iVhvempUwn9-]+1Qif)j","r":false,"stats":"","hint":"","cnt":[{"s":"{\"expr\":\"function nWc(x) {\\n    return x.toString().replace(\\/\\\\B(?=(\\\\d{3})+(?!\\\\d))\\/g, \\\",\\\");\\n}\\n\\nm_amount = 0;\\nfor (var m_line = 0; m_line < field(\\\"Item or Service Link\\\").length; m_line++) {\\n  m_amountLine = field(\\\"Item or Service Link\\\")[m_line].attr(\\\"Price\\\") * field(\\\"Item or Service Link\\\")[m_line].attr(\\\"Quantity\\\");\\n   m_amount = m_amountLine.toFixed(2)*1 + m_amount;\\n}\\nr = \\\"$\\\" + nWc(m_amount.toFixed(2));\",\"res\":4,\"s\":5,\"real_time\":true,\"libs\":[]}","o":"BRqj%y]Of7RkJQna9aLe","t":"BRqj%y]Of7RkJQna9aLe"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":2,"json_options":"{\"html\":false,\"displayConvertUnitButton\":false,\"groupSeparator\":false,\"incDelta\":1.0,\"showCalc\":false,\"colSpan\":1,\"colorizeRules\":\"{\\\"colorTarget\\\":2,\\\"rules\\\":[{\\\"color\\\":-16738680,\\\"rule\\\":{\\\"t\\\":\\\"\\\",\\\"type\\\":5,\\\"filter_class\\\":\\\"LibraryFilterString\\\",\\\"text\\\":\\\"\\\",\\\"text2\\\":\\\"\\\",\\\"conditionType\\\":7}}]}\",\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"K*F*sM(2br7UexS8cGxt","tt":"Invoice total","type":"ft_money","usg":"NOT_USAGE","num":172,"order":30,"lib":"iVhvempUwn9-]+1Qif)j","r":false,"stats":"","hint":"","cnt":[{"s":"USD","o":"K*F*sM(2br7UexS8cGxt","t":"K*F*sM(2br7UexS8cGxt"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":1,"json_options":"{\"displayConvertUnitButton\":false,\"groupSeparator\":false,\"incDelta\":1.0,\"showCalc\":false,\"colSpan\":1,\"colorizeRules\":\"{\\\"colorTarget\\\":2,\\\"rules\\\":[{\\\"color\\\":-16738680,\\\"rule\\\":{\\\"t\\\":5,\\\"v\\\":0,\\\"v2\\\":0}}]}\",\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":true},{"u":"Ivvpqko7S;6@qg-xH@80","tt":"Date","type":"ft_date","usg":"USAGE_IN_STATUS","num":74,"order":31,"lib":"iVhvempUwn9-]+1Qif)j","r":true,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"Ivvpqko7S;6@qg-xH@80","t":"Ivvpqko7S;6@qg-xH@80"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":2,"json_options":"{\"dateTimeFormats\":{\"dateFormat\":\"MMM d, yyyy\",\"dateFormatLang\":\"en_US\"},\"endYear\":2100,\"startYear\":1900,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"F%mChjlR5-D021hT%4gQ","tt":"DueDate","type":"ft_date","usg":"NOT_USAGE","num":75,"order":32,"lib":"iVhvempUwn9-]+1Qif)j","r":true,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"F%mChjlR5-D021hT%4gQ","t":"F%mChjlR5-D021hT%4gQ"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":1,"json_options":"{\"dateTimeFormats\":{\"dateFormat\":\"MMM d, yyyy\",\"dateFormatLang\":\"en_US\"},\"endYear\":2100,\"startYear\":1900,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"KB2KjA%4gs#AJvBb0T]e","tt":"Payment Methods","type":"ft_multy_str_list","usg":"NOT_USAGE","num":102,"order":33,"lib":"iVhvempUwn9-]+1Qif)j","r":false,"stats":"","hint":"","cnt":[{"s":"{\"sl\":[{\"t\":\"Online ACH\",\"c\":1,\"i\":\"\",\"def\":true,\"c_text\":false,\"f\":false,\"children\":[]},{\"t\":\"Online Credit Card\",\"c\":2,\"i\":\"\",\"def\":true,\"c_text\":false,\"f\":false,\"children\":[]}],\"sort\":false}","i":0,"o":"KB2KjA%4gs#AJvBb0T]e","t":"KB2KjA%4gs#AJvBb0T]e"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"delimiter\":\", \",\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"uWH2X!jHgkQ9ffV#w4kf","tt":"invoicePDF","type":"ft_file","usg":"NOT_USAGE","num":92,"order":34,"lib":"iVhvempUwn9-]+1Qif)j","r":false,"stats":"","hint":"","cnt":[{"s":"","o":"uWH2X!jHgkQ9ffV#w4kf","t":"uWH2X!jHgkQ9ffV#w4kf"}],"depend":"[{\"template_index\":105,\"type_class\":\"com.luckydroid.droidbase7.depend.VisibleFieldDependType\",\"only_edit\":true,\"group_type\":0,\"depends\":[{\"key\":\"visible\",\"values\":[\"1\"]}]}]","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"ZR47Ogq*wEQuCMHWD<dK","tt":"Invoice number","type":"ft_string","usg":"USAGE_IN_STATUS","num":73,"order":35,"lib":"iVhvempUwn9-]+1Qif)j","r":false,"stats":"","hint":"","cnt":[{"s":"","i":0,"o":"ZR47Ogq*wEQuCMHWD<dK","t":"ZR47Ogq*wEQuCMHWD<dK"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":true},{"u":"Dfz3*ivhygh-aXVfis[g","tt":"QuickBooks","type":"ft_subheader","usg":"NOT_USAGE","num":104,"order":36,"lib":"iVhvempUwn9-]+1Qif)j","r":false,"stats":"","hint":"","cnt":[{"s":"","i":0,"o":"Dfz3*ivhygh-aXVfis[g","t":"Dfz3*ivhygh-aXVfis[g"}],"depend":"[{\"template_index\":105,\"type_class\":\"com.luckydroid.droidbase.depend.VisibleFieldDependType\",\"only_edit\":true,\"group_type\":0,\"depends\":[{\"key\":\"visible\",\"values\":[\"1\"]}]}]","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"font\":{\"color\":0,\"defaultColor\":true,\"family\":\"sans-serif\",\"size\":16,\"style\":1},\"textDrawable\":false}","unique":false,"readonly":false},{"u":"Ph)KN;ITdsuh[MO*jrP(","tt":"qb_act_sync","type":"ft_boolean","usg":"NOT_USAGE","num":117,"order":37,"lib":"iVhvempUwn9-]+1Qif)j","r":false,"stats":"","hint":"","cnt":[{"s":"Yes::No::0","i":0,"o":"Ph)KN;ITdsuh[MO*jrP(","t":"Ph)KN;ITdsuh[MO*jrP("}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"Z@>Ks5TU1Bk#9S6sFnFZ","tt":"qb_act_dont_send","type":"ft_boolean","usg":"NOT_USAGE","num":121,"order":38,"lib":"iVhvempUwn9-]+1Qif)j","r":false,"stats":"","hint":"","cnt":[{"s":"Yes::No::0","i":0,"o":"Z@>Ks5TU1Bk#9S6sFnFZ","t":"Z@>Ks5TU1Bk#9S6sFnFZ"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":":e>%t@4TF#p]Srae[I*:","tt":"qb_id","type":"ft_string","usg":"NOT_USAGE","num":88,"order":39,"lib":"iVhvempUwn9-]+1Qif)j","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":":e>%t@4TF#p]Srae[I*:","t":":e>%t@4TF#p]Srae[I*:"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"font\":{\"color\":0,\"defaultColor\":true,\"family\":\"sans-serif\",\"size\":16,\"style\":0},\"textDrawable\":false}","unique":false,"readonly":false},{"u":")PHZO8FSnbpURNWO3MUv","tt":"qb_state_error","type":"ft_boolean","usg":"NOT_USAGE","num":87,"order":40,"lib":"iVhvempUwn9-]+1Qif)j","r":false,"stats":"","hint":"","cnt":[{"s":"Yes::No::0","i":0,"o":")PHZO8FSnbpURNWO3MUv","t":")PHZO8FSnbpURNWO3MUv"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"C#rjCG6U%k]sc8V1Wd6P","tt":"qb_need_to_send","type":"ft_boolean","usg":"NOT_USAGE","num":115,"order":41,"lib":"iVhvempUwn9-]+1Qif)j","r":false,"stats":"","hint":"","cnt":[{"s":"Yes::No::0","i":0,"o":"C#rjCG6U%k]sc8V1Wd6P","t":"C#rjCG6U%k]sc8V1Wd6P"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"E3[gHO5!toklXU*OCVBo","tt":"qb_response","type":"ft_string","usg":"NOT_USAGE","num":94,"order":42,"lib":"iVhvempUwn9-]+1Qif)j","r":false,"stats":"","hint":"","cnt":[{"s":"","i":0,"o":"E3[gHO5!toklXU*OCVBo","t":"E3[gHO5!toklXU*OCVBo"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"font\":{\"color\":0,\"defaultColor\":true,\"family\":\"sans-serif\",\"size\":12,\"style\":0},\"textDrawable\":false}","unique":false,"readonly":true},{"u":"p0ho*nabtRIG[!y7L-eZ","tt":"hide_fields_when_editing","type":"ft_checkboxes","usg":"NOT_USAGE","num":105,"order":43,"lib":"iVhvempUwn9-]+1Qif)j","r":false,"stats":"","hint":"","cnt":[{"s":"{\"sl\":[{\"t\":\"Yes\",\"c\":1,\"def\":false,\"c_text\":false,\"f\":false,\"children\":[]}],\"sort\":false}","i":0,"o":"p0ho*nabtRIG[!y7L-eZ","t":"p0ho*nabtRIG[!y7L-eZ"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"delimiter\":\", \",\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"font\":{\"color\":0,\"defaultColor\":true,\"family\":\"sans-serif\",\"size\":16,\"style\":0},\"textDrawable\":false}","unique":false,"readonly":true},{"u":"6-LPX0y9sYl]J*3Im:q!","tt":"intuit_tid","type":"ft_string","usg":"NOT_USAGE","num":116,"order":44,"lib":"iVhvempUwn9-]+1Qif)j","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"6-LPX0y9sYl]J*3Im:q!","t":"6-LPX0y9sYl]J*3Im:q!"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"font\":{\"color\":0,\"defaultColor\":true,\"family\":\"sans-serif\",\"size\":12,\"style\":0},\"textDrawable\":false}","unique":false,"readonly":false},{"u":"w]bfo);Avz:b@#ef8;uw","tt":"qb_sent","type":"ft_boolean","usg":"NOT_USAGE","num":118,"order":45,"lib":"iVhvempUwn9-]+1Qif)j","r":false,"stats":"","hint":"","cnt":[{"s":"Yes::No::0","i":0,"o":"w]bfo);Avz:b@#ef8;uw","t":"w]bfo);Avz:b@#ef8;uw"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"I;h7JXJUaw-r<MM-l9fQ","tt":"Invoice create or update status","type":"ft_script","usg":"USAGE_IN_HINT","num":123,"order":46,"lib":"iVhvempUwn9-]+1Qif)j","r":false,"stats":"","hint":"","cnt":[{"s":"{\"expr\":\"let inv = field(\\\"qb_id\\\") != \\\"\\\";\\nlet est = field(\\\"qb_estimate_id\\\") != \\\"\\\";\\n\\nif (field(\\\"qb_act_sync\\\"))\\n    inv ? \\\"Invoice: update\\\" : \\\"Invoice: create\\\";\\nelse if (!inv && field(\\\"qb_estimate_act_sync\\\"))\\n    est ? \\\"Estimate: update\\\" : \\\"Estimate: create\\\";\\nelse\\n    \\\" \\\";\",\"res\":4,\"s\":5,\"real_time\":true,\"libs\":[]}","o":"I;h7JXJUaw-r<MM-l9fQ","t":"I;h7JXJUaw-r<MM-l9fQ"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"html\":false,\"displayConvertUnitButton\":false,\"groupSeparator\":false,\"incDelta\":1.0,\"showCalc\":false,\"colSpan\":1,\"colorizeRules\":\"{\\\"colorTarget\\\":0,\\\"rules\\\":[]}\",\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"fieldDelimiter\":\" \\n\",\"textDrawable\":false}","unique":false,"readonly":false},{"u":"VheC#%YqqjZW8>B4>!1U","tt":"Invoice sending status","type":"ft_script","usg":"USAGE_IN_HINT","num":122,"order":47,"lib":"iVhvempUwn9-]+1Qif)j","r":false,"stats":"","hint":"","cnt":[{"s":"{\"expr\":\"let inv = field(\\\"qb_id\\\") != \\\"\\\";\\nlet estCtx = !inv && !field(\\\"qb_act_sync\\\")\\n    && (field(\\\"qb_estimate_id\\\") != \\\"\\\" || field(\\\"qb_estimate_act_sync\\\"));\\n\\nif (estCtx) {\\n    let pending = field(\\\"qb_estimate_act_sync\\\") || field(\\\"qb_estimate_need_to_send\\\");\\n    if (field(\\\"qb_estimate_dont_send\\\") && (pending || !field(\\\"qb_estimate_sent\\\")))\\n        \\\"Email: paused\\\";\\n    else if (pending)\\n        \\\"Email: send\\\";\\n    else\\n        \\\" \\\";\\n}\\nelse if (field(\\\"qb_act_dont_send\\\"))\\n    \\\"Email: paused\\\";\\nelse if (field(\\\"qb_act_sync\\\") || field(\\\"qb_need_to_send\\\"))\\n    \\\"Email: send\\\";\\nelse\\n    \\\" \\\";\",\"res\":4,\"s\":5,\"real_time\":true,\"libs\":[]}","o":"VheC#%YqqjZW8>B4>!1U","t":"VheC#%YqqjZW8>B4>!1U"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"html\":false,\"displayConvertUnitButton\":false,\"groupSeparator\":false,\"incDelta\":1.0,\"showCalc\":false,\"colSpan\":1,\"colorizeRules\":\"{\\\"colorTarget\\\":0,\\\"rules\\\":[]}\",\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"fieldDelimiter\":\" \\n\",\"textDrawable\":false}","unique":false,"readonly":false},{"u":"BlAU3-o)Ebv;I1j>+zsJ","tt":"qb_estimate_id","type":"ft_string","usg":"NOT_USAGE","num":153,"order":48,"lib":"iVhvempUwn9-]+1Qif)j","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"BlAU3-o)Ebv;I1j>+zsJ","t":"BlAU3-o)Ebv;I1j>+zsJ"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"font\":{\"color\":0,\"defaultColor\":true,\"family\":\"sans-serif\",\"size\":16,\"style\":0},\"textDrawable\":false}","unique":false,"readonly":false},{"u":"SGNc8xtb*LIl@+a:G<Ar","tt":"qb_estimate_act_sync","type":"ft_boolean","usg":"NOT_USAGE","num":154,"order":49,"lib":"iVhvempUwn9-]+1Qif)j","r":false,"stats":"","hint":"","cnt":[{"s":"Yes::No::0","i":0,"o":"SGNc8xtb*LIl@+a:G<Ar","t":"SGNc8xtb*LIl@+a:G<Ar"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"vVM:+mbe25uHEE(IlgS+","tt":"qb_estimate_need_to_send","type":"ft_boolean","usg":"NOT_USAGE","num":155,"order":50,"lib":"iVhvempUwn9-]+1Qif)j","r":false,"stats":"","hint":"","cnt":[{"s":"Yes::No::0","i":0,"o":"vVM:+mbe25uHEE(IlgS+","t":"vVM:+mbe25uHEE(IlgS+"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"Kej3pevvi[pCp4y7P4Td","tt":"qb_estimate_dont_send","type":"ft_boolean","usg":"NOT_USAGE","num":158,"order":51,"lib":"iVhvempUwn9-]+1Qif)j","r":false,"stats":"","hint":"","cnt":[{"s":"Yes::No::0","i":0,"o":"Kej3pevvi[pCp4y7P4Td","t":"Kej3pevvi[pCp4y7P4Td"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"39-]R:+DiVMo*5dqtPlw","tt":"qb_estimate_sent","type":"ft_boolean","usg":"NOT_USAGE","num":159,"order":52,"lib":"iVhvempUwn9-]+1Qif)j","r":false,"stats":"","hint":"","cnt":[{"s":"Yes::No::0","i":0,"o":"39-]R:+DiVMo*5dqtPlw","t":"39-]R:+DiVMo*5dqtPlw"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false}],"version":26,"entry_pages":"{\"pages\":[{\"d\":true,\"f\":[1,14,95,103,124,125,126,127,128,129,130,131,132,133,168,160,163,157,161,165,162,166,167,164,169,170,171,173],\"hidden\":false,\"hide_aggr\":[\"+x#8Ifi*]snEJ>r@Dw>*\"],\"inv\":[\"+x#8Ifi*]snEJ>r@Dw>*\",\"M<BUHyF#:m]6W1Uemf)9\",\")IPLv!Xgw@aKPaIJ9Tx;\"],\"ml\":[],\"t\":\"Work Order\"},{\"d\":false,\"f\":[111,102,74,92,91,75,73,172],\"hidden\":false,\"hide_aggr\":[],\"inv\":[],\"ml\":[],\"t\":\"Invoice\"},{\"d\":false,\"f\":[87,88,94,104,105,115,116,117,118,121,122,123,153,154,155,158,159],\"hidden\":false,\"hide_aggr\":[],\"inv\":[],\"ml\":[],\"t\":\"Service info\"}],\"connectors\":{},\"desc_max_lines\":4,\"name_max_lines\":5,\"notes\":\"\",\"steps\":false}","title":"L Work Orders","color":-5329234,"icon":"inline:iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAMFSURBVHic7d2/ThRBAIDxWaOJBoszWpmYaCM5SqS1I4cv4Bv4AlQ2V1jQ2NH7BsYHcA2lnZGSy1mYmFhakHAmgn/WwhCMosze7t4w+32/6kiWYTi+ndsbjiMESZIk4RSpJ3DeldPZ+xDCneOPqxA+3ThYurm2VnxNOK3WGMApXk4PnhWheHTWcVUoXj9YXrq/iDl1xQD+UE5nVd3P2Vi+mu39mO3EuzDPD/9YrhFkOekuNPnhH8sxggupJ3AelNPZUUvjNI5o0Qzgl0upJ5AKPoByOnvT8ng/2hyva/gAQghrLY+X1XWAAcAZAFxWy1WsnK7GUz91dAWAMwA4A4AzALiLqScwHK5mc8HWhS6+/8lkN/rC0hUAzgDgDADOAOAMAM4A4AwAzgDgDADOAOCSbwXHGo3Ww/b206hjX7373PFs2rO39zbquLLcCZubj1v/+q4AcAYAZwBwBgCXzUVgHaO7S6mnkA1XADgDgDMAOAOAMwA4A4AzADgDgDMAOAOAi98K3tp/GEJ4HnXseJDN+w6srNxrfczY3/GfB64AcAYAZwBwBgBnAHAGAGcAcAYAZwBwvXxRaB2j0XrqKSSFDyD2z836yocAOAOAMwA4A4AzADgDgDMAOAOAMwC4Xu4EdvFCz66kfgGpKwCcAcAZAJwBwBkAnAHAGQCcAcAZAJwBwPVyKzj19mpOXAHgDADOAOAMAM4A4AwAzgDgDADOAOB6uRNYljuppxBtYyPt+xP0MoAu/sVqV1JvW/sQAGcAcAYAZwBwBgBnAHAGAGcAcAYA18udwNS7azlxBYAzADgDgDMAOAOAMwA4A4AzADgDgDMAuKLW0Vv7VdRx40H0uMPhatyYijaZ7Ebf/3VXgC9nHvHt+62aYyqhegGMB1fOPObJ9Y/zTkaLN881wL9XAc/+7NQP4H+rgGd/duZ9FvD3KuDZn6X5AjhtFfDsz1KTfYDDk5vV7aYTURrzBzAeXD65fe1DG5PR4jXdCTz07M9bsxeF/r4KzKmqihdNx5AkSZJUw0+Lb3UKoPFdzAAAAABJRU5ErkJggg==","unique_names":false,"triggers":"[{\"enabled\":true,\"event\":\"CREATE_ENTRY\",\"jsLibs\":[],\"modifiedTime\":0,\"moment\":\"BEFORE_SAVE\",\"name\":\"Fill Invoice Price and Amount in lines - EC\",\"restriction\":\"NONE\",\"script\":\"fill_price_and_amount_in_lines();\"},{\"enabled\":true,\"event\":\"MODIFY_ENTRY\",\"jsLibs\":[],\"modifiedTime\":0,\"moment\":\"BEFORE_SAVE\",\"name\":\"Fill Invoice Price and Amount in lines - EU\",\"restriction\":\"NONE\",\"script\":\"fill_price_and_amount_in_lines();\"},{\"enabled\":true,\"event\":\"CREATE_ENTRY\",\"jsLibs\":[],\"modifiedTime\":0,\"moment\":\"BEFORE_SAVE\",\"name\":\"Check fields values and length - EC\",\"restriction\":\"NONE\",\"script\":\"if (!check_no_bundle_lines())\\n\\tcancel();\\nelse if (!check_no_negative_prices())\\n\\tcancel();\\nelse if (!check_fields_length())\\n\\tcancel();\\nelse if (!check_estimate_fields())\\n\\tcancel();\"},{\"enabled\":true,\"event\":\"MODIFY_ENTRY\",\"jsLibs\":[],\"modifiedTime\":0,\"moment\":\"BEFORE_SAVE\",\"name\":\"Check fields values and length - EU\",\"restriction\":\"NONE\",\"script\":\"if (!check_no_bundle_lines())\\n\\tcancel();\\nelse if (!check_no_negative_prices())\\n\\tcancel();\\nelse if (!check_fields_length())\\n\\tcancel();\\nelse if (!check_estimate_fields())\\n\\tcancel();\"},{\"attrJson\":\"{\\\"arguementsTemplates\\\":[]}\",\"enabled\":true,\"event\":\"ACTION\",\"icon\":\"nova:cursor-touch-1.png\",\"jsLibs\":[],\"modifiedTime\":0,\"moment\":\"VIEW_ENTRY_CONTEXT\",\"name\":\"info message - entry\",\"restriction\":\"NONE\",\"script\":\"let _text \\u003d \\\"A work order can start as an estimate. The lines in Item or Service Link are shared: \\\" +\\n    \\\"they are the estimate before the job and the invoice after it.\\\\n\\\\n\\\" +\\n    \\\"1. Estimate: add the lines and tap Sync estimate in the Estimate block. MQSync creates the estimate in \\\" +\\n    \\\"QuickBooks and attaches its PDF here. QuickBooks emails it to the customer on the next run, \\\" +\\n    \\\"unless you tap Pause email. Estimate status shows where it is.\\\\n\\\\n\\\" +\\n    \\\"2. Acceptance: the customer signs in Customer signature, or tick Estimate accepted. Either way, \\\" +\\n    \\\"enter the name in Accepted by. QuickBooks marks the estimate Accepted.\\\\n\\\\n\\\" +\\n    \\\"3. Invoice: when the job is done, run Sync switch - create or update invoice. \\\" +\\n    \\\"The invoice is created from the same lines and linked to the estimate. After that the estimate \\\" +\\n    \\\"can no longer change.\\\\n\\\\n\\\" +\\n    \\\"Price: leave blank to use the product\\u0027s default UnitPrice from the Items library. Enter 0 for a \\\" +\\n    \\\"free line.\\\\n\\\\nLine amounts and the total are calculated automatically when you save.\\\";\\n\\ndialog_message(_text);\"},{\"attrJson\":\"{\\\"arguementsTemplates\\\":[]}\",\"enabled\":true,\"event\":\"ACTION\",\"icon\":\"nova:video-control-play.png\",\"jsLibs\":[],\"modifiedTime\":0,\"moment\":\"LIST_ITEM_ENTRY_CONTEXT\",\"name\":\"Sync switch - create or update invoice\",\"restriction\":\"NONE\",\"script\":\"let e \\u003d entry();\\nif (e.field(\\\"qb_act_sync\\\")\\u003d\\u003dfalse) {\\n    let customer \\u003d e.field(\\\"Customer\\\");\\n    let lines \\u003d e.field(\\\"Item or Service Link\\\");\\n    if (!customer || customer.length \\u003d\\u003d 0) {\\n        dialog_message(\\\"Pick a customer before sending the work order to QuickBooks.\\\");\\n        exit();\\n    }\\n    if (!lines || lines.length \\u003d\\u003d 0) {\\n        dialog_message(\\\"Add at least one line to Item or Service Link before sending the work order to QuickBooks.\\\");\\n        exit();\\n    }\\n    e.set(\\\"qb_act_sync\\\", true);\\n    if (e.field(\\\"qb_id\\\"))\\n\\tmessage(\\\"Invoice will be updated\\\");\\n    else\\n\\tmessage(\\\"Invoice will be created\\\");\\n}\"},{\"attrJson\":\"{\\\"arguementsTemplates\\\":[]}\",\"enabled\":true,\"event\":\"ACTION\",\"icon\":\"nova:cursor-touch-1.png\",\"jsLibs\":[],\"modifiedTime\":0,\"moment\":\"LIBRARY_CONTEXT\",\"name\":\"info message - lib\",\"restriction\":\"NONE\",\"script\":\"let _text \\u003d \\\"Fill in the work order and its lines on the Invoice tab. The entry can be edited and saved as many times as needed.\\\\n\\\\n\\\" +\\n    \\\"Estimate (optional): open the work order and tap Sync estimate in the Estimate block. The background turns gold \\\" +\\n    \\\"until the next MQSync run creates the estimate in QuickBooks and attaches its PDF. The estimate is emailed on the \\\" +\\n    \\\"next Estimate — Send run; tap Pause email to hold it. While the customer has not answered, the background \\\" +\\n    \\\"is light blue. The customer signs in Customer signature, or tick Estimate accepted; enter the name in Accepted by. \\\" +\\n    \\\"Once the estimate is accepted, the background turns lavender until the invoice is created.\\\\n\\\\n\\\" +\\n    \\\"Invoice: when ready, tap ▶ to flag the entry for QuickBooks. The background turns gold. Sync the library to \\\" +\\n    \\\"the cloud and the MQSync task run will create the invoice in QuickBooks, linked to the estimate if there is one, \\\" +\\n    \\\"and attach the generated PDF back to this entry. If the entry already has a QuickBooks invoice, MQSync updates \\\" +\\n    \\\"it in place instead, and the revised PDF is written back automatically. Lines subtotal is calculated from the \\\" +\\n    \\\"lines, before tax; Invoice total comes from QuickBooks and includes tax.\\\\n\\\\n\\\" +\\n    \\\"After a successful sync the background turns green and the left bar turns gold: the invoice is queued for email \\\" +\\n    \\\"sending and will be sent automatically by the next Invoice — Send task run.\\\\n\\\\n\\\" +\\n    \\\"To pause sending, tap 🔁. The bar turns blue and the invoice will be held. Tap 🔁 again to unpause: the bar \\\" +\\n    \\\"returns to gold and the invoice will be sent on the next task run. Once sent, the bar turns green.\\\";\\n\\ndialog_message(_text);\"},{\"attrJson\":\"{\\\"arguementsTemplates\\\":[]}\",\"enabled\":true,\"event\":\"ACTION\",\"icon\":\"nova:mail-refresh-1.png\",\"jsLibs\":[],\"modifiedTime\":0,\"moment\":\"LIST_ITEM_ENTRY_CONTEXT\",\"name\":\"Pause invoice sending\",\"restriction\":\"NONE\",\"script\":\"let e \\u003d entry();\\ne.set(\\\"qb_act_dont_send\\\", !e.field(\\\"qb_act_dont_send\\\"));\\nif (e.field(\\\"qb_act_dont_send\\\"))\\n    message(\\\"Invoice sending paused\\\");\\nelse\\n    message(\\\"Invoice will be sent\\\");\"},{\"enabled\":true,\"event\":\"COMMON\",\"jsLibs\":[],\"modifiedTime\":0,\"moment\":\"LIBRARY_CONTEXT\",\"name\":\"shared functions\",\"restriction\":\"NONE\",\"script\":\"function check_fields_length()\\n{\\n\\nlet C_MAX_LENGTHS\\t\\u003d {\\n\\t\\\"CustomerMemo\\\":\\t1000,\\n        \\\"PrivateNote\\\":      4000,\\n        \\\"ShipAddrLine1\\\": 500,\\n        \\\"ShipAddrLine2\\\": 500,\\n        \\\"ShipAddrCity\\\": 255,\\n        \\\"ShipAddrZipCode\\\": 30,\\n        \\\"ShipAddrState\\\": 255,\\n        \\\"ShipAddrCountry\\\": 255,\\n        \\\"Item or Service Link\\\": {\\n           \\\"Description\\\": {valueMaxLength: 4000, linkedEntryField: \\\"Name\\\"}\\n\\t    }\\n}\\n\\nlet C_MESS_LENGTH_EXCEEDS         \\u003d \\u0027Field \\\"$str1\\\" length should be $str2 symbols max, now it\\\\\\u0027s $str3\\u0027;\\nlet C_MESS_ATTR_LENGTH_EXCEEDS    \\u003d \\u0027Attribute \\\"$str1\\\" length for \\\"$str2\\\" entry in Invoice should be $str3 symbols max, now it\\\\\\u0027s $str4\\u0027;\\n\\nlet e \\u003d entry();\\nfor (let _key in C_MAX_LENGTHS) {\\n    // A nested object describes a link field: limits for its attributes \\n    if (typeof C_MAX_LENGTHS[_key] \\u003d\\u003d\\u003d \\\"object\\\")   {\\n    \\tfor (var _key_attr in C_MAX_LENGTHS[_key])\\t{\\n            // Check every linked entry:\\n            for (let _itemLinkNo \\u003d 0; _itemLinkNo \\u003c e.field(_key).length; _itemLinkNo++)\\t{\\n                let _attribute_value \\u003d e.field(_key)[_itemLinkNo].attr(_key_attr);\\n                if ((_attribute_value !\\u003d null) \\u0026\\u0026 (_attribute_value.length \\u003e C_MAX_LENGTHS[_key][_key_attr].valueMaxLength)) {\\n                    message(C_MESS_ATTR_LENGTH_EXCEEDS.replace(\\u0027$str1\\u0027, _key_attr)\\n\\t\\t\\t            .replace(\\u0027$str2\\u0027, e.field(_key)[_itemLinkNo].field(C_MAX_LENGTHS[_key][_key_attr].linkedEntryField))\\n\\t\\t\\t            .replace(\\u0027$str3\\u0027, C_MAX_LENGTHS[_key][_key_attr].valueMaxLength)\\n\\t\\t\\t            .replace(\\u0027$str4\\u0027, _attribute_value.length));\\n                    return false;\\n                }\\n\\t        }\\n\\t    }\\n    }\\n    else\\n    if (e.field(_key).length \\u003e C_MAX_LENGTHS[_key]) {\\n        message(C_MESS_LENGTH_EXCEEDS.replace(\\u0027$str1\\u0027, _key).replace(\\u0027$str2\\u0027, C_MAX_LENGTHS[_key]).replace(\\u0027$str3\\u0027, e.field(_key).length));\\n        return false;\\n    }\\n}\\nreturn true;\\n\\n}\\n\\n\\n\\nfunction fill_price_and_amount_in_lines()\\n{\\nlet lines \\u003d entry().field(\\\"Item or Service Link\\\");\\nfor (let i \\u003d 0; i \\u003c lines.length; i++) {\\n\\tlet p \\u003d lines[i].attr(\\\"Price\\\");\\n\\tif (p \\u003d\\u003d\\u003d null || p \\u003d\\u003d\\u003d undefined || p \\u003d\\u003d\\u003d \\\"\\\")\\n\\t\\tlines[i].setAttr(\\\"Price\\\", lines[i].field(\\u0027UnitPrice\\u0027));\\n\\tlines[i].setAttr(\\\"Amount\\\", lines[i].attr(\\\"Quantity\\\") * lines[i].attr(\\\"Price\\\"));\\n\\t}\\nreturn;\\n}\\n\\nfunction check_no_negative_prices()\\n{\\nlet lines \\u003d entry().field(\\\"Item or Service Link\\\");\\nlet bad \\u003d [];\\nfor (let i \\u003d 0; i \\u003c lines.length; i++) {\\n\\tlet p \\u003d lines[i].attr(\\\"Price\\\");\\n\\tif (p !\\u003d\\u003d null \\u0026\\u0026 p !\\u003d\\u003d undefined \\u0026\\u0026 p !\\u003d\\u003d \\\"\\\" \\u0026\\u0026 p \\u003c 0)\\n\\t\\tbad.push(lines[i].field(\\\"Name\\\"));\\n\\t}\\nif (bad.length \\u003d\\u003d\\u003d 0)\\n\\treturn true;\\ndialog_message(\\u0027Can not save: the price of \\\"\\u0027 + bad.join(\\u0027\\\", \\\"\\u0027) + \\u0027\\\" is negative.\\\\n\\\\n\\u0027 +\\n\\t\\u0027Enter 0 for a free line, or leave the price blank to use the product\\\\\\u0027s UnitPrice.\\u0027);\\nreturn false;\\n}\\n\\n// Button \\\"Sync estimate\\\": turn the estimate switch on. Only MQSync turns it\\n// off, after the run, so the field never has two writers.\\nfunction est_sync_switch() {\\n    let e \\u003d entry();\\n\\n    if (e.field(\\\"qb_id\\\")) {\\n        dialog_message(\\\"This work order already has an invoice in QuickBooks, so its estimate \\\" +\\n            \\\"can no longer change.\\\\n\\\\nChange the lines and update the invoice instead.\\\");\\n        return;\\n    }\\n\\n    if (e.field(\\\"qb_estimate_act_sync\\\")) {\\n        message(\\\"Estimate is waiting for the next MQSync run\\\");\\n        return;\\n    }\\n\\n    let customer \\u003d e.field(\\\"Customer\\\");\\n    let lines \\u003d e.field(\\\"Item or Service Link\\\");\\n    if (!customer || customer.length \\u003d\\u003d 0) {\\n        dialog_message(\\\"Pick a customer before sending the estimate to QuickBooks.\\\");\\n        return;\\n    }\\n    if (!lines || lines.length \\u003d\\u003d 0) {\\n        dialog_message(\\\"Add at least one line to Item or Service Link before sending the estimate to QuickBooks.\\\");\\n        return;\\n    }\\n    if (e.field(\\\"qb_act_sync\\\")) {\\n        dialog_message(\\\"The invoice switch is on: MQSync creates the invoice on the next run, \\\" +\\n            \\\"so this work order goes to QuickBooks as an invoice, not an estimate.\\\");\\n        return;\\n    }\\n\\n    e.set(\\\"qb_estimate_act_sync\\\", true);\\n    // Signed before the estimate was started (\\\"agreed on the spot\\\"): the\\n    // signature accepts it, provided the signer\\u0027s name is there. Done here\\n    // because a change made by a button may not run the Before saving trigger.\\n    if (!e.field(\\\"Estimate accepted\\\") \\u0026\\u0026 has_value(e.field(\\\"Customer signature\\\"))) {\\n        if (String(e.field(\\\"Accepted by\\\") || \\\"\\\").trim()) {\\n            e.set(\\\"Estimate accepted\\\", true);\\n            if (!e.field(\\\"Accepted date\\\"))\\n                e.set(\\\"Accepted date\\\", new Date());\\n        } else {\\n            dialog_message(\\\"The estimate will be sent to QuickBooks. It is signed, but Accepted by is empty.\\\\n\\\\n\\\" +\\n                \\\"Open the work order, enter the name of the person who signed in Accepted by and save: \\\" +\\n                \\\"the estimate is then marked accepted.\\\");\\n            return;\\n        }\\n    }\\n    if (e.field(\\\"qb_estimate_id\\\"))\\n        message(\\\"Estimate will be updated\\\");\\n    else\\n        message(\\\"Estimate will be created\\\");\\n}\\n\\n// Button \\\"Pause email\\\": hold the estimate email, or release it. Visible at all\\n// times: an edited estimate is emailed again in the same run that updates it,\\n// so the pause has to be reachable after the first send too.\\nfunction est_pause_email() {\\n    let e \\u003d entry();\\n    if (e.field(\\\"qb_id\\\")) {\\n        dialog_message(\\\"This work order already has an invoice, so its estimate is no longer emailed.\\\");\\n        return;\\n    }\\n    e.set(\\\"qb_estimate_dont_send\\\", !e.field(\\\"qb_estimate_dont_send\\\"));\\n    if (e.field(\\\"qb_estimate_dont_send\\\"))\\n        message(e.field(\\\"qb_estimate_sent\\\") ? \\\"The next estimate email will be held\\\" : \\\"Estimate email paused\\\");\\n    else\\n        message(\\\"Estimate will be emailed\\\");\\n}\\n\\n// Estimate rules checked on every save. Returns false to refuse the save.\\n// Also accepts the estimate automatically when the customer has signed.\\nfunction check_estimate_fields() {\\n    let e \\u003d entry();\\n    let hasInvoice  \\u003d !!e.field(\\\"qb_id\\\");\\n    let hasEstimate \\u003d !!e.field(\\\"qb_estimate_id\\\");\\n    let estSwitch   \\u003d !!e.field(\\\"qb_estimate_act_sync\\\");\\n\\n    // An invoiced work order may still carry the estimate switch for a moment:\\n    // MQSync turns it off in the same run that writes the invoice back.\\n\\n    // Acceptance from the signature. Only while there is (or is about to be) an\\n    // estimate and no invoice yet: a signature on an invoice-only work order, or\\n    // one given after the invoice (a sign-off of the finished job), changes\\n    // nothing. The signer\\u0027s name is required: without it the save is refused,\\n    // so the technician fills Accepted by while the customer is still there.\\n    if (!e.field(\\\"Estimate accepted\\\") \\u0026\\u0026 !hasInvoice \\u0026\\u0026 (hasEstimate || estSwitch)\\n            \\u0026\\u0026 has_value(e.field(\\\"Customer signature\\\"))) {\\n        if (!String(e.field(\\\"Accepted by\\\") || \\\"\\\").trim()) {\\n            dialog_message(\\\"Can not save: the estimate is signed, but Accepted by is empty.\\\\n\\\\n\\\" +\\n                \\\"Enter the name of the person who signed, then save again.\\\");\\n            return false;\\n        }\\n        e.set(\\\"Estimate accepted\\\", true);\\n        if (!e.field(\\\"Accepted date\\\"))\\n            e.set(\\\"Accepted date\\\", new Date());\\n    }\\n\\n    // Accepted without any estimate: a real mistake, refuse.\\n    if (e.field(\\\"Estimate accepted\\\") \\u0026\\u0026 !hasEstimate \\u0026\\u0026 !estSwitch) {\\n        dialog_message(\\\"Can not save: Estimate accepted is on, but this work order has no estimate.\\\\n\\\\n\\\" +\\n            \\\"Tap Sync estimate first, or turn Estimate accepted off.\\\");\\n        return false;\\n    }\\n\\n    // Estimate accepted ticked by hand in the edit card (a Boolean field can not\\n    // be made read-only there): the same rules as the signature.\\n    // A name is required; the date is filled when empty. Not checked once the\\n    // work order has an invoice, so an invoiced entry is never locked.\\n    if (e.field(\\\"Estimate accepted\\\") \\u0026\\u0026 !hasInvoice) {\\n        if (!String(e.field(\\\"Accepted by\\\") || \\\"\\\").trim()) {\\n            dialog_message(\\\"Can not save: Estimate accepted is on, but Accepted by is empty.\\\\n\\\\n\\\" +\\n                \\\"Enter the name of the person who accepted the estimate, or turn Estimate accepted off.\\\");\\n            return false;\\n        }\\n        if (!e.field(\\\"Accepted date\\\"))\\n            e.set(\\\"Accepted date\\\", new Date());\\n    }\\n\\n    // Estimate accepted turned off after an acceptance: Accepted date is filled\\n    // only when the estimate is accepted. MQSync sends the acceptance to\\n    // QuickBooks once and never takes it back, so say so, once.\\n    if (!e.field(\\\"Estimate accepted\\\") \\u0026\\u0026 !hasInvoice \\u0026\\u0026 hasEstimate \\u0026\\u0026 e.field(\\\"Accepted date\\\")) {\\n        e.set(\\\"Accepted date\\\", null);\\n        dialog_message(\\\"Estimate accepted is off. If MQSync has already sent the acceptance, \\\" +\\n            \\\"QuickBooks still shows the estimate as accepted: MQSync does not undo it.\\\\n\\\\n\\\" +\\n            \\\"To change it, open the estimate in QuickBooks.\\\");\\n    }\\n    return true;\\n}\\n\\n// True when a field has a value. An empty Signature field returns the\\n// string \\\"[]\\\", so JSON-like text is checked by its content.\\nfunction has_value(v) {\\n    if (v \\u003d\\u003d\\u003d null || v \\u003d\\u003d\\u003d undefined) return false;\\n    if (Object.prototype.toString.call(v) \\u003d\\u003d\\u003d \\\"[object Array]\\\") return v.length \\u003e 0;\\n    let s \\u003d String(v).trim();\\n    if (s \\u003d\\u003d\\u003d \\\"\\\" || s \\u003d\\u003d\\u003d \\\"[]\\\" || s \\u003d\\u003d\\u003d \\\"{}\\\" || s \\u003d\\u003d\\u003d \\\"null\\\" || s \\u003d\\u003d\\u003d \\\"undefined\\\") return false;\\n    if (s.charAt(0) \\u003d\\u003d\\u003d \\\"[\\\" || s.charAt(0) \\u003d\\u003d\\u003d \\\"{\\\") {\\n        try {\\n            let parsed \\u003d JSON.parse(s);\\n            if (Object.prototype.toString.call(parsed) \\u003d\\u003d\\u003d \\\"[object Array]\\\") return parsed.length \\u003e 0;\\n            if (parsed \\u0026\\u0026 typeof parsed \\u003d\\u003d\\u003d \\\"object\\\") return Object.keys(parsed).length \\u003e 0;\\n        } catch (err) {\\n            // Not JSON after all: treat the text itself as the value.\\n        }\\n    }\\n    return true;\\n}\"},{\"enabled\":true,\"event\":\"COMMON\",\"jsLibs\":[],\"modifiedTime\":0,\"moment\":\"LIBRARY_CONTEXT\",\"name\":\"dialog_message\",\"restriction\":\"NONE\",\"script\":\"function dialog_message(_text) {\\n    var _dialog \\u003d dialog();\\n    _dialog.text(_text)\\n        .positiveButton(\\\"OK\\\", () \\u003d\\u003e {return true})\\n        .show();\\n}\"},{\"enabled\":true,\"event\":\"COMMON\",\"jsLibs\":[],\"modifiedTime\":0,\"moment\":\"LIBRARY_CONTEXT\",\"name\":\"check_no_bundle_lines\",\"restriction\":\"NONE\",\"script\":\"// Blocks saving a work order that links a QuickBooks bundle (ItemType \\u003d \\\"Group\\\").\\n// Bundles can\\u0027t be sent as invoice lines — QuickBooks rejects the whole invoice.\\n\\nlet BUNDLE_GUARD_LINK_FIELD \\u003d \\\"Item or Service Link\\\";\\n\\nfunction check_no_bundle_lines() {\\n    let links \\u003d entry().field(BUNDLE_GUARD_LINK_FIELD);\\n    if (!links || links.length \\u003d\\u003d\\u003d 0) {\\n        return true;\\n    }\\n\\n    let bundles \\u003d [];\\n    for (let i \\u003d 0; i \\u003c links.length; i++) {\\n        let item \\u003d links[i];\\n        if (!item) {\\n            continue;\\n        }\\n\\n        let type \\u003d item.field(\\\"ItemType\\\");\\n        if (Object.prototype.toString.call(type) \\u003d\\u003d\\u003d \\\"[object Array]\\\") {\\n            type \\u003d type.length ? type[0] : \\\"\\\";\\n        }\\n        if (String(type) \\u003d\\u003d\\u003d \\\"Group\\\") {\\n            bundles.push(item.field(\\\"Name\\\"));\\n        }\\n    }\\n\\n    if (bundles.length \\u003d\\u003d\\u003d 0) {\\n        return true;\\n    }\\n\\n    dialog_message(\\n        \\u0027Can not save: \\\"\\u0027 + bundles.join(\\u0027\\\", \\\"\\u0027) +\\n        (bundles.length \\u003d\\u003d\\u003d 1 ? \\u0027\\\" is a bundle.\\u0027 : \\u0027\\\" are bundles.\\u0027) +\\n        \\u0027\\\\n\\\\nBundles can not be added to a work order — add the individual \\u0027 +\\n        \\u0027products or services from the bundle instead.\\u0027\\n\\t);\\n    return false;\\n}\"}]","related_libraries":[{"title":"L Customers","id":"u%YLj>r)u3T+N<LGq%*b","color":-3158065,"icon":"inline:iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAlwSURBVHic7Z1/cFTVFce/bzcUIrFJlFg0I6NtJckW2pHQOnYG6YAmhUJLaWX4zQydyThWLT9SYyjWKJl0tOggOHRIbTsdxdIwCrb82CXgiKWjRaJOGHazEUimGkCRsJLNDwib1z9CaBL2x3v33XPfW975/JW8nHvOyd7vu/fdt++eBzAMwzAMwzAMwzAMwzAMwziGXY2RXLtzMETVqRvwuzTJFYBmdwLD2dfU8Qdd0x4yaq8Bu0sKsmZR5pSQ6kgUwGjD9rr2IzyZvYcuIfM4QgD7T0a/FuvFGat+NA13l4zP+khGTglZF/k7NMyz7GdtjiM+e1uTqNJ1z73NnTHZfmOei9kz77r5glSn1V8+D+irpPoEbBeCbcED4eglACMoY5QWZMn5/6ojuhQ/idDxLJ7MeYI0RgJsEUAgHKX9QAdhSQTPtE+Ex9MoMZ3k2DAaeFQHVNn5A/F0XTf/wVaff1Fp5wP0I00clApAdecPsK+5s89Ug3XnqwDtMZpsUqBYBMqGHLs6fzCGpoOajjz0xT5XkE5yFE0HSkYAJ3Q+YDAPJ3Q+AKyLbFURhlwA/nB0CXUMMwTC0cQ3YmyYgxOiYaGaMMQ45ewHgNbwMbz+x4345Hgo7t8vjJuK0/c+jr6MTMWZJYF4KiB1Hgh3nAC0r1PGSEbow8PY8nS5JR9NC+uha15JGQkwPjsD8zTpN8sGIBaAPWf/ijn3Sfd56cZ8nPjxK9L9GoJwFCBzvLe5Y65H116n8h8Pio4fTmxkNpp/voM8zhDSUQAqz/4Xysvw3+NNqsIBAFpnbEb3TYWqwu3A2py5FI7TXgAqzvpkhBa9pSYQ0Sig/FawLLo7o7Z3PgAUbZ1mdwqWIBHAvnB0PYXfAYIN76Fy0UzKEKZIZxGQCEAHVlP4BfqXdrXrHqdyLwy5CKo6bqFwm1ZTQE9Xl+V1PSWkIsiILaVwm1YCeGLhD+1OISV0ItAmUHjNoHBKgYwLvsrKcixZsiCpTVnZIzh06F1LcQq2zUB4/l5LPq5F/6pkhwDSRADPrVgu3FbTNBw7dsSwfW3tS1d/9vmKhWJ6Yheh6THJt5D1r0h0dpW0mAJOtR4XahcMNpjq/Hjt/f6dQm0LX3tAOG58NHcKQGTo93o9CAYbpMQfN+52YV9jjkn8Sl+HOwVglvz823D06PvS/YqIIO+jP8lMwX0CMHv2e70e1Nf/kygbMRFknT4sJ7iGkXIcDcXRAjALxZk/HLMiuP0taY/73yDL0WAcK4DQh+bOHFlzvhGWLye5J5MK43sQTeBYAZi546dpavdTlJf/ypT9mMa/ygjrrhHADFaWeqJs2vS8Ydu8o1IE4K4RwOlMn/4D1SFJbto5UgAtTUcN265Z82vCTBxFL4VTRwpgx8ubDNsuXjyfMJPkVFTI3y2eBPcIQPXzfaIsW7bIsG3mF0Gr4dwjgOuRrE+tfcMI4JyMPIbDAlDEiO6zVl2clJHHcFgAishq+49FD5rlISQeLABFeC9+adXFPhl5DIdKAOruy7qFtdnvUbglEYDm0cmeCmbkQiKAkrtuPEjhl5EPXwO4HBZAOqBpVVSu6QSge4ULQ3gzSOtH2kLkGxa2sv0m+2l5mQyFTAClhZktom3vmT5DZipkvPnmLsO2Z+5ZSZiJOKRTgAbtpdRW1zJ7qeFi4di7l2R5bIjKyqcM2wrvESCuEUQqgJKC0Y+KtMscnWXYdvXqSpEQzBXILwJLxo++Li80T55spQ+ioFgkaecEwtEjpsu0CjB58hTqENcwa9bPDNu2zKwVC1Id0VEd2SLW2BhSHzMKhKMtAO6Q4WvBoxX426ZnDdl2dXXJCGmY3bv9pux7cr9pJVwZqiNlg37fjrU51l9YcQVLQ4w/HF2qAVKeeIyH2Y0hqh4NN7tplLSO0GXtZlRlt4s2F5oCAuFofSAc1Sk7X4SpU0vJYziq8wEgQz+H6oiOmgtCJctMC+BK9a/7RYKZZcPOd0zZnz37BVatonvxhuh2cSX09YVEah0bFkAgdOH7Tqr7mwi/vx7TpskvICXS+aEF+6XnkRKTIjAkAH9T50/g8fxbLCNrmB0FAODMmc+kna2xWEzcl8emFbAJEaTMsE7XvZqmi1VJkETh3d8VaufzFWPKFPFCDT5fMSZO/J5QW2UFJBNhUAQpBZDd3HnZejbWeOgp49uwhnPuXDt8vmL4fMU4fTr1qwnr6t64ai/K+YKfCreVigERJF0Gqni1mxmcUBnUCLaf/YPp6/s2fntTwq1WqUYAx3Q+IHY9oBpHdT6AVG8+SzgCBMJRc+/FJeSNl1/EO7uUVp63THvBXHw2+RG70+jnciwbVfHfpJpMALYs+YJH3kVtdYUdoclpmu+H7iUp9ZOaBF8sOaZOYLrM71Yo3NZf6VT3jEDTgoDN2fQTVwCBpuhzqhJwQ8cPR+vr7S8pq2kILTxgby7xDqoY/mt+uQift31CHSYtaH1gI7pvISkF/H+8+p2ozG0dftiWW1Ur5tzHnT+IO+ofuzo9kNHnWRbvsHIBuHHIN4IWu0Rbbl7XvxXvsFIBcOenRvXbR5QJgDvfOEWvTVcWS8kykLrzKypWpSzXEgjsx8qVxu4vpHqyqLx8DfbsIVzG6Tpym3fi/Pg5dDGuQC6AtpaPpfpbvHi+7ZXB1q+vwfr1NUOOPfzwCrz99r+kxRj7/sbrQwC/X/kL4baTJn0Hr776Z4nZ0LF584Yhv/f09GD27AfR1nZK2GfR1mnk3y2QCmDLM2Jv9zpwYDduvXWs5GzUMmrUqCGVy536OBnpRWDoA/NFLYLBhrTv/HgEgw1CpeypVwVkAhCp9aey4rcd5Off5rj/kUwAL5SXpTYahNM+GEoaGg6Zsh97eENqI0EcsW/PTZ0PAJmZmcjIMH75lfvxP8hycYQA3Ehjo9W6gXIgEYB/218M2x486Izvxd0KyTLQjADy8sZQpHANpaX3O26qqat7BfPmLTFk6+ntRt+ITOk58BRgIxMm+Azb5rTIfhVtPyyANGFk+wkSvyyANMHTS1MDgQXgclgALocF4HJYAC6HBeByWAAuhwXgclgALocF4HJYAC6HBeByWAAuJ/7zAJq23aLfB40aBgI2FFNMQ7w9kU8BWHh7qB73EW2SevRFRZMcX1E0DdkeCn0grUr4ADwFuBwWgMthAbgcFoDLYQG4HBaAy2EBuBwWgMthATAMwzAMwzAMwzAMwzAMwzDM9c3/AGrUrZG52OEaAAAAAElFTkSuQmCC","unique_names":false,"triggers":"[{\"enabled\":true,\"event\":\"CREATE_ENTRY\",\"jsLibs\":[],\"modifiedTime\":0,\"moment\":\"BEFORE_SAVE\",\"name\":\"Check fields length - EC\",\"restriction\":\"NONE\",\"script\":\"if(!check_fields_length())\\n   cancel();\"},{\"enabled\":true,\"event\":\"MODIFY_ENTRY\",\"jsLibs\":[],\"modifiedTime\":0,\"moment\":\"BEFORE_SAVE\",\"name\":\"Check fields length - EU\",\"restriction\":\"NONE\",\"script\":\"if(!check_fields_length())\\n   cancel();\"},{\"enabled\":true,\"event\":\"CREATE_ENTRY\",\"jsLibs\":[],\"modifiedTime\":0,\"moment\":\"BEFORE_SAVE\",\"name\":\"Check fields values - EC-BSE\",\"restriction\":\"NONE\",\"script\":\"let e \\u003d entry();\\nlet parent \\u003d e.field(\\\"Parent\\\");          // linked entries; empty if none\\nlet job    \\u003d e.field(\\\"Job\\\");\\n\\nfunction check_customer_name_chars() {\\n    let NAME_FIELDS \\u003d [\\n        \\\"DisplayName\\\",\\n        \\\"Title\\\",\\n        \\\"FirstName\\\",\\n        \\\"MiddleName\\\",\\n        \\\"LastName\\\",\\n        \\\"PrintOnCheckName\\\"\\n    ];\\n\\n    let offenders \\u003d [];\\n    for (let i \\u003d 0; i \\u003c NAME_FIELDS.length; i++) {\\n        let fname \\u003d NAME_FIELDS[i];\\n        let val \\u003d e.field(fname);\\n        if (val \\u003d\\u003d\\u003d null || val \\u003d\\u003d\\u003d undefined) {\\n            continue;                       // field absent from this library\\n        }\\n        val \\u003d String(val);\\n        if (val.indexOf(\\\":\\\") !\\u003d\\u003d -1 ||\\n            val.indexOf(\\\"\\\\t\\\") !\\u003d\\u003d -1 ||\\n            val.indexOf(\\\"\\\\n\\\") !\\u003d\\u003d -1) {\\n            offenders.push(fname);\\n        }\\n    }\\n\\n    if (offenders.length \\u003d\\u003d\\u003d 0) {\\n        return true;\\n    }\\n\\n    dialog_message(\\n        \\\"Can\\u0027t save: \\\" + offenders.join(\\\", \\\") +\\n        (offenders.length \\u003d\\u003d\\u003d 1 ? \\\" contains\\\" : \\\" contain\\\") +\\n        \\\" a colon (:), tab, or line break.\\\\n\\\\n\\\" +\\n        \\\"QuickBooks doesn\\u0027t allow those characters in a customer\\u0027s name \\\" +\\n        \\\"(a colon is reserved for the parent:child hierarchy). \\\" +\\n        \\\"Remove them and save again.\\\"\\n    );\\n    return false;\\n}\\n\\n// Rejects saving a customer whose name fields contain a colon, tab, or newline.\\n// QuickBooks forbids these in all name attributes (\\\":\\\" is its parent:child\\n// hierarchy separator, so it corrupts sub-customer resolution outright).\\nif (!check_customer_name_chars()) {\\n    cancel();\\n}\\nelse {\\n    // If Parent set - this is a sub-customer/job, check if Job \\u003d\\u003d true.\\n    let hasParent \\u003d parent \\u0026\\u0026 parent.length \\u003e 0;\\n    if (hasParent \\u0026\\u0026 !job) {\\n        message(\\\"A sub-customer/job must have the Job field set to Yes.\\\");\\n        cancel();\\n    }\\n    // Job \\u003d true but no Parent: invalid.\\n    else if (job \\u0026\\u0026 !hasParent) {\\n        message(\\\"A sub-customer/job must have a Parent customer set.\\\");\\n        cancel();\\n    }\\n    // BillWithParent attribute is valid only if this entity is a sub-customer/job\\n    else if (!hasParent \\u0026\\u0026 e.field(\\\"BillWithParent\\\")) {\\n        message(\\\"BillWithParent is valid only if this entity is a sub-customer/job.\\\");\\n        cancel();\\n        }\\n}\\n\"},{\"enabled\":true,\"event\":\"MODIFY_ENTRY\",\"jsLibs\":[],\"modifiedTime\":0,\"moment\":\"BEFORE_SAVE\",\"name\":\"Check fields values - EU-BSE\",\"restriction\":\"NONE\",\"script\":\"let e \\u003d entry();\\nlet parent \\u003d e.field(\\\"Parent\\\");          // linked entries; empty if none\\nlet job    \\u003d e.field(\\\"Job\\\");\\n\\nfunction check_customer_name_chars() {\\n    let NAME_FIELDS \\u003d [\\n        \\\"DisplayName\\\",\\n        \\\"Title\\\",\\n        \\\"FirstName\\\",\\n        \\\"MiddleName\\\",\\n        \\\"LastName\\\",\\n        \\\"PrintOnCheckName\\\"\\n    ];\\n\\n    let offenders \\u003d [];\\n    for (let i \\u003d 0; i \\u003c NAME_FIELDS.length; i++) {\\n        let fname \\u003d NAME_FIELDS[i];\\n        let val \\u003d e.field(fname);\\n        if (val \\u003d\\u003d\\u003d null || val \\u003d\\u003d\\u003d undefined) {\\n            continue;                       // field absent from this library\\n        }\\n        val \\u003d String(val);\\n        if (val.indexOf(\\\":\\\") !\\u003d\\u003d -1 ||\\n            val.indexOf(\\\"\\\\t\\\") !\\u003d\\u003d -1 ||\\n            val.indexOf(\\\"\\\\n\\\") !\\u003d\\u003d -1) {\\n            offenders.push(fname);\\n        }\\n    }\\n\\n    if (offenders.length \\u003d\\u003d\\u003d 0) {\\n        return true;\\n    }\\n\\n    dialog_message(\\n        \\\"Can\\u0027t save: \\\" + offenders.join(\\\", \\\") +\\n        (offenders.length \\u003d\\u003d\\u003d 1 ? \\\" contains\\\" : \\\" contain\\\") +\\n        \\\" a colon (:), tab, or line break.\\\\n\\\\n\\\" +\\n        \\\"QuickBooks doesn\\u0027t allow those characters in a customer\\u0027s name \\\" +\\n        \\\"(a colon is reserved for the parent:child hierarchy). \\\" +\\n        \\\"Remove them and save again.\\\"\\n    );\\n    return false;\\n}\\n\\n// Rejects saving a customer whose name fields contain a colon, tab, or newline.\\n// QuickBooks forbids these in all name attributes (\\\":\\\" is its parent:child\\n// hierarchy separator, so it corrupts sub-customer resolution outright).\\nif (!check_customer_name_chars()) {\\n    cancel();\\n}\\nelse {\\n    // If Parent set - this is a sub-customer/job, check if Job \\u003d\\u003d true.\\n    let hasParent \\u003d parent \\u0026\\u0026 parent.length \\u003e 0;\\n    if (hasParent \\u0026\\u0026 !job) {\\n        message(\\\"A sub-customer/job must have the Job field set to Yes.\\\");\\n        cancel();\\n    }\\n    // Job \\u003d true but no Parent: invalid.\\n    else if (job \\u0026\\u0026 !hasParent) {\\n        message(\\\"A sub-customer/job must have a Parent customer set.\\\");\\n        cancel();\\n    }\\n    // BillWithParent attribute is valid only if this entity is a sub-customer/job\\n    else if (!hasParent \\u0026\\u0026 e.field(\\\"BillWithParent\\\")) {\\n        message(\\\"BillWithParent is valid only if this entity is a sub-customer/job.\\\");\\n        cancel();\\n        }\\n}\\n\"},{\"enabled\":true,\"event\":\"COMMON\",\"jsLibs\":[],\"modifiedTime\":0,\"moment\":\"LIBRARY_CONTEXT\",\"name\":\"shared functions\",\"restriction\":\"NONE\",\"script\":\"// \\\"Customers\\\"\\nfunction check_fields_length()\\n{\\n\\nlet C_MAX_LENGTHS    \\u003d {\\n        \\\"DisplayName\\\": 100,\\n        \\\"Title\\\": 16,\\n        \\\"FirstName\\\": 100,\\n        \\\"MiddleName\\\": 100,\\n        \\\"LastName\\\": 100,\\n        \\\"Notes\\\": 2000,\\n        \\\"CompanyName\\\": 100,\\n        \\\"ShipAddrLine1\\\": 500,\\n        \\\"ShipAddrLine2\\\": 500,\\n        \\\"ShipAddrCity\\\": 255,\\n        \\\"ShipAddrZipCode\\\": 30,\\n        \\\"ShipAddrState\\\": 255,\\n        \\\"ShipAddrCountry\\\": 255,\\n        \\\"BillAddrLine1\\\": 500,\\n        \\\"BillAddrLine2\\\": 500,\\n        \\\"BillAddrCity\\\": 255,\\n        \\\"BillAddrZipCode\\\": 30,\\n        \\\"BillAddrState\\\": 255,\\n        \\\"BillAddrCountry\\\": 255,\\n}\\n\\nlet C_MESS_LENGTH_EXCEEDS         \\u003d \\u0027Field \\\"$str1\\\" length should be $str2 symbols max, now it\\\\\\u0027s $str3\\u0027;\\nlet C_MESS_ATTR_LENGTH_EXCEEDS    \\u003d \\u0027Attribute \\\"$str1\\\" length for \\\"$str2\\\" entry in Invoice should be $str3 symbols max, now it\\\\\\u0027s $str4\\u0027;\\n\\nlet e \\u003d entry();\\nfor (let _key in C_MAX_LENGTHS) {\\n\\t// A nested object describes a link field: limits for its attributes \\n    if (typeof C_MAX_LENGTHS[_key] \\u003d\\u003d\\u003d \\\"object\\\")   {\\n    \\tfor (var _key_attr in C_MAX_LENGTHS[_key])\\t{\\n            // Check every linked entry:\\n            for (let _itemLinkNo \\u003d 0; _itemLinkNo \\u003c e.field(_key).length; _itemLinkNo++)\\t{\\n                let _attribute_value \\u003d e.field(_key)[_itemLinkNo].attr(_key_attr);\\n                if ((_attribute_value !\\u003d null) \\u0026\\u0026 (_attribute_value.length \\u003e C_MAX_LENGTHS[_key][_key_attr].valueMaxLength)) {\\n                    message(C_MESS_ATTR_LENGTH_EXCEEDS.replace(\\u0027$str1\\u0027, _key_attr)\\n\\t\\t\\t            .replace(\\u0027$str2\\u0027, e.field(_key)[_itemLinkNo].field(C_MAX_LENGTHS[_key][_key_attr].linkedEntryField))\\n\\t\\t\\t            .replace(\\u0027$str3\\u0027, C_MAX_LENGTHS[_key][_key_attr].valueMaxLength)\\n\\t\\t\\t            .replace(\\u0027$str4\\u0027, _attribute_value.length));\\n                    return false;\\n                }\\n\\t        }\\n\\t    }\\n    }\\n    else\\n    if (e.field(_key).length \\u003e C_MAX_LENGTHS[_key]) {\\n        message(C_MESS_LENGTH_EXCEEDS.replace(\\u0027$str1\\u0027, _key).replace(\\u0027$str2\\u0027, C_MAX_LENGTHS[_key]).replace(\\u0027$str3\\u0027, e.field(_key).length));\\n        return false;\\n    }\\n}\\nreturn true;\\n\\n}\\n\\n\"},{\"enabled\":true,\"event\":\"COMMON\",\"jsLibs\":[],\"modifiedTime\":0,\"moment\":\"LIBRARY_CONTEXT\",\"name\":\"dialog_message\",\"restriction\":\"NONE\",\"script\":\"function dialog_message(_text) {\\n    var _dialog \\u003d dialog();\\n    _dialog.text(_text)\\n        .positiveButton(\\\"OK\\\", () \\u003d\\u003e {return true})\\n        .show();\\n}\"}]","entry_pages":"{\"pages\":[{\"d\":true,\"f\":[0,1,2,52,74,75,76,77,78,79,93,99,101,102,112,114,119,124],\"hidden\":false,\"hide_aggr\":[\"TWZKhb;(:KDjR>*DegG9\",\"DwiKak@2PB<1*jXG*6!p\",\"Uwu3gL:i9S[b)q-8*O2*\",\"MDoYVAk3TjmCcKoFY:AT\",\"X4S6BLvXQJ5mQ%n:Otel\",\"@6arsg%-QRA@DJZu)l><\",\"Kz7oy3P]%+)qe]+Xvob[\",\"C!aMy3VBcF]WOvI17DCn\",\"ROJb2k;w80rJqYcjJrN3\"],\"inv\":[\"XA8w3cE%)P*[@K@kDjVA\",\"X4S6BLvXQJ5mQ%n:Otel\",\"Uwu3gL:i9S[b)q-8*O2*\",\"@6arsg%-QRA@DJZu)l><\",\"MDoYVAk3TjmCcKoFY:AT\",\"TWZKhb;(:KDjR>*DegG9\",\"DwiKak@2PB<1*jXG*6!p\",\"Kz7oy3P]%+)qe]+Xvob[\",\"C!aMy3VBcF]WOvI17DCn\",\"ROJb2k;w80rJqYcjJrN3\"],\"ml\":[],\"t\":\"Customer Info\"},{\"d\":false,\"f\":[103,104,82,105,81,83,84,96,106,107,108,109,110,111,120,121,122,123],\"hidden\":false,\"hide_aggr\":[],\"inv\":[],\"ml\":[],\"t\":\"Addresses\"},{\"d\":false,\"f\":[],\"hidden\":false,\"hide_aggr\":[\"[dqLy7W8rPGkSs4Uw*AQ\"],\"inv\":[\"[dqLy7W8rPGkSs4Uw*AQ\"],\"ml\":[],\"t\":\"Work Orders\"},{\"d\":false,\"f\":[86,87,92,94,95,98,100],\"hidden\":false,\"hide_aggr\":[],\"inv\":[],\"ml\":[],\"t\":\"Service info\"}],\"connectors\":{},\"desc_max_lines\":2,\"name_max_lines\":1,\"notes\":\"\",\"steps\":false}","templates":[{"u":"Y@;+nVO]eRRzBqDxJTt<","tt":"DisplayName","type":"ft_string","usg":"USAGE_IN_TITLE","num":0,"order":0,"lib":"u%YLj>r)u3T+N<LGq%*b","r":true,"stats":"","hint":"Enter customer's name","cnt":[{"s":"","i":2,"o":"Y@;+nVO]eRRzBqDxJTt<","t":"Y@;+nVO]eRRzBqDxJTt<"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"fieldDelimiter\":\" # \",\"textDrawable\":false}","unique":true,"readonly":false},{"u":"!0i2V*h>WYLpE:MlJLoA","tt":"PrintOnCheckName","type":"ft_string","usg":"NOT_USAGE","num":124,"order":1,"lib":"u%YLj>r)u3T+N<LGq%*b","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"!0i2V*h>WYLpE:MlJLoA","t":"!0i2V*h>WYLpE:MlJLoA"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"1<qAo@]8LTnARniKV2Se","tt":"Notes","type":"ft_string","usg":"NOT_USAGE","num":52,"order":2,"lib":"u%YLj>r)u3T+N<LGq%*b","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"1<qAo@]8LTnARniKV2Se","t":"1<qAo@]8LTnARniKV2Se"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"%0QWf[V()>teo6CO;kBg","tt":"Phone","type":"ft_phone","usg":"NOT_USAGE","num":1,"order":3,"lib":"u%YLj>r)u3T+N<LGq%*b","r":false,"stats":"","hint":"Enter customer's phone number","cnt":[{"s":"","o":"%0QWf[V()>teo6CO;kBg","t":"%0QWf[V()>teo6CO;kBg"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"#pDc;efs(:VZ7h3G(;jh","tt":"Mobile","type":"ft_phone","usg":"NOT_USAGE","num":114,"order":4,"lib":"u%YLj>r)u3T+N<LGq%*b","r":false,"stats":"","hint":"Enter customer's mobile number","cnt":[{"s":"","o":"#pDc;efs(:VZ7h3G(;jh","t":"#pDc;efs(:VZ7h3G(;jh"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"fQPDqvax<*X:*S%Bot#d","tt":"E-mail","type":"ft_email","usg":"NOT_USAGE","num":2,"order":5,"lib":"u%YLj>r)u3T+N<LGq%*b","r":true,"stats":"","hint":"Enter customer's e-mail","cnt":[{"s":"","o":"fQPDqvax<*X:*S%Bot#d","t":"fQPDqvax<*X:*S%Bot#d"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"T+Cay]62DGGP>uc3G*b)","tt":"Details","type":"ft_subheader","usg":"NOT_USAGE","num":74,"order":6,"lib":"u%YLj>r)u3T+N<LGq%*b","r":false,"stats":"","hint":"","cnt":[{"s":"","i":0,"o":"T+Cay]62DGGP>uc3G*b)","t":"T+Cay]62DGGP>uc3G*b)"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"font\":{\"color\":-13783129,\"defaultColor\":false,\"family\":\"sans-serif\",\"size\":18,\"style\":1},\"textDrawable\":false}","unique":false,"readonly":false},{"u":"Z7[kDCWJoOg(ui01Ieft","tt":"CompanyName","type":"ft_string","usg":"NOT_USAGE","num":75,"order":7,"lib":"u%YLj>r)u3T+N<LGq%*b","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"Z7[kDCWJoOg(ui01Ieft","t":"Z7[kDCWJoOg(ui01Ieft"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"OEhi8TgOb-WOWf%HmCVD","tt":"Title","type":"ft_string","usg":"NOT_USAGE","num":76,"order":8,"lib":"u%YLj>r)u3T+N<LGq%*b","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"OEhi8TgOb-WOWf%HmCVD","t":"OEhi8TgOb-WOWf%HmCVD"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"4u9qf3%mPEugEk*fam4E","tt":"FirstName","type":"ft_string","usg":"NOT_USAGE","num":77,"order":9,"lib":"u%YLj>r)u3T+N<LGq%*b","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"4u9qf3%mPEugEk*fam4E","t":"4u9qf3%mPEugEk*fam4E"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"43A#M(hld6-eTR+B%42@","tt":"MiddleName","type":"ft_string","usg":"NOT_USAGE","num":78,"order":10,"lib":"u%YLj>r)u3T+N<LGq%*b","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"43A#M(hld6-eTR+B%42@","t":"43A#M(hld6-eTR+B%42@"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"z[QgU:Zn8xt(@)Yxz@JD","tt":"LastName","type":"ft_string","usg":"NOT_USAGE","num":79,"order":11,"lib":"u%YLj>r)u3T+N<LGq%*b","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"z[QgU:Zn8xt(@)Yxz@JD","t":"z[QgU:Zn8xt(@)Yxz@JD"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"[apCp7CP-Th9lKy%HTBn","tt":"Parent","type":"ft_lib_entry","usg":"NOT_USAGE","num":101,"order":12,"lib":"u%YLj>r)u3T+N<LGq%*b","r":false,"stats":"","hint":"","cnt":[{"s":"_index_{\"i\":1,\"t\":\"L Customers\"}","i":0,"o":"[apCp7CP-Th9lKy%HTBn","t":"[apCp7CP-Th9lKy%HTBn"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"compactEditMode\":false,\"compactViewMode\":false,\"defaultEntriesIds\":[],\"relationType\":1,\"attrJsonTemplates\":[],\"maxObjects\":2147483647,\"colSpan\":1,\"colorizeRules\":\"{\\\"colorTarget\\\":0,\\\"rules\\\":[]}\",\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"JvaZm(KxSCZH]RVSPT)P","tt":"Job","type":"ft_boolean","usg":"NOT_USAGE","num":102,"order":13,"lib":"u%YLj>r)u3T+N<LGq%*b","r":false,"stats":"","hint":"","cnt":[{"s":"Yes::No::0","i":0,"o":"JvaZm(KxSCZH]RVSPT)P","t":"JvaZm(KxSCZH]RVSPT)P"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"-;lvh:lEj7Da;pYTAUJ[","tt":"BillWithParent","type":"ft_boolean","usg":"NOT_USAGE","num":112,"order":14,"lib":"u%YLj>r)u3T+N<LGq%*b","r":false,"stats":"","hint":"","cnt":[{"s":"Yes::No::0","i":0,"o":"-;lvh:lEj7Da;pYTAUJ[","t":"-;lvh:lEj7Da;pYTAUJ["}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"lz2SH;R3ZjrRSbhx0p!P","tt":"IsProject","type":"ft_boolean","usg":"NOT_USAGE","num":119,"order":15,"lib":"u%YLj>r)u3T+N<LGq%*b","r":false,"stats":"","hint":"","cnt":[{"s":"Yes::No::0","i":0,"o":"lz2SH;R3ZjrRSbhx0p!P","t":"lz2SH;R3ZjrRSbhx0p!P"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"colSpan\":1,\"description\":\"\\\"IsProject\\\" is QuickBooks→Memento only. Edit in Memento has no effect.\",\"descriptionPos\":1,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"xsrIrH[K*o#DyY95>O%b","tt":"JS Background Color","type":"ft_script","usg":"HIDDEN","num":93,"order":16,"lib":"u%YLj>r)u3T+N<LGq%*b","r":false,"stats":"","hint":"","cnt":[{"s":"{\"expr\":\"if (field(\\\"qb_active\\\") == false && field(\\\"qb_id\\\"))\\n    \\\"#A6A6A6\\\"\\nelse if (field(\\\"qb_state_error\\\") == true)\\n    \\\"#eac4d5\\\"\\nelse if (field(\\\"qb_id\\\"))\\n    \\\"#d6eadf\\\"\\nelse \\n   \\\"#f7d794\\\"\",\"res\":4,\"s\":5,\"real_time\":true,\"libs\":[]}","o":"xsrIrH[K*o#DyY95>O%b","t":"xsrIrH[K*o#DyY95>O%b"}],"depend":"","disp_title":true,"entry_color":true,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"html\":false,\"displayConvertUnitButton\":false,\"groupSeparator\":false,\"incDelta\":1.0,\"showCalc\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":1,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"tD*+<2mH]XsaJY)hn:Ax","tt":"thumbnail image","type":"ft_img","usg":"USAGE_IN_ICON","num":99,"order":17,"lib":"u%YLj>r)u3T+N<LGq%*b","r":false,"stats":"","hint":"","cnt":[{"s":"","o":"tD*+<2mH]XsaJY)hn:Ax","t":"tD*+<2mH]XsaJY)hn:Ax"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"captureMaxHeight\":0,\"captureMaxWidth\":0,\"fileNamePattern\":\"TIME\",\"orientation\":1,\"placeholder\":{\"field\":0,\"fieldMaxLength\":5,\"letters\":\"N/A\",\"shape\":0,\"type\":1},\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":":aIu;*c0@kUFGjBszMDx","tt":"Shipping Address","type":"ft_subheader","usg":"NOT_USAGE","num":103,"order":18,"lib":"u%YLj>r)u3T+N<LGq%*b","r":false,"stats":"","hint":"","cnt":[{"s":"","i":1,"o":":aIu;*c0@kUFGjBszMDx","t":":aIu;*c0@kUFGjBszMDx"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"font\":{\"color\":-13783129,\"defaultColor\":false,\"family\":\"sans-serif\",\"size\":18,\"style\":1},\"textDrawable\":false}","unique":false,"readonly":false},{"u":"ya!9rn[tVgu#CQngtiGK","tt":"ShipAddrLine1","type":"ft_string","usg":"NOT_USAGE","num":106,"order":19,"lib":"u%YLj>r)u3T+N<LGq%*b","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"ya!9rn[tVgu#CQngtiGK","t":"ya!9rn[tVgu#CQngtiGK"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"o*BWj6jrb%caywTDZ(]y","tt":"ShipAddrLine2","type":"ft_string","usg":"NOT_USAGE","num":107,"order":20,"lib":"u%YLj>r)u3T+N<LGq%*b","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"o*BWj6jrb%caywTDZ(]y","t":"o*BWj6jrb%caywTDZ(]y"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"059HG:O[Vc9j@pNA2efY","tt":"ShipAddrCity","type":"ft_string","usg":"NOT_USAGE","num":108,"order":21,"lib":"u%YLj>r)u3T+N<LGq%*b","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"059HG:O[Vc9j@pNA2efY","t":"059HG:O[Vc9j@pNA2efY"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"9V[o8w1B<I]MOXSxx1Du","tt":"ShipAddrZipCode","type":"ft_string","usg":"NOT_USAGE","num":109,"order":22,"lib":"u%YLj>r)u3T+N<LGq%*b","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"9V[o8w1B<I]MOXSxx1Du","t":"9V[o8w1B<I]MOXSxx1Du"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"rKTdSKP]IHAMm9A+qWI+","tt":"ShipAddrState","type":"ft_string","usg":"NOT_USAGE","num":110,"order":23,"lib":"u%YLj>r)u3T+N<LGq%*b","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"rKTdSKP]IHAMm9A+qWI+","t":"rKTdSKP]IHAMm9A+qWI+"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":">pN<T*#]pTIwUrQ<;KAr","tt":"ShipAddrCountry","type":"ft_string","usg":"NOT_USAGE","num":111,"order":24,"lib":"u%YLj>r)u3T+N<LGq%*b","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":">pN<T*#]pTIwUrQ<;KAr","t":">pN<T*#]pTIwUrQ<;KAr"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"DUNjwqkJ>b)6QqdVWQ!:","tt":"ShipAddrLatitude","type":"ft_string","usg":"NOT_USAGE","num":122,"order":25,"lib":"u%YLj>r)u3T+N<LGq%*b","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"DUNjwqkJ>b)6QqdVWQ!:","t":"DUNjwqkJ>b)6QqdVWQ!:"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":true},{"u":"zy#qXJS3spClqep-7-R+","tt":"ShipAddrLongitude","type":"ft_string","usg":"NOT_USAGE","num":123,"order":26,"lib":"u%YLj>r)u3T+N<LGq%*b","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"zy#qXJS3spClqep-7-R+","t":"zy#qXJS3spClqep-7-R+"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":true},{"u":"j3Eg7sivYaAgQD:x@*GH","tt":"Billing Address","type":"ft_subheader","usg":"NOT_USAGE","num":104,"order":27,"lib":"u%YLj>r)u3T+N<LGq%*b","r":false,"stats":"","hint":"","cnt":[{"s":"","i":1,"o":"j3Eg7sivYaAgQD:x@*GH","t":"j3Eg7sivYaAgQD:x@*GH"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"font\":{\"color\":-13783129,\"defaultColor\":false,\"family\":\"sans-serif\",\"size\":18,\"style\":1},\"textDrawable\":false}","unique":false,"readonly":false},{"u":"k!wOoAeTFLqJyz58;Z!G","tt":"BillAddrLine1","type":"ft_string","usg":"NOT_USAGE","num":82,"order":28,"lib":"u%YLj>r)u3T+N<LGq%*b","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"k!wOoAeTFLqJyz58;Z!G","t":"k!wOoAeTFLqJyz58;Z!G"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"4Vj#c@S-j63C:bgId;tz","tt":"BillAddrLine2","type":"ft_string","usg":"NOT_USAGE","num":105,"order":29,"lib":"u%YLj>r)u3T+N<LGq%*b","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"4Vj#c@S-j63C:bgId;tz","t":"4Vj#c@S-j63C:bgId;tz"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"52B30nuGRb9Rrw-DEmr1","tt":"BillAddrCity","type":"ft_string","usg":"NOT_USAGE","num":81,"order":30,"lib":"u%YLj>r)u3T+N<LGq%*b","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"52B30nuGRb9Rrw-DEmr1","t":"52B30nuGRb9Rrw-DEmr1"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"C29@i<uG-wOQ)GIFxob(","tt":"BillAddrZipCode","type":"ft_string","usg":"NOT_USAGE","num":83,"order":31,"lib":"u%YLj>r)u3T+N<LGq%*b","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"C29@i<uG-wOQ)GIFxob(","t":"C29@i<uG-wOQ)GIFxob("}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"2v%HB<mPn8W(h06[I0)V","tt":"BillAddrState","type":"ft_string","usg":"NOT_USAGE","num":84,"order":32,"lib":"u%YLj>r)u3T+N<LGq%*b","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"2v%HB<mPn8W(h06[I0)V","t":"2v%HB<mPn8W(h06[I0)V"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"@w@l@:NaJF#Il]YXkRLV","tt":"BillAddrCountry","type":"ft_string","usg":"NOT_USAGE","num":96,"order":33,"lib":"u%YLj>r)u3T+N<LGq%*b","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"@w@l@:NaJF#Il]YXkRLV","t":"@w@l@:NaJF#Il]YXkRLV"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"LSxf!X;!((g6V<RK-;p3","tt":"BillAddrLatitude","type":"ft_string","usg":"NOT_USAGE","num":120,"order":34,"lib":"u%YLj>r)u3T+N<LGq%*b","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"LSxf!X;!((g6V<RK-;p3","t":"LSxf!X;!((g6V<RK-;p3"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":true},{"u":"!PJr9p>TOEJz-hN]FA-z","tt":"BillAddrLongitude","type":"ft_string","usg":"NOT_USAGE","num":121,"order":35,"lib":"u%YLj>r)u3T+N<LGq%*b","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"!PJr9p>TOEJz-hN]FA-z","t":"!PJr9p>TOEJz-hN]FA-z"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":true},{"u":"yn!X7QrDsxVsrVZI1jyy","tt":"QuickBooks","type":"ft_subheader","usg":"NOT_USAGE","num":95,"order":36,"lib":"u%YLj>r)u3T+N<LGq%*b","r":false,"stats":"","hint":"","cnt":[{"s":"","i":0,"o":"yn!X7QrDsxVsrVZI1jyy","t":"yn!X7QrDsxVsrVZI1jyy"}],"depend":"[{\"template_index\":94,\"type_class\":\"com.luckydroid.droidbase.depend.VisibleFieldDependType\",\"only_edit\":true,\"group_type\":0,\"depends\":[{\"key\":\"visible\",\"values\":[\"1\"]}]}]","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"font\":{\"color\":-13783129,\"defaultColor\":false,\"family\":\"sans-serif\",\"size\":16,\"style\":1},\"textDrawable\":false}","unique":false,"readonly":false},{"u":"0:LZKIhFVB@[BB+4z<a>","tt":"qb_id","type":"ft_string","usg":"NOT_USAGE","num":86,"order":37,"lib":"u%YLj>r)u3T+N<LGq%*b","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"0:LZKIhFVB@[BB+4z<a>","t":"0:LZKIhFVB@[BB+4z<a>"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"font\":{\"color\":0,\"defaultColor\":true,\"family\":\"sans-serif\",\"size\":16,\"style\":0},\"textDrawable\":false}","unique":false,"readonly":false},{"u":"KGBsd1CVmwH854LCP;Iu","tt":"qb_state_error","type":"ft_boolean","usg":"NOT_USAGE","num":92,"order":38,"lib":"u%YLj>r)u3T+N<LGq%*b","r":false,"stats":"","hint":"","cnt":[{"s":"Yes::No::0","i":0,"o":"KGBsd1CVmwH854LCP;Iu","t":"KGBsd1CVmwH854LCP;Iu"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"@X%J*JaWGFECmNq+HCzC","tt":"qb_active","type":"ft_boolean","usg":"NOT_USAGE","num":100,"order":39,"lib":"u%YLj>r)u3T+N<LGq%*b","r":false,"stats":"","hint":"","cnt":[{"s":"Yes::No::0","i":0,"o":"@X%J*JaWGFECmNq+HCzC","t":"@X%J*JaWGFECmNq+HCzC"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"E@dTP*#]ehM:a(CE[ku+","tt":"qb_response","type":"ft_string","usg":"NOT_USAGE","num":87,"order":40,"lib":"u%YLj>r)u3T+N<LGq%*b","r":false,"stats":"","hint":"","cnt":[{"s":"","i":0,"o":"E@dTP*#]ehM:a(CE[ku+","t":"E@dTP*#]ehM:a(CE[ku+"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"font\":{\"color\":0,\"defaultColor\":true,\"family\":\"sans-serif\",\"size\":12,\"style\":0},\"textDrawable\":false}","unique":false,"readonly":false},{"u":"1LF2K%@D0eE1MZTVH2Y[","tt":"hide_fields_when_editing","type":"ft_checkboxes","usg":"NOT_USAGE","num":94,"order":41,"lib":"u%YLj>r)u3T+N<LGq%*b","r":false,"stats":"","hint":"","cnt":[{"s":"{\"sl\":[{\"t\":\"Yes\",\"c\":1,\"def\":false,\"c_text\":false,\"f\":false,\"children\":[]}],\"sort\":false}","i":0,"o":"1LF2K%@D0eE1MZTVH2Y[","t":"1LF2K%@D0eE1MZTVH2Y["}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"delimiter\":\", \",\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"font\":{\"color\":0,\"defaultColor\":true,\"family\":\"sans-serif\",\"size\":16,\"style\":0},\"textDrawable\":false}","unique":false,"readonly":true},{"u":"@292<NsY*GCB;:8EBR(3","tt":"intuit_tid","type":"ft_string","usg":"NOT_USAGE","num":98,"order":42,"lib":"u%YLj>r)u3T+N<LGq%*b","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"@292<NsY*GCB;:8EBR(3","t":"@292<NsY*GCB;:8EBR(3"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"font\":{\"color\":0,\"defaultColor\":true,\"family\":\"sans-serif\",\"size\":16,\"style\":0},\"textDrawable\":false}","unique":false,"readonly":false}]},{"title":"L Items","id":"6KZ7-Q*LcpLl]RTz[ud0","color":-3158065,"icon":"inline:iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAV0SURBVHic7d1LaFxVHMfx/50kk8mjCm6iCyvWJJM71ZJMWkSEiBocEQvxFShCdSEWN5p9QRB04apdCXXTKmjTBtLpQ5wbUwMKWkxnaBFvOtm4ruBCzcQmSo4LazHppHcm553/77NLOjn/094vZzI3jxIBAAAAADuB7Q3ICsO8aPChUwsLlXGtm/FQyvYGwC4EwBwCYA4BMIcAmEMAzCEA5hAAcwiAOQTAnPO3gpu41SvlhTfepieef/l/7wkOFbJdH5uYbZOzAeRye4eEWKuYnnu0+M26t4UQTz07sGPO9D5McTKAMMzXiKjT1vyNERARtaytZUfDuxYtbEcr5wIwdeQnuf0p4V8tbXTv6K7u6xa2pIUzAdg68pPUOw2IiNLpro4nHwxuGN6Ock4EEIb5ZSLqsL2PzWwWARHRM/1dqSAInDi1tsJ6AK4c+Uk2e0r4TyHbbf3fciusbToMh/NEomxr/lbd6TQg8i8EK5sNw/wNImq3MVuFpAiI/AnB+CZ9OfKT7D94iJ5+8dXEx7kegrHN7d49uG9tLfWD7DqFwui6t6NotqGP6+npocHBR5r+uCSNnAZE7oZgZFNhmF8horTsOnF8+6cMudxwQx9bKIzSkSMfrnvfgQOv09WrP8puq+EIiNwLQfsXg24e+VIXv6urs+7Fl3Xy5Am6cuV76XUmxkbo4vRnDT02qi6JqLq0Kj1UEW0BZLNDe1U835dKRZqf/1bFlupKp9NK4jr/6TGaGBtp9OFtN0P4VXqwJC0BhGF+JZUK5mXXieMy7dx5v4otNTRrz56HpddpIgIionui6pLVT4qVB+DykZ9kcvITZU8JpcnjCnakn7IAVB35586d1nrkJ1H1lFCaPN7saWCFkgBUHvm9vQ+p2JK0OC7TwEBWeh3XI5AOQMWR39lp58hPMj39OVUq30mvMzE2QpdmL2z651F16TXpIVtk/XsCz549TZcv2zvyk2Qy7UrivFa54z2wE9IDtshqAHFcpr4+N478JHFcpmy2z/Y2lGu1MTSTaVdytBLVvzuoy5kzk7SyskpDQ48Zm6mb8ROgWDyl7OLb0N6u5lWCK4wGEMdl6u/vNTlSG9V/l1Jcu0/ZYk0wFsDGr+JtB8XiKWVrBS3ia2WLNcH6qwC4ZcDGUATAHAJgDgEwhwAcUlpcOmp6JgJwSCDoHdMzEQBzCIA5BMAcAnDMTLX2nMl5CMAxgsR5k/MQgHuMXhMEwBwCYA4BOGjuZ5ExNQsBOGh1tRaZmoUA3GTshwkQAHMIgDkEwBwCcFS0WDtsYg4CcJUQ75sYgwCYQwDMIQDmEIDDvqzW9umegQAcliJxUf8McNkO3QOs/H6AJMEHv1mdLw7fbXW+STgBmEMAjhNCaP3dwgjAcTPV5Smd6yMA1wXiJZ3LIwDmEABzCIA5BOCBqFp7U9faCMAL4piulREAc07eCuZ0K9Y2nADMIQBPfBH/+YCOdRGAJ1pb/tbyq2QRgDeCXTpWRQDMIQDmEABzCMAj0WLtI9VrIgCfCPGW6iWdvBM4tfCX1fmvhG1W55vkZADj08tW53O6FY2nAOYQgGeiam1M5XoIwDtiWuVqCMA/Sn9OAAEwhwCYQwAemvvpl25VayEAD622ds6qWgsB+OlRVQs5eSeQ050423ACMIcAmEMAnpqp/vGeinUQgKcEBe+qWAcBMIcAmEMAzCEAj81c+/1x2TUQgMdEkPpKdg0E4LcO2QWM3QqOolnK5YZNjdvOLhSy3ftVLebk1wLgFqUXux4E4A7tF7seBGCHlYtdj/Q3GIZhXqjYCANTCwuVcdub2AivAphDAMwhAOYQAHMIgDkVLwO1/o8W24UQ4pLtPQAAAAAAEBHRPxmwSqmJINacAAAAAElFTkSuQmCC","unique_names":false,"triggers":"[{\"enabled\":true,\"event\":\"CREATE_ENTRY\",\"jsLibs\":[],\"modifiedTime\":0,\"moment\":\"BEFORE_SAVE\",\"name\":\"Check fields values - EC-BSE\",\"restriction\":\"NONE\",\"script\":\"var e = entry();\\n\\n// MQ Lite has no Accounts library: new products and services come from\\n// QuickBooks only, so an item created here would never reach QuickBooks.\\nmessage(\\\"New products and services are added in QuickBooks. They appear here after the next MQSync run.\\\");\\ncancel();\\n\"},{\"enabled\":true,\"event\":\"MODIFY_ENTRY\",\"jsLibs\":[],\"modifiedTime\":0,\"moment\":\"BEFORE_SAVE\",\"name\":\"Check fields values - EU\",\"restriction\":\"NONE\",\"script\":\"let e=entry();\\nif (e.field(\\\"ItemType\\\")==='Group')\\n{\\n\\tif (!e.field(\\\"qb_id\\\"))\\n\\t\\tmessage(\\\"Bundles (Group items) can't be created from Memento. Create the bundle in QuickBooks — it will sync here automatically.\\\");\\n\\telse\\n\\t\\tmessage(\\\"Bundles (Group items) can't be edited in Memento. Edit the bundle in QuickBooks — it will sync here automatically.\\\");\\n\\tcancel();\\n}\\n\\nelse if (e.field(\\\"qb_id\\\") && (e.field(\\\"ItemType\\\") != _ItemType))\\n{\\n\\tmessage (\\\"Changing ItemType for existing items is allowed in QuickBooks only.\\\");\\n\\tcancel();\\n}\\n\\nelse if (e.field(\\\"ItemType\\\")!='Group') {\\n\\tif(e.field(\\\"ItemType\\\")=='Inventory' && !check_inventory_fields())\\n\\t\\tcancel();\\n}\"},{\"enabled\":true,\"event\":\"CREATE_ENTRY\",\"jsLibs\":[],\"modifiedTime\":0,\"moment\":\"BEFORE_SAVE\",\"name\":\"Check fields length - EC\",\"restriction\":\"NONE\",\"script\":\"if(!check_fields_length())\\n   cancel();\"},{\"enabled\":true,\"event\":\"MODIFY_ENTRY\",\"jsLibs\":[],\"modifiedTime\":0,\"moment\":\"BEFORE_SAVE\",\"name\":\"Check fields length - EU\",\"restriction\":\"NONE\",\"script\":\"if(!check_fields_length())\\n   cancel();\"},{\"enabled\":true,\"event\":\"MODIFY_ENTRY\",\"jsLibs\":[],\"modifiedTime\":0,\"moment\":\"OPEN_FORM\",\"name\":\"Store current values - EU-OEEC\",\"restriction\":\"NONE\",\"script\":\"let _ItemType = entry().field(\\\"ItemType\\\"); \\n\"},{\"enabled\":true,\"event\":\"COMMON\",\"jsLibs\":[],\"modifiedTime\":0,\"moment\":\"LIBRARY_CONTEXT\",\"name\":\"shared functions\",\"restriction\":\"NONE\",\"script\":\"// Items\\nlet C_MAX_LENGTHS = {\\n    \\\"Name\\\": 100,\\n    \\\"Description\\\": 4000,\\n    \\\"Sku\\\": 100,\\n}\\n\\n\\nfunction check_inventory_fields()\\n{\\nlet e = entry();\\nif (!e.field(\\\"InventoryStartDate\\\")) {\\n\\tmessage(\\\"InventoryStartDate for an Inventory item is required!\\\");\\n\\treturn false;\\n}\\nif (!e.field(\\\"TrackQuantityOnHand\\\")) {\\n\\tmessage(\\\"TrackQuantityOnHand for an Inventory item is required!\\\");\\n\\treturn false;\\n}\\nif (!e.field(\\\"QuantityOnHand\\\")) {\\n\\tmessage(\\\"QuantityOnHand for an Inventory item is required!\\\");\\n\\treturn false;\\n}\\nreturn true;\\n}\\n\\n\\n\\n\\n\\nfunction check_fields_length()\\n{\\n\\nlet C_MESS_LENGTH_EXCEEDS         = 'Field \\\"$str1\\\" length should be $str2 symbols max, now it\\\\'s $str3';\\nlet C_MESS_ATTR_LENGTH_EXCEEDS    = 'Attribute \\\"$str1\\\" length for \\\"$str2\\\" entry in Invoice should be $str3 symbols max, now it\\\\'s $str4';\\n\\nlet e = entry();\\nfor (let _key in C_MAX_LENGTHS) {\\n\\t// A nested object describes a link field: limits for its attributes \\n    if (typeof C_MAX_LENGTHS[_key] === \\\"object\\\")   {\\n    \\tfor (var _key_attr in C_MAX_LENGTHS[_key])\\t{\\n            // Check every linked entry:\\n            for (let _itemLinkNo = 0; _itemLinkNo < e.field(_key).length; _itemLinkNo++)\\t{\\n                let _attribute_value = e.field(_key)[_itemLinkNo].attr(_key_attr);\\n                if ((_attribute_value != null) && (_attribute_value.length > C_MAX_LENGTHS[_key][_key_attr].valueMaxLength)) {\\n                    message(C_MESS_ATTR_LENGTH_EXCEEDS.replace('$str1', _key_attr)\\n\\t\\t\\t            .replace('$str2', e.field(_key)[_itemLinkNo].field(C_MAX_LENGTHS[_key][_key_attr].linkedEntryField))\\n\\t\\t\\t            .replace('$str3', C_MAX_LENGTHS[_key][_key_attr].valueMaxLength)\\n\\t\\t\\t            .replace('$str4', _attribute_value.length));\\n                    return false;\\n                }\\n\\t        }\\n\\t    }\\n    }\\n    else\\n    if (e.field(_key).length > C_MAX_LENGTHS[_key]) {\\n        message(C_MESS_LENGTH_EXCEEDS.replace('$str1', _key).replace('$str2', C_MAX_LENGTHS[_key]).replace('$str3', e.field(_key).length));\\n        return false;\\n    }\\n}\\nreturn true;\\n\\n}\\n\"}]","entry_pages":"{\"pages\":[{\"d\":true,\"f\":[2,12,18,24,26,28,32,33,34,35,36,37],\"hidden\":false,\"hide_aggr\":[\"R:;%PlatY!d*TAs3n4oW\",\">THFgVXEjD-j#5ms:7:b\",\"QJ>9]0Pr(+CM:i&wzoo+\",\"IclEjtnMzT#24)@ZRQv!\",\"[dqLy7W8rPGkSs4Uw*AQ\"],\"inv\":[\"R:;%PlatY!d*TAs3n4oW\",\">THFgVXEjD-j#5ms:7:b\",\"QJ>9]0Pr(+CM:i&wzoo+\",\"IclEjtnMzT#24)@ZRQv!\",\"[dqLy7W8rPGkSs4Uw*AQ\"],\"ml\":[\"_index_{\\\"i\\\":0,\\\"t\\\":\\\"L Work Orders\\\"}\"],\"t\":\"def_page_title\"},{\"d\":false,\"f\":[1,5,17,19,20,29,30],\"hidden\":false,\"hide_aggr\":[],\"inv\":[],\"ml\":[],\"t\":\"Service info\"}],\"connectors\":{},\"desc_max_lines\":2,\"name_max_lines\":1,\"notes\":\"\",\"steps\":false}","templates":[{"u":"Go<GEDA>9#:NEEmYj]t>","tt":"Name","type":"ft_string","usg":"USAGE_IN_TITLE","num":2,"order":0,"lib":"6KZ7-Q*LcpLl]RTz[ud0","r":true,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"Go<GEDA>9#:NEEmYj]t>","t":"Go<GEDA>9#:NEEmYj]t>"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"fieldDelimiter\":\" \",\"font\":{\"color\":0,\"defaultColor\":true,\"family\":\"sans-serif\",\"size\":16,\"style\":0},\"textDrawable\":false}","unique":true,"readonly":false},{"u":"bBB3>UF<>g:d#ao0F(9]","tt":"ItemType","type":"ft_str_list","usg":"NOT_USAGE","num":24,"order":1,"lib":"6KZ7-Q*LcpLl]RTz[ud0","r":true,"stats":"","hint":"","cnt":[{"s":"{\"sl\":[{\"t\":\"NonInventory\",\"c\":2,\"i\":\"\",\"def\":true,\"c_text\":false,\"f\":false,\"children\":[]},{\"t\":\"Service\",\"c\":3,\"i\":\"\",\"def\":false,\"c_text\":false,\"f\":false,\"children\":[]},{\"t\":\"Inventory\",\"c\":4,\"i\":\"\",\"def\":false,\"c_text\":false,\"f\":false,\"children\":[]},{\"t\":\"Group\",\"c\":5,\"def\":false,\"c_text\":false,\"f\":false,\"children\":[]}],\"sort\":false}","i":0,"o":"bBB3>UF<>g:d#ao0F(9]","t":"bBB3>UF<>g:d#ao0F(9]"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":2,"json_options":"{\"colSpan\":1,\"colorizeRules\":\"{\\\"colorTarget\\\":0,\\\"rules\\\":[]}\",\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"ql:d-jrwOjz7Q%J5]yxI","tt":"InventoryStartDate","type":"ft_date","usg":"NOT_USAGE","num":32,"order":2,"lib":"6KZ7-Q*LcpLl]RTz[ud0","r":false,"stats":"","hint":"","cnt":[{"s":"","i":1,"o":"ql:d-jrwOjz7Q%J5]yxI","t":"ql:d-jrwOjz7Q%J5]yxI"}],"depend":"[{\"template_index\":24,\"type_class\":\"com.luckydroid.droidbase.depend.VisibleFieldDependType\",\"only_edit\":false,\"group_type\":0,\"depends\":[{\"key\":\"visible\",\"values\":[\"4\"]}]}]","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":1,"json_options":"{\"dateTimeFormats\":{},\"endYear\":2100,\"startYear\":1900,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"Bo5;fE)yX9Pm5GnFDk<W","tt":"TrackQuantityOnHand","type":"ft_boolean","usg":"NOT_USAGE","num":34,"order":3,"lib":"6KZ7-Q*LcpLl]RTz[ud0","r":false,"stats":"","hint":"","cnt":[{"s":"Yes::No::0","i":0,"o":"Bo5;fE)yX9Pm5GnFDk<W","t":"Bo5;fE)yX9Pm5GnFDk<W"}],"depend":"[{\"template_index\":24,\"type_class\":\"com.luckydroid.droidbase.depend.VisibleFieldDependType\",\"only_edit\":false,\"group_type\":0,\"depends\":[{\"key\":\"visible\",\"values\":[\"4\"]}]}]","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":2,"json_options":"{\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"vqMEY7wUa*]p1;x18!16","tt":"QuantityOnHand","type":"ft_real","usg":"NOT_USAGE","num":33,"order":4,"lib":"6KZ7-Q*LcpLl]RTz[ud0","r":false,"stats":"","hint":"","cnt":[{"s":"","o":"vqMEY7wUa*]p1;x18!16","t":"vqMEY7wUa*]p1;x18!16"}],"depend":"[{\"template_index\":24,\"type_class\":\"com.luckydroid.droidbase.depend.VisibleFieldDependType\",\"only_edit\":false,\"group_type\":0,\"depends\":[{\"key\":\"visible\",\"values\":[\"4\"]}]}]","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":1,"json_options":"{\"displayConvertUnitButton\":false,\"groupSeparator\":false,\"incDelta\":1.0,\"showCalc\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"-RG+WFF@:X[YcbznBr4X","tt":"Taxable","type":"ft_boolean","usg":"NOT_USAGE","num":28,"order":5,"lib":"6KZ7-Q*LcpLl]RTz[ud0","r":false,"stats":"","hint":"","cnt":[{"s":"Yes::No::0","i":0,"o":"-RG+WFF@:X[YcbznBr4X","t":"-RG+WFF@:X[YcbznBr4X"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":2,"json_options":"{\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"Fhj6#SlE-9gt9RLbf59%","tt":"Sku","type":"ft_string","usg":"NOT_USAGE","num":35,"order":6,"lib":"6KZ7-Q*LcpLl]RTz[ud0","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"Fhj6#SlE-9gt9RLbf59%","t":"Fhj6#SlE-9gt9RLbf59%"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":1,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"Y:yCCDZ@[eeE8B7AGUod","tt":"Description","type":"ft_string","usg":"NOT_USAGE","num":26,"order":7,"lib":"6KZ7-Q*LcpLl]RTz[ud0","r":false,"stats":"","hint":"","cnt":[{"s":"","i":0,"o":"Y:yCCDZ@[eeE8B7AGUod","t":"Y:yCCDZ@[eeE8B7AGUod"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"Zhbv9j7[y>ic:b(Sqc]E","tt":"PurchaseCost","type":"ft_money","usg":"NOT_USAGE","num":36,"order":8,"lib":"6KZ7-Q*LcpLl]RTz[ud0","r":false,"stats":"","hint":"","cnt":[{"s":"USD","o":"Zhbv9j7[y>ic:b(Sqc]E","t":"Zhbv9j7[y>ic:b(Sqc]E"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":2,"json_options":"{\"displayConvertUnitButton\":false,\"groupSeparator\":false,\"incDelta\":1.0,\"showCalc\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"1>]HCIx8iVxn#6f9oQ:v","tt":"UnitPrice","type":"ft_money","usg":"NOT_USAGE","num":12,"order":9,"lib":"6KZ7-Q*LcpLl]RTz[ud0","r":false,"stats":"","hint":"","cnt":[{"s":"USD","o":"1>]HCIx8iVxn#6f9oQ:v","t":"1>]HCIx8iVxn#6f9oQ:v"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":1,"json_options":"{\"displayConvertUnitButton\":false,\"groupSeparator\":false,\"incDelta\":1.0,\"showCalc\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"t+j@awXAdda1Gi;#Ejq4","tt":"JS Background Color","type":"ft_script","usg":"HIDDEN","num":18,"order":10,"lib":"6KZ7-Q*LcpLl]RTz[ud0","r":false,"stats":"","hint":"","cnt":[{"s":"{\"expr\":\"if (field(\\\"qb_active\\\") == false && field(\\\"qb_id\\\"))\\n    \\\"#A6A6A6\\\"\\nelse if (field(\\\"qb_state_error\\\") == true)\\n    \\\"#eac4d5\\\"\\nelse if (field(\\\"qb_id\\\"))\\n    \\\"#d6eadf\\\"\\nelse \\n   \\\"#f7d794\\\"\",\"res\":4,\"s\":5,\"real_time\":true,\"libs\":[]}","o":"t+j@awXAdda1Gi;#Ejq4","t":"t+j@awXAdda1Gi;#Ejq4"}],"depend":"","disp_title":true,"entry_color":true,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"html\":false,\"displayConvertUnitButton\":false,\"groupSeparator\":false,\"incDelta\":1.0,\"showCalc\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":1,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"urLsdwQBQT0HDHZWp3m7","tt":"BundleContents","type":"ft_string","usg":"NOT_USAGE","num":37,"order":11,"lib":"6KZ7-Q*LcpLl]RTz[ud0","r":false,"stats":"","hint":"","cnt":[{"s":"","i":0,"o":"urLsdwQBQT0HDHZWp3m7","t":"urLsdwQBQT0HDHZWp3m7"}],"depend":"[{\"template_index\":24,\"type_class\":\"com.luckydroid.droidbase.depend.VisibleFieldDependType\",\"only_edit\":false,\"group_type\":0,\"depends\":[{\"key\":\"visible\",\"values\":[\"5\"]}]}]","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"description\":\"\\\"BundleContents\\\" is QuickBooks→Memento only. Edit in Memento has no effect.\",\"descriptionPos\":1,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"hs<Wf((R#goHz@f!4wo4","tt":"QuickBooks","type":"ft_subheader","usg":"NOT_USAGE","num":20,"order":12,"lib":"6KZ7-Q*LcpLl]RTz[ud0","r":false,"stats":"","hint":"","cnt":[{"s":"","i":0,"o":"hs<Wf((R#goHz@f!4wo4","t":"hs<Wf((R#goHz@f!4wo4"}],"depend":"[{\"template_index\":19,\"type_class\":\"com.luckydroid.droidbase.depend.VisibleFieldDependType\",\"only_edit\":true,\"group_type\":0,\"depends\":[{\"key\":\"visible\",\"values\":[\"1\"]}]}]","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"font\":{\"color\":-13783129,\"defaultColor\":false,\"family\":\"sans-serif\",\"size\":16,\"style\":1},\"textDrawable\":false}","unique":false,"readonly":false},{"u":";:OSUME(L5Pj<53mK7n)","tt":"qb_id","type":"ft_string","usg":"NOT_USAGE","num":1,"order":13,"lib":"6KZ7-Q*LcpLl]RTz[ud0","r":false,"stats":"","hint":"","cnt":[{"s":"","i":0,"o":";:OSUME(L5Pj<53mK7n)","t":";:OSUME(L5Pj<53mK7n)"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"font\":{\"color\":0,\"defaultColor\":true,\"family\":\"sans-serif\",\"size\":16,\"style\":0},\"textDrawable\":false}","unique":false,"readonly":false},{"u":"8vrH[LurYh#RZ1I:xQN!","tt":"qb_state_error","type":"ft_boolean","usg":"NOT_USAGE","num":17,"order":14,"lib":"6KZ7-Q*LcpLl]RTz[ud0","r":false,"stats":"","hint":"","cnt":[{"s":"Yes::No::0","i":0,"o":"8vrH[LurYh#RZ1I:xQN!","t":"8vrH[LurYh#RZ1I:xQN!"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"14Z]4GZm!JPP+z+X@o<4","tt":"qb_active","type":"ft_boolean","usg":"NOT_USAGE","num":30,"order":15,"lib":"6KZ7-Q*LcpLl]RTz[ud0","r":false,"stats":"","hint":"","cnt":[{"s":"Yes::No::0","i":0,"o":"14Z]4GZm!JPP+z+X@o<4","t":"14Z]4GZm!JPP+z+X@o<4"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"mySQV[:%dZ1:uJnSP7!j","tt":"qb_response","type":"ft_string","usg":"NOT_USAGE","num":5,"order":16,"lib":"6KZ7-Q*LcpLl]RTz[ud0","r":false,"stats":"","hint":"","cnt":[{"s":"","i":0,"o":"mySQV[:%dZ1:uJnSP7!j","t":"mySQV[:%dZ1:uJnSP7!j"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"font\":{\"color\":0,\"defaultColor\":true,\"family\":\"sans-serif\",\"size\":12,\"style\":0},\"textDrawable\":false}","unique":false,"readonly":true},{"u":"0Z1h%Mu9iEcdTH63GUWc","tt":"hide_fields_when_editing","type":"ft_checkboxes","usg":"NOT_USAGE","num":19,"order":17,"lib":"6KZ7-Q*LcpLl]RTz[ud0","r":false,"stats":"","hint":"","cnt":[{"s":"{\"sl\":[{\"t\":\"Yes\",\"c\":1,\"def\":false,\"c_text\":false,\"f\":false,\"children\":[]}],\"sort\":false}","i":0,"o":"0Z1h%Mu9iEcdTH63GUWc","t":"0Z1h%Mu9iEcdTH63GUWc"}],"depend":"","disp_title":false,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"delimiter\":\", \",\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"font\":{\"color\":0,\"defaultColor\":true,\"family\":\"sans-serif\",\"size\":16,\"style\":0},\"textDrawable\":false}","unique":false,"readonly":true},{"u":"9ayJTccqYMLaq9j%Om07","tt":"intuit_tid","type":"ft_string","usg":"NOT_USAGE","num":29,"order":18,"lib":"6KZ7-Q*LcpLl]RTz[ud0","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"9ayJTccqYMLaq9j%Om07","t":"9ayJTccqYMLaq9j%Om07"}],"depend":"","disp_title":true,"entry_color":false,"show_in_table":true,"column_width":100,"week_event":0,"autofill":"","card_align":0,"json_options":"{\"naturalOrder\":false,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"font\":{\"color\":0,\"defaultColor\":true,\"family\":\"sans-serif\",\"size\":16,\"style\":0},\"textDrawable\":false}","unique":false,"readonly":false}]}]}