{"templates":[{"u":"K[g55QSUsydsU)>qYf]r","tt":"Customer","type":"ft_lib_entry","usg":"USAGE_IN_TITLE","num":14,"order":0,"lib":">lD>vtxQuZ6TU4xhV:eA","r":true,"stats":"","hint":"","cnt":[{"s":"_index_{\"i\":1,\"t\":\"MQ Customers\"}","i":0,"o":"K[g55QSUsydsU)>qYf]r","t":"K[g55QSUsydsU)>qYf]r"}],"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":"E6Aw*%agRH3PoEk!];ZC","tt":"JS Invoice Color","type":"ft_script","usg":"HIDDEN","num":103,"order":1,"lib":">lD>vtxQuZ6TU4xhV:eA","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":"E6Aw*%agRH3PoEk!];ZC","t":"E6Aw*%agRH3PoEk!];ZC"}],"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":"]!!rlfrM:Ukjc5&h1e#W","tt":"JS Invoice Background Color","type":"ft_script","usg":"HIDDEN","num":95,"order":2,"lib":">lD>vtxQuZ6TU4xhV:eA","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":"]!!rlfrM:Ukjc5&h1e#W","t":"]!!rlfrM:Ukjc5&h1e#W"}],"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":"TkW8<j3W1q1eZdjU6zE]","tt":"Shipping Address","type":"ft_subheader","usg":"NOT_USAGE","num":133,"order":3,"lib":">lD>vtxQuZ6TU4xhV:eA","r":false,"stats":"","hint":"","cnt":[{"s":"","i":1,"o":"TkW8<j3W1q1eZdjU6zE]","t":"TkW8<j3W1q1eZdjU6zE]"}],"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":"KN-CIK]-Wbw#Rd#SAx!x","tt":"ShipAddrLine1","type":"ft_string","usg":"NOT_USAGE","num":125,"order":4,"lib":">lD>vtxQuZ6TU4xhV:eA","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"KN-CIK]-Wbw#Rd#SAx!x","t":"KN-CIK]-Wbw#Rd#SAx!x"}],"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":"Fko&Hmu:6gGY#a!26i6f","tt":"ShipAddrLine2","type":"ft_string","usg":"NOT_USAGE","num":126,"order":5,"lib":">lD>vtxQuZ6TU4xhV:eA","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"Fko&Hmu:6gGY#a!26i6f","t":"Fko&Hmu:6gGY#a!26i6f"}],"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":"@<iu<S95cdQWRQ@W)HXg","tt":"ShipAddrCity","type":"ft_string","usg":"NOT_USAGE","num":127,"order":6,"lib":">lD>vtxQuZ6TU4xhV:eA","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"@<iu<S95cdQWRQ@W)HXg","t":"@<iu<S95cdQWRQ@W)HXg"}],"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":"!nS#P39YRzxZ4GLw(M:+","tt":"ShipAddrZipCode","type":"ft_string","usg":"NOT_USAGE","num":128,"order":7,"lib":">lD>vtxQuZ6TU4xhV:eA","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"!nS#P39YRzxZ4GLw(M:+","t":"!nS#P39YRzxZ4GLw(M:+"}],"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":")3ajC!wczRGRRJ*;Uo0Z","tt":"ShipAddrState","type":"ft_string","usg":"NOT_USAGE","num":129,"order":8,"lib":">lD>vtxQuZ6TU4xhV:eA","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":")3ajC!wczRGRRJ*;Uo0Z","t":")3ajC!wczRGRRJ*;Uo0Z"}],"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":"%SW!;YJ@aSuYn0aJx@#2","tt":"ShipAddrCountry","type":"ft_string","usg":"NOT_USAGE","num":130,"order":9,"lib":">lD>vtxQuZ6TU4xhV:eA","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"%SW!;YJ@aSuYn0aJx@#2","t":"%SW!;YJ@aSuYn0aJx@#2"}],"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":"KjGqi;>RW[N:+wq50Hhh","tt":"ShipAddrLatitude","type":"ft_string","usg":"NOT_USAGE","num":131,"order":10,"lib":">lD>vtxQuZ6TU4xhV:eA","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"KjGqi;>RW[N:+wq50Hhh","t":"KjGqi;>RW[N:+wq50Hhh"}],"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":"&;]ADoFTpHAtnE4jB>hg","tt":"ShipAddrLongitude","type":"ft_string","usg":"NOT_USAGE","num":132,"order":11,"lib":">lD>vtxQuZ6TU4xhV:eA","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"&;]ADoFTpHAtnE4jB>hg","t":"&;]ADoFTpHAtnE4jB>hg"}],"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":">4h+w%O+H@cdo>[<B<18","tt":"Estimate","type":"ft_subheader","usg":"NOT_USAGE","num":168,"order":12,"lib":">lD>vtxQuZ6TU4xhV:eA","r":false,"stats":"","hint":"","cnt":[{"s":"","i":0,"o":">4h+w%O+H@cdo>[<B<18","t":">4h+w%O+H@cdo>[<B<18"}],"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":"J6*0d<u-L2L[;e3;Mzxd","tt":"Estimate status","type":"ft_script","usg":"NOT_USAGE","num":167,"order":13,"lib":">lD>vtxQuZ6TU4xhV:eA","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":"J6*0d<u-L2L[;e3;Mzxd","t":"J6*0d<u-L2L[;e3;Mzxd"}],"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":"RX0V*QbpkHjvz(Q2uOOv","tt":"Sync estimate","type":"ft_button","usg":"NOT_USAGE","num":170,"order":14,"lib":">lD>vtxQuZ6TU4xhV:eA","r":false,"stats":"","hint":"","cnt":[{"s":"","o":"RX0V*QbpkHjvz(Q2uOOv","t":"RX0V*QbpkHjvz(Q2uOOv"}],"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":"-S!N654d9emxU5S!Fe:Z","tt":"Pause email","type":"ft_button","usg":"NOT_USAGE","num":171,"order":15,"lib":">lD>vtxQuZ6TU4xhV:eA","r":false,"stats":"","hint":"","cnt":[{"s":"","o":"-S!N654d9emxU5S!Fe:Z","t":"-S!N654d9emxU5S!Fe:Z"}],"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":">Hjv)hztkv2eFQUV5!Bu","tt":"Estimate number","type":"ft_string","usg":"USAGE_IN_STATUS","num":160,"order":16,"lib":">lD>vtxQuZ6TU4xhV:eA","r":false,"stats":"","hint":"","cnt":[{"s":"","i":0,"o":">Hjv)hztkv2eFQUV5!Bu","t":">Hjv)hztkv2eFQUV5!Bu"}],"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":"[LelkUukAdzp#F(Vm9m6","tt":"Estimate total","type":"ft_money","usg":"NOT_USAGE","num":161,"order":17,"lib":">lD>vtxQuZ6TU4xhV:eA","r":false,"stats":"","hint":"","cnt":[{"s":"USD","o":"[LelkUukAdzp#F(Vm9m6","t":"[LelkUukAdzp#F(Vm9m6"}],"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":"+Y):C>UuJi8I#mZDT*!<","tt":"estimatePDF","type":"ft_file","usg":"NOT_USAGE","num":157,"order":18,"lib":">lD>vtxQuZ6TU4xhV:eA","r":false,"stats":"","hint":"","cnt":[{"s":"","o":"+Y):C>UuJi8I#mZDT*!<","t":"+Y):C>UuJi8I#mZDT*!<"}],"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":"Hy4pd<xs<C*%Gg;n-mZw","tt":"Estimate date","type":"ft_date","usg":"NOT_USAGE","num":163,"order":19,"lib":">lD>vtxQuZ6TU4xhV:eA","r":false,"stats":"","hint":"","cnt":[{"s":"","i":1,"o":"Hy4pd<xs<C*%Gg;n-mZw","t":"Hy4pd<xs<C*%Gg;n-mZw"}],"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":"PGZb@Ft*nRl8rRXe]74D","tt":"Expiration date","type":"ft_date","usg":"NOT_USAGE","num":164,"order":20,"lib":">lD>vtxQuZ6TU4xhV:eA","r":false,"stats":"","hint":"","cnt":[{"s":"","i":1,"o":"PGZb@Ft*nRl8rRXe]74D","t":"PGZb@Ft*nRl8rRXe]74D"}],"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":"WEbzQagqjN1Q*mfg-h(a","tt":"Customer signature","type":"ft_signature","usg":"NOT_USAGE","num":169,"order":21,"lib":">lD>vtxQuZ6TU4xhV:eA","r":false,"stats":"","hint":"","cnt":[{"s":"{\"_backgroundColor\":-5592406,\"_cropEmpty\":true,\"_fullScreen\":false,\"_height\":1200,\"_paintColor\":-13421773,\"_paintWidth\":5,\"_signatureMode\":true,\"_width\":1080}","o":"WEbzQagqjN1Q*mfg-h(a","t":"WEbzQagqjN1Q*mfg-h(a"}],"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":"@ZlsrSi+p)x7f;ZgAP5f","tt":"Accepted by","type":"ft_string","usg":"NOT_USAGE","num":165,"order":22,"lib":">lD>vtxQuZ6TU4xhV:eA","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"@ZlsrSi+p)x7f;ZgAP5f","t":"@ZlsrSi+p)x7f;ZgAP5f"}],"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":"S>P<%b*@52U%:IIL7&*>","tt":"Estimate accepted","type":"ft_boolean","usg":"NOT_USAGE","num":162,"order":23,"lib":">lD>vtxQuZ6TU4xhV:eA","r":false,"stats":"","hint":"","cnt":[{"s":"Yes::No::0","i":0,"o":"S>P<%b*@52U%:IIL7&*>","t":"S>P<%b*@52U%:IIL7&*>"}],"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":"-+Kk8L!SmiM+:%tPfH:F","tt":"Accepted date","type":"ft_date","usg":"NOT_USAGE","num":166,"order":24,"lib":">lD>vtxQuZ6TU4xhV:eA","r":false,"stats":"","hint":"","cnt":[{"s":"","i":1,"o":"-+Kk8L!SmiM+:%tPfH:F","t":"-+Kk8L!SmiM+:%tPfH:F"}],"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":"SnvTAdZTi5(;&AJ;Mrv%","tt":"Notes","type":"ft_subheader","usg":"NOT_USAGE","num":173,"order":25,"lib":">lD>vtxQuZ6TU4xhV:eA","r":false,"stats":"","hint":"","cnt":[{"i":0,"o":"SnvTAdZTi5(;&AJ;Mrv%","t":"SnvTAdZTi5(;&AJ;Mrv%"}],"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":"IUT;9i+q&Qdm7%Dp)aoN","tt":"CustomerMemo","type":"ft_string","usg":"NOT_USAGE","num":1,"order":26,"lib":">lD>vtxQuZ6TU4xhV:eA","r":false,"stats":"","hint":"Message to the customer","cnt":[{"s":"","i":0,"o":"IUT;9i+q&Qdm7%Dp)aoN","t":"IUT;9i+q&Qdm7%Dp)aoN"}],"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":"#SQ-G!X*9E]o&2Z6K*OT","tt":"PrivateNote","type":"ft_string","usg":"NOT_USAGE","num":124,"order":27,"lib":">lD>vtxQuZ6TU4xhV:eA","r":false,"stats":"","hint":"Does not appear on the invoice to the customer","cnt":[{"s":"","i":0,"o":"#SQ-G!X*9E]o&2Z6K*OT","t":"#SQ-G!X*9E]o&2Z6K*OT"}],"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":"HsMZpLfImoF]x+])k(if","tt":"Item or Service Link","type":"ft_lib_entry","usg":"NOT_USAGE","num":111,"order":28,"lib":">lD>vtxQuZ6TU4xhV:eA","r":false,"stats":"","hint":"","cnt":[{"s":"_index_{\"i\":3,\"t\":\"MQ Items\"}","i":0,"o":"HsMZpLfImoF]x+])k(if","t":"HsMZpLfImoF]x+])k(if"}],"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":"PHc1-bG+lmXfH*uW2mAW","tt":"Lines subtotal","type":"ft_script","usg":"USAGE_IN_STATUS","num":91,"order":29,"lib":">lD>vtxQuZ6TU4xhV:eA","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":"PHc1-bG+lmXfH*uW2mAW","t":"PHc1-bG+lmXfH*uW2mAW"}],"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":"Qd9QPv;3%]aBuU#b<7lv","tt":"Invoice total","type":"ft_money","usg":"NOT_USAGE","num":172,"order":30,"lib":">lD>vtxQuZ6TU4xhV:eA","r":false,"stats":"","hint":"","cnt":[{"s":"USD","o":"Qd9QPv;3%]aBuU#b<7lv","t":"Qd9QPv;3%]aBuU#b<7lv"}],"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":"UcX[2utfoQ*X+7<z&Tjo","tt":"Date","type":"ft_date","usg":"USAGE_IN_STATUS","num":74,"order":31,"lib":">lD>vtxQuZ6TU4xhV:eA","r":true,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"UcX[2utfoQ*X+7<z&Tjo","t":"UcX[2utfoQ*X+7<z&Tjo"}],"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":"Xf0*y!rEw1*gb;Wt2ekB","tt":"DueDate","type":"ft_date","usg":"NOT_USAGE","num":75,"order":32,"lib":">lD>vtxQuZ6TU4xhV:eA","r":true,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"Xf0*y!rEw1*gb;Wt2ekB","t":"Xf0*y!rEw1*gb;Wt2ekB"}],"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":"%dy9Yg<o[*37vcKBr2xX","tt":"Payment Methods","type":"ft_multy_str_list","usg":"NOT_USAGE","num":102,"order":33,"lib":">lD>vtxQuZ6TU4xhV:eA","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":"%dy9Yg<o[*37vcKBr2xX","t":"%dy9Yg<o[*37vcKBr2xX"}],"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":">!VAcOWa0)Cf3j;Y%BuB","tt":"invoicePDF","type":"ft_file","usg":"NOT_USAGE","num":92,"order":34,"lib":">lD>vtxQuZ6TU4xhV:eA","r":false,"stats":"","hint":"","cnt":[{"s":"","o":">!VAcOWa0)Cf3j;Y%BuB","t":">!VAcOWa0)Cf3j;Y%BuB"}],"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":"EWT&d*7H%ZQ#InvWm;Z@","tt":"Invoice number","type":"ft_string","usg":"USAGE_IN_STATUS","num":73,"order":35,"lib":">lD>vtxQuZ6TU4xhV:eA","r":false,"stats":"","hint":"","cnt":[{"s":"","i":0,"o":"EWT&d*7H%ZQ#InvWm;Z@","t":"EWT&d*7H%ZQ#InvWm;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":")!Cr3@N-2ipSILZ]2jvi","tt":"QuickBooks","type":"ft_subheader","usg":"NOT_USAGE","num":104,"order":36,"lib":">lD>vtxQuZ6TU4xhV:eA","r":false,"stats":"","hint":"","cnt":[{"s":"","i":0,"o":")!Cr3@N-2ipSILZ]2jvi","t":")!Cr3@N-2ipSILZ]2jvi"}],"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":"NgtWW[CU)#qRYQz)Qv+4","tt":"qb_act_sync","type":"ft_boolean","usg":"NOT_USAGE","num":117,"order":37,"lib":">lD>vtxQuZ6TU4xhV:eA","r":false,"stats":"","hint":"","cnt":[{"s":"Yes::No::0","i":0,"o":"NgtWW[CU)#qRYQz)Qv+4","t":"NgtWW[CU)#qRYQz)Qv+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":"NQiKjbZ1[&yPoi@jJNu(","tt":"qb_act_dont_send","type":"ft_boolean","usg":"NOT_USAGE","num":121,"order":38,"lib":">lD>vtxQuZ6TU4xhV:eA","r":false,"stats":"","hint":"","cnt":[{"s":"Yes::No::0","i":0,"o":"NQiKjbZ1[&yPoi@jJNu(","t":"NQiKjbZ1[&yPoi@jJNu("}],"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":"YWkiva0N:lp2ClHrY93V","tt":"qb_id","type":"ft_string","usg":"NOT_USAGE","num":88,"order":39,"lib":">lD>vtxQuZ6TU4xhV:eA","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"YWkiva0N:lp2ClHrY93V","t":"YWkiva0N:lp2ClHrY93V"}],"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":"@2PBj8muXIKd!xWup<SD","tt":"qb_state_error","type":"ft_boolean","usg":"NOT_USAGE","num":87,"order":40,"lib":">lD>vtxQuZ6TU4xhV:eA","r":false,"stats":"","hint":"","cnt":[{"s":"Yes::No::0","i":0,"o":"@2PBj8muXIKd!xWup<SD","t":"@2PBj8muXIKd!xWup<SD"}],"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+2f-)v*2z9&YqCBbYj6","tt":"qb_need_to_send","type":"ft_boolean","usg":"NOT_USAGE","num":115,"order":41,"lib":">lD>vtxQuZ6TU4xhV:eA","r":false,"stats":"","hint":"","cnt":[{"s":"Yes::No::0","i":0,"o":"Z+2f-)v*2z9&YqCBbYj6","t":"Z+2f-)v*2z9&YqCBbYj6"}],"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":"!TUO45tc)LauBwDe1)OW","tt":"qb_response","type":"ft_string","usg":"NOT_USAGE","num":94,"order":42,"lib":">lD>vtxQuZ6TU4xhV:eA","r":false,"stats":"","hint":"","cnt":[{"s":"","i":0,"o":"!TUO45tc)LauBwDe1)OW","t":"!TUO45tc)LauBwDe1)OW"}],"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":"L8l*gU9@Dtn6jK!xqhfd","tt":"hide_fields_when_editing","type":"ft_checkboxes","usg":"NOT_USAGE","num":105,"order":43,"lib":">lD>vtxQuZ6TU4xhV:eA","r":false,"stats":"","hint":"","cnt":[{"s":"{\"sl\":[{\"t\":\"Yes\",\"c\":1,\"def\":false,\"c_text\":false,\"f\":false,\"children\":[]}],\"sort\":false}","i":0,"o":"L8l*gU9@Dtn6jK!xqhfd","t":"L8l*gU9@Dtn6jK!xqhfd"}],"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":"LhWmVs2[AdPqKl*y%6qI","tt":"intuit_tid","type":"ft_string","usg":"NOT_USAGE","num":116,"order":44,"lib":">lD>vtxQuZ6TU4xhV:eA","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"LhWmVs2[AdPqKl*y%6qI","t":"LhWmVs2[AdPqKl*y%6qI"}],"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":"HopSZ307Ypg<(Qxrscr2","tt":"qb_sent","type":"ft_boolean","usg":"NOT_USAGE","num":118,"order":45,"lib":">lD>vtxQuZ6TU4xhV:eA","r":false,"stats":"","hint":"","cnt":[{"s":"Yes::No::0","i":0,"o":"HopSZ307Ypg<(Qxrscr2","t":"HopSZ307Ypg<(Qxrscr2"}],"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":"RGWBS*GNsV2e)-2FjO#G","tt":"Invoice create or update status","type":"ft_script","usg":"USAGE_IN_HINT","num":123,"order":46,"lib":">lD>vtxQuZ6TU4xhV:eA","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":"RGWBS*GNsV2e)-2FjO#G","t":"RGWBS*GNsV2e)-2FjO#G"}],"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":"T<Ycls!<t96V2(-*yTu5","tt":"Invoice sending status","type":"ft_script","usg":"USAGE_IN_HINT","num":122,"order":47,"lib":">lD>vtxQuZ6TU4xhV:eA","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":"T<Ycls!<t96V2(-*yTu5","t":"T<Ycls!<t96V2(-*yTu5"}],"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":"P4ltN*VM;5&eP+:PJWkp","tt":"qb_estimate_id","type":"ft_string","usg":"NOT_USAGE","num":153,"order":48,"lib":">lD>vtxQuZ6TU4xhV:eA","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"P4ltN*VM;5&eP+:PJWkp","t":"P4ltN*VM;5&eP+:PJWkp"}],"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":"Hd<-#OwB*@mNnD:k7-jl","tt":"qb_estimate_act_sync","type":"ft_boolean","usg":"NOT_USAGE","num":154,"order":49,"lib":">lD>vtxQuZ6TU4xhV:eA","r":false,"stats":"","hint":"","cnt":[{"s":"Yes::No::0","i":0,"o":"Hd<-#OwB*@mNnD:k7-jl","t":"Hd<-#OwB*@mNnD:k7-jl"}],"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":"+nq*1Ea-fLAZ(9w+*b>r","tt":"qb_estimate_need_to_send","type":"ft_boolean","usg":"NOT_USAGE","num":155,"order":50,"lib":">lD>vtxQuZ6TU4xhV:eA","r":false,"stats":"","hint":"","cnt":[{"s":"Yes::No::0","i":0,"o":"+nq*1Ea-fLAZ(9w+*b>r","t":"+nq*1Ea-fLAZ(9w+*b>r"}],"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*9P5Ov4mN<rpGK2qze;","tt":"qb_estimate_dont_send","type":"ft_boolean","usg":"NOT_USAGE","num":158,"order":51,"lib":">lD>vtxQuZ6TU4xhV:eA","r":false,"stats":"","hint":"","cnt":[{"s":"Yes::No::0","i":0,"o":"E*9P5Ov4mN<rpGK2qze;","t":"E*9P5Ov4mN<rpGK2qze;"}],"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":"Y#*s+onT)9Lz8#*qd<ib","tt":"qb_estimate_sent","type":"ft_boolean","usg":"NOT_USAGE","num":159,"order":52,"lib":">lD>vtxQuZ6TU4xhV:eA","r":false,"stats":"","hint":"","cnt":[{"s":"Yes::No::0","i":0,"o":"Y#*s+onT)9Lz8#*qd<ib","t":"Y#*s+onT)9Lz8#*qd<ib"}],"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\\u003er@Dw\\u003e*\"],\"inv\":[\"+x#8Ifi*]snEJ\\u003er@Dw\\u003e*\",\"M\\u003cBUHyF#: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":"MQ 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":"MQ Customers","id":"XV8*;dv(y3AjeolE+AYr","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\\u003e*DegG9\",\"DwiKak@2PB\\u003c1*jXG*6!p\",\"Uwu3gL:i9S[b)q-8*O2*\",\"MDoYVAk3TjmCcKoFY:AT\",\"X4S6BLvXQJ5mQ%n:Otel\",\"@6arsg%-QRA@DJZu)l\\u003e\\u003c\",\"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\\u003e\\u003c\",\"MDoYVAk3TjmCcKoFY:AT\",\"TWZKhb;(:KDjR\\u003e*DegG9\",\"DwiKak@2PB\\u003c1*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":"(ah@+bD(Z>PIlk:CmzSZ","tt":"DisplayName","type":"ft_string","usg":"USAGE_IN_TITLE","num":0,"order":0,"lib":"XV8*;dv(y3AjeolE+AYr","r":true,"stats":"","hint":"Enter customer's name","cnt":[{"s":"","i":2,"o":"(ah@+bD(Z>PIlk:CmzSZ","t":"(ah@+bD(Z>PIlk:CmzSZ"}],"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":"(@iRp]nL@65FF7-Y[9zY","tt":"PrintOnCheckName","type":"ft_string","usg":"NOT_USAGE","num":124,"order":1,"lib":"XV8*;dv(y3AjeolE+AYr","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"(@iRp]nL@65FF7-Y[9zY","t":"(@iRp]nL@65FF7-Y[9zY"}],"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":"Y!8uG[Dg+yKp&EB8Eh>*","tt":"Notes","type":"ft_string","usg":"NOT_USAGE","num":52,"order":2,"lib":"XV8*;dv(y3AjeolE+AYr","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"Y!8uG[Dg+yKp&EB8Eh>*","t":"Y!8uG[Dg+yKp&EB8Eh>*"}],"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":"Jt*QV2TunRXVMfjbMsEr","tt":"Phone","type":"ft_phone","usg":"NOT_USAGE","num":1,"order":3,"lib":"XV8*;dv(y3AjeolE+AYr","r":false,"stats":"","hint":"Enter customer's phone number","cnt":[{"s":"","o":"Jt*QV2TunRXVMfjbMsEr","t":"Jt*QV2TunRXVMfjbMsEr"}],"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":"ENWna9EBSGv7#KV1MV@!","tt":"Mobile","type":"ft_phone","usg":"NOT_USAGE","num":114,"order":4,"lib":"XV8*;dv(y3AjeolE+AYr","r":false,"stats":"","hint":"Enter customer's mobile number","cnt":[{"s":"","o":"ENWna9EBSGv7#KV1MV@!","t":"ENWna9EBSGv7#KV1MV@!"}],"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":"I+5Ko5>UAcrmSQVXJM!k","tt":"E-mail","type":"ft_email","usg":"NOT_USAGE","num":2,"order":5,"lib":"XV8*;dv(y3AjeolE+AYr","r":true,"stats":"","hint":"Enter customer's e-mail","cnt":[{"s":"","o":"I+5Ko5>UAcrmSQVXJM!k","t":"I+5Ko5>UAcrmSQVXJM!k"}],"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":"VCH;ZzY%0gNHesZK+4Yv","tt":"Details","type":"ft_subheader","usg":"NOT_USAGE","num":74,"order":6,"lib":"XV8*;dv(y3AjeolE+AYr","r":false,"stats":"","hint":"","cnt":[{"s":"","i":0,"o":"VCH;ZzY%0gNHesZK+4Yv","t":"VCH;ZzY%0gNHesZK+4Yv"}],"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":"TrPc5BC<6JvBJ<x)Q*10","tt":"CompanyName","type":"ft_string","usg":"NOT_USAGE","num":75,"order":7,"lib":"XV8*;dv(y3AjeolE+AYr","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"TrPc5BC<6JvBJ<x)Q*10","t":"TrPc5BC<6JvBJ<x)Q*10"}],"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":"@3r[HQxH:qyEyDAd*fS4","tt":"Title","type":"ft_string","usg":"NOT_USAGE","num":76,"order":8,"lib":"XV8*;dv(y3AjeolE+AYr","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"@3r[HQxH:qyEyDAd*fS4","t":"@3r[HQxH:qyEyDAd*fS4"}],"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":"@OB:rggT2qbp@LLypx<*","tt":"FirstName","type":"ft_string","usg":"NOT_USAGE","num":77,"order":9,"lib":"XV8*;dv(y3AjeolE+AYr","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"@OB:rggT2qbp@LLypx<*","t":"@OB:rggT2qbp@LLypx<*"}],"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":"F#2@<nc*Kktwwp1UW*8w","tt":"MiddleName","type":"ft_string","usg":"NOT_USAGE","num":78,"order":10,"lib":"XV8*;dv(y3AjeolE+AYr","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"F#2@<nc*Kktwwp1UW*8w","t":"F#2@<nc*Kktwwp1UW*8w"}],"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":"UqKkF<F%gROtbSSsU-+q","tt":"LastName","type":"ft_string","usg":"NOT_USAGE","num":79,"order":11,"lib":"XV8*;dv(y3AjeolE+AYr","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"UqKkF<F%gROtbSSsU-+q","t":"UqKkF<F%gROtbSSsU-+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":"DV%DlziYY8b*pb8jU@m:","tt":"Parent","type":"ft_lib_entry","usg":"NOT_USAGE","num":101,"order":12,"lib":"XV8*;dv(y3AjeolE+AYr","r":false,"stats":"","hint":"","cnt":[{"s":"_index_{\"i\":1,\"t\":\"MQ Customers\"}","i":0,"o":"DV%DlziYY8b*pb8jU@m:","t":"DV%DlziYY8b*pb8jU@m:"}],"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":"Ttm5*:mFtrz5W6VXErJb","tt":"Job","type":"ft_boolean","usg":"NOT_USAGE","num":102,"order":13,"lib":"XV8*;dv(y3AjeolE+AYr","r":false,"stats":"","hint":"","cnt":[{"s":"Yes::No::0","i":0,"o":"Ttm5*:mFtrz5W6VXErJb","t":"Ttm5*:mFtrz5W6VXErJb"}],"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":"L%B+NtuX9@@Vd9TwNOIP","tt":"BillWithParent","type":"ft_boolean","usg":"NOT_USAGE","num":112,"order":14,"lib":"XV8*;dv(y3AjeolE+AYr","r":false,"stats":"","hint":"","cnt":[{"s":"Yes::No::0","i":0,"o":"L%B+NtuX9@@Vd9TwNOIP","t":"L%B+NtuX9@@Vd9TwNOIP"}],"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":"Zh*(>6tgRBTn*F#0)L+X","tt":"IsProject","type":"ft_boolean","usg":"NOT_USAGE","num":119,"order":15,"lib":"XV8*;dv(y3AjeolE+AYr","r":false,"stats":"","hint":"","cnt":[{"s":"Yes::No::0","i":0,"o":"Zh*(>6tgRBTn*F#0)L+X","t":"Zh*(>6tgRBTn*F#0)L+X"}],"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":"Vb!&4JZ((WMX3>wy&-I#","tt":"JS Background Color","type":"ft_script","usg":"HIDDEN","num":93,"order":16,"lib":"XV8*;dv(y3AjeolE+AYr","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":"Vb!&4JZ((WMX3>wy&-I#","t":"Vb!&4JZ((WMX3>wy&-I#"}],"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":"FP0Q2)OD7PQYm;73xD)#","tt":"thumbnail image","type":"ft_img","usg":"USAGE_IN_ICON","num":99,"order":17,"lib":"XV8*;dv(y3AjeolE+AYr","r":false,"stats":"","hint":"","cnt":[{"s":"","o":"FP0Q2)OD7PQYm;73xD)#","t":"FP0Q2)OD7PQYm;73xD)#"}],"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":"Sef><Ii121Nf*yes-+OM","tt":"Shipping Address","type":"ft_subheader","usg":"NOT_USAGE","num":103,"order":18,"lib":"XV8*;dv(y3AjeolE+AYr","r":false,"stats":"","hint":"","cnt":[{"s":"","i":1,"o":"Sef><Ii121Nf*yes-+OM","t":"Sef><Ii121Nf*yes-+OM"}],"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":"ZedSR4Ll2+!lHY!+0fy:","tt":"ShipAddrLine1","type":"ft_string","usg":"NOT_USAGE","num":106,"order":19,"lib":"XV8*;dv(y3AjeolE+AYr","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"ZedSR4Ll2+!lHY!+0fy:","t":"ZedSR4Ll2+!lHY!+0fy:"}],"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":"!@HgHVJhBtlCAGFg)EVU","tt":"ShipAddrLine2","type":"ft_string","usg":"NOT_USAGE","num":107,"order":20,"lib":"XV8*;dv(y3AjeolE+AYr","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"!@HgHVJhBtlCAGFg)EVU","t":"!@HgHVJhBtlCAGFg)EVU"}],"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":"FbEwM;qPxGR!We[xpCC6","tt":"ShipAddrCity","type":"ft_string","usg":"NOT_USAGE","num":108,"order":21,"lib":"XV8*;dv(y3AjeolE+AYr","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"FbEwM;qPxGR!We[xpCC6","t":"FbEwM;qPxGR!We[xpCC6"}],"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":"#7DSe!eCJFv-DeQ8Ov-L","tt":"ShipAddrZipCode","type":"ft_string","usg":"NOT_USAGE","num":109,"order":22,"lib":"XV8*;dv(y3AjeolE+AYr","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"#7DSe!eCJFv-DeQ8Ov-L","t":"#7DSe!eCJFv-DeQ8Ov-L"}],"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":"VIjHWfGL6lF*#<%3cuSw","tt":"ShipAddrState","type":"ft_string","usg":"NOT_USAGE","num":110,"order":23,"lib":"XV8*;dv(y3AjeolE+AYr","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"VIjHWfGL6lF*#<%3cuSw","t":"VIjHWfGL6lF*#<%3cuSw"}],"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":"TBx[q15qSVS-2<f(cMEU","tt":"ShipAddrCountry","type":"ft_string","usg":"NOT_USAGE","num":111,"order":24,"lib":"XV8*;dv(y3AjeolE+AYr","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"TBx[q15qSVS-2<f(cMEU","t":"TBx[q15qSVS-2<f(cMEU"}],"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":"@m*H@)*FTJZzsm8Hs6GG","tt":"ShipAddrLatitude","type":"ft_string","usg":"NOT_USAGE","num":122,"order":25,"lib":"XV8*;dv(y3AjeolE+AYr","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"@m*H@)*FTJZzsm8Hs6GG","t":"@m*H@)*FTJZzsm8Hs6GG"}],"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":"UL*aLa&66+C9iAbcrgHe","tt":"ShipAddrLongitude","type":"ft_string","usg":"NOT_USAGE","num":123,"order":26,"lib":"XV8*;dv(y3AjeolE+AYr","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"UL*aLa&66+C9iAbcrgHe","t":"UL*aLa&66+C9iAbcrgHe"}],"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":"UjaHRve:BKF4o8SiBpDc","tt":"Billing Address","type":"ft_subheader","usg":"NOT_USAGE","num":104,"order":27,"lib":"XV8*;dv(y3AjeolE+AYr","r":false,"stats":"","hint":"","cnt":[{"s":"","i":1,"o":"UjaHRve:BKF4o8SiBpDc","t":"UjaHRve:BKF4o8SiBpDc"}],"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":"Kg(tsr6qJW*Bgr5fqq!J","tt":"BillAddrLine1","type":"ft_string","usg":"NOT_USAGE","num":82,"order":28,"lib":"XV8*;dv(y3AjeolE+AYr","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"Kg(tsr6qJW*Bgr5fqq!J","t":"Kg(tsr6qJW*Bgr5fqq!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,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"WL8n4<2Tae<RG3miOmTV","tt":"BillAddrLine2","type":"ft_string","usg":"NOT_USAGE","num":105,"order":29,"lib":"XV8*;dv(y3AjeolE+AYr","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"WL8n4<2Tae<RG3miOmTV","t":"WL8n4<2Tae<RG3miOmTV"}],"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":"*K7mep&:%L>yya3w3ZyG","tt":"BillAddrCity","type":"ft_string","usg":"NOT_USAGE","num":81,"order":30,"lib":"XV8*;dv(y3AjeolE+AYr","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"*K7mep&:%L>yya3w3ZyG","t":"*K7mep&:%L>yya3w3ZyG"}],"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":"Ow<&Z5%#TRigYo5*VODI","tt":"BillAddrZipCode","type":"ft_string","usg":"NOT_USAGE","num":83,"order":31,"lib":"XV8*;dv(y3AjeolE+AYr","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"Ow<&Z5%#TRigYo5*VODI","t":"Ow<&Z5%#TRigYo5*VODI"}],"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":")2w#!EY-rw16kDo:6>Dq","tt":"BillAddrState","type":"ft_string","usg":"NOT_USAGE","num":84,"order":32,"lib":"XV8*;dv(y3AjeolE+AYr","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":")2w#!EY-rw16kDo:6>Dq","t":")2w#!EY-rw16kDo:6>Dq"}],"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":"([(qtQ:6ri@u(32X!nYV","tt":"BillAddrCountry","type":"ft_string","usg":"NOT_USAGE","num":96,"order":33,"lib":"XV8*;dv(y3AjeolE+AYr","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"([(qtQ:6ri@u(32X!nYV","t":"([(qtQ:6ri@u(32X!nYV"}],"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":"Fugg2fq#nMzM+lbwF38W","tt":"BillAddrLatitude","type":"ft_string","usg":"NOT_USAGE","num":120,"order":34,"lib":"XV8*;dv(y3AjeolE+AYr","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"Fugg2fq#nMzM+lbwF38W","t":"Fugg2fq#nMzM+lbwF38W"}],"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":")vg1yJtbJk8mo<IjWJDW","tt":"BillAddrLongitude","type":"ft_string","usg":"NOT_USAGE","num":121,"order":35,"lib":"XV8*;dv(y3AjeolE+AYr","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":")vg1yJtbJk8mo<IjWJDW","t":")vg1yJtbJk8mo<IjWJDW"}],"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":"DC;b9yP+;zTW2ztk<yTe","tt":"QuickBooks","type":"ft_subheader","usg":"NOT_USAGE","num":95,"order":36,"lib":"XV8*;dv(y3AjeolE+AYr","r":false,"stats":"","hint":"","cnt":[{"s":"","i":0,"o":"DC;b9yP+;zTW2ztk<yTe","t":"DC;b9yP+;zTW2ztk<yTe"}],"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":"+T2E6UIwD%UZJ3i0;JfC","tt":"qb_id","type":"ft_string","usg":"NOT_USAGE","num":86,"order":37,"lib":"XV8*;dv(y3AjeolE+AYr","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"+T2E6UIwD%UZJ3i0;JfC","t":"+T2E6UIwD%UZJ3i0;JfC"}],"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":"<i%ikh3l+USH@D*H[m[j","tt":"qb_state_error","type":"ft_boolean","usg":"NOT_USAGE","num":92,"order":38,"lib":"XV8*;dv(y3AjeolE+AYr","r":false,"stats":"","hint":"","cnt":[{"s":"Yes::No::0","i":0,"o":"<i%ikh3l+USH@D*H[m[j","t":"<i%ikh3l+USH@D*H[m[j"}],"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":"&O1bgJsd2uL+stdBDD&","tt":"qb_active","type":"ft_boolean","usg":"NOT_USAGE","num":100,"order":39,"lib":"XV8*;dv(y3AjeolE+AYr","r":false,"stats":"","hint":"","cnt":[{"s":"Yes::No::0","i":0,"o":"&O1bgJsd2uL+stdBDD&","t":"&O1bgJsd2uL+stdBDD&"}],"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":"HSm5MlpdP11YAG7:P>W6","tt":"qb_response","type":"ft_string","usg":"NOT_USAGE","num":87,"order":40,"lib":"XV8*;dv(y3AjeolE+AYr","r":false,"stats":"","hint":"","cnt":[{"s":"","i":0,"o":"HSm5MlpdP11YAG7:P>W6","t":"HSm5MlpdP11YAG7:P>W6"}],"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":"(1OlBcJJ#@N@CAXsk7qz","tt":"hide_fields_when_editing","type":"ft_checkboxes","usg":"NOT_USAGE","num":94,"order":41,"lib":"XV8*;dv(y3AjeolE+AYr","r":false,"stats":"","hint":"","cnt":[{"s":"{\"sl\":[{\"t\":\"Yes\",\"c\":1,\"def\":false,\"c_text\":false,\"f\":false,\"children\":[]}],\"sort\":false}","i":0,"o":"(1OlBcJJ#@N@CAXsk7qz","t":"(1OlBcJJ#@N@CAXsk7qz"}],"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":"DKtKNNQi%zQT9477QXaA","tt":"intuit_tid","type":"ft_string","usg":"NOT_USAGE","num":98,"order":42,"lib":"XV8*;dv(y3AjeolE+AYr","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"DKtKNNQi%zQT9477QXaA","t":"DKtKNNQi%zQT9477QXaA"}],"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":"MQ Accounts","id":"*@G0O<+6c#wv2jcnbkY3","color":-921103,"icon":"inline:iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAZaSURBVHic7Z1PbBRVHMe\/s4XKHwurIsbYxGiK9A0JkamakHBT0gsey1FvXpETGtbYxG2i8YIkHvSoF2OJF700IYbEf4lmpzTCviVG5OAf\/jUslBBrYZ8HqeCwtm933u+9mfd+n1vb6e99O7\/Pzsy+vpkFGIZhGIZhmOAYcB3AJUIkv27d+uimS5f+OOE6iysi1wFcIETSBrD57u8ppY62WrMHHEVyRlACCJH8CeC+VTb7WMr0JRt5ikAQAgiRdND733pcynQvRZ4i4bUAQiQqbw2lMNdqpU+byFNEvBTAROO7cE7K9AmCuk7xSgCixmeZlzLdYmEcK3ghgKXGZ1mUMl3nYFyjlFoAR43P0pEyLe18SikFKEjj70HKtHT7s0yBK0Ikt1yH0KFMIhQ+6PDw7vVDQ4s3XOfohzKIUNiAo6PPPRRFNy9T1W82G\/\/5Oo7HqIYqtAiFCybErseB6BxV\/Wzjs4QmQmECbd+e7KxUMEdVf7XGZwlFBOdB4nhsj1LqK6r6vTY+C7EIFQBO39E4EyCOxyaUUp9S1c\/b+CyUImzYEA02Go0lsgFWwLoAQowdANQRqvqmG5+FUoTFxah69mzjKtkAXbAmQBwnk0rhTar61I3PQilCp6MeO3Nm9neyAe6CXIA4Tj5QCq9Q1bfd+CyUIgwMID51KpVkA4BQACGSzwHso6rvuvFZKEWoVPD86dPplxS1jQswOpp8H0V41nTdZYrW+CyUIgDqZSlnPzJZ0ZgAQiQ\/ARgxVS9L0RufhVaE6FUpG+8ZqZS3gBC75oHoQRNhulG2xmchFuEdKRuv5arQ7y8KkdwAsD7P4CtR9sZnoRWh\/5XMPQsgRHIThDeU+Nb4LMQifCFl+mIvv6AtAPUiDN8bn4VShChS3zSbs3u0tl1tA248LcRHhJ+lTFe8MP9fAbjxdqEUQSlcbLXSR7r9rKsAlM3nxq8MoQjTUqb7s99cQzVaFm68Hsv7ifjU8C\/kAnDj+8OWCGQCFK3x03IJ+z\/TW1uqDm9efSNLUItgXICiNd4XqEQwJgA33g6mRcgtADfeDc1mA0op7NjxTK46FUN5GAdEUf5\/5uY+AszMHM8dIsv4+AvGa\/bCtNRfnzkh1mptd\/78BczN\/dhvJDKsTwTpYPK08uT7C\/il3TFWL4vuO4aZmeM4ePAQWQ4N3E4E2Wbo3Wu4\/lchbyIuFF4KEE1ZXVldary6CFTg5veKVwJUuPk9U8hTQNTP+5t628kJXzdrHI9NACC7Fa5f\/DgCvNWuu45QVvwQIMJh1xHKSvkFmLzmzTP7XFB+AdZ0LrmOUGZI7g2cOXNd+4JsfPv9+TL0evFXqzp\/KMbdaO+rKDo2\/tTGCdPjl\/8I0AsFa34RCEkAsucPlZmQBNjmOkARCUmADa4DFJFCzgSSUW8rIPoaUEe7\/nwADbxePWs5lVN8EGAJgN6qDACA2gOg+31ztwDU23e+jlDD4epUnnBFp\/yngFp1kKy2Qh31tsJU2+lKDkrKL4ANFN529c8mavwQYO3SJivjeCiBHwIcenjB2lieSeCHAIDdWb56+7q1sYjxRwDApgQbLY1Djl8CAPYk8ORU4J8AwG0Jbg67jlEG\/BQAAGpbfkOtGpEeEertfDfmFQAfZgJXR1eCyYWtWHPrQg+Vf0ABPnQjD\/4eAfphcuhiaGsGWIDAYQEChwXIMnmV7MHXRaT8F4H1tsmFkp8AKqgXRfkFcHm7lcJeZ2MbIijbjfNG1fzjUSzDAgQOC9AvnswXsAD9seg6gClYgH6oVde5jmAKFqBXPDn0L8MC9IJnzQdYAE2iIz42H\/BjIogQdRS1Bw64TkFJ+QXQfWX+M2WsN2vo6au9G3wKCBwWIHBYgMBhAQJH+yJwZGTn8ODg2t0625789oR2gNtP0CRn\/uSH266M7PtOZ9sRS5kA\/X21cGV+WHdfNZuNad3xta9243hsQilVuEedMvciZardVz4FBA4LEDgsQOCwAIHDAgQOCxA4LEDgsACBwwIEDsl6AP5AafNQffIoHwEChwUIHBYgcFiAwGEBAocFCBwWIHBYgMBhAQKHBQicrosHhUi8eBI2cwelomOtVuOeVcV8BAgcFiBwWIDAYQEChwUIHBYgcFiAwGEBAocFCJyui0KVio7ZDsJQ09F6NgLDMAzDMAwTAH8DU6G58djI\/VYAAAAASUVORK5CYII=","unique_names":false,"entry_pages":"{\"pages\":[{\"d\":true,\"f\":[0,7,8,9,10,11,19,22],\"hidden\":false,\"hide_aggr\":[\"*e8@2t!d\\u003eUa*5*bdFTE7\",\"F!17OEvbHN\\u0026x9xF2aQVs\",\"!2N%ZAqapwMZJ\\u003eD8esmY\",\"*1[oheJ(UMi6\\u003e]0IAJn9\"],\"inv\":[\"*e8@2t!d\\u003eUa*5*bdFTE7\",\"F!17OEvbHN\\u0026x9xF2aQVs\",\"!2N%ZAqapwMZJ\\u003eD8esmY\",\"*1[oheJ(UMi6\\u003e]0IAJn9\"],\"ml\":[],\"t\":\"def_page_title\"},{\"d\":false,\"f\":[],\"hidden\":false,\"hide_aggr\":[],\"inv\":[],\"ml\":[],\"t\":\"Items\"},{\"d\":false,\"f\":[1,14,16,17,18,20,21],\"hidden\":false,\"hide_aggr\":[],\"inv\":[],\"ml\":[],\"t\":\"Service info\"}],\"connectors\":{},\"desc_max_lines\":5,\"name_max_lines\":1,\"notes\":\"\",\"steps\":false}","templates":[{"u":"]77EcECszI+d!M2eU!YT","tt":"Name","type":"ft_string","usg":"USAGE_IN_TITLE","num":0,"order":0,"lib":"*@G0O<+6c#wv2jcnbkY3","r":true,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"]77EcECszI+d!M2eU!YT","t":"]77EcECszI+d!M2eU!YT"}],"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,\"colorizeRules\":\"{\\\"colorTarget\\\":0,\\\"rules\\\":[]}\",\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"fieldDelimiter\":\" \",\"textDrawable\":false}","unique":false,"readonly":false},{"u":"[z72V+#O(#2XycA4*RYv","tt":"AccountType","type":"ft_string","usg":"USAGE_IN_HINT","num":11,"order":1,"lib":"*@G0O<+6c#wv2jcnbkY3","r":true,"stats":"","hint":"","cnt":[{"s":"","i":0,"o":"[z72V+#O(#2XycA4*RYv","t":"[z72V+#O(#2XycA4*RYv"}],"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":false,"readonly":false},{"u":"Tzdo3IeBJwCc%[29*-X&","tt":"SubAccount","type":"ft_boolean","usg":"USAGE_IN_HINT","num":7,"order":2,"lib":"*@G0O<+6c#wv2jcnbkY3","r":false,"stats":"","hint":"","cnt":[{"s":"Yes::No::0","i":0,"o":"Tzdo3IeBJwCc%[29*-X&","t":"Tzdo3IeBJwCc%[29*-X&"}],"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,\"fieldDelimiter\":\" * \",\"textDrawable\":false}","unique":false,"readonly":false},{"u":"Df#!m;xnmqBI%*X5(&m@","tt":"FullyQualifiedName","type":"ft_string","usg":"NOT_USAGE","num":8,"order":3,"lib":"*@G0O<+6c#wv2jcnbkY3","r":false,"stats":"","hint":"","cnt":[{"s":"","i":0,"o":"Df#!m;xnmqBI%*X5(&m@","t":"Df#!m;xnmqBI%*X5(&m@"}],"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":"GMWYuscGf2ILOACE9TEz","tt":"Classification","type":"ft_string","usg":"USAGE_IN_HINT","num":9,"order":4,"lib":"*@G0O<+6c#wv2jcnbkY3","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"GMWYuscGf2ILOACE9TEz","t":"GMWYuscGf2ILOACE9TEz"}],"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\":true}","unique":false,"readonly":false},{"u":"W)0+dl)]GoR4-lJhRzwX","tt":"AccountSubType","type":"ft_string","usg":"USAGE_IN_HINT","num":10,"order":5,"lib":"*@G0O<+6c#wv2jcnbkY3","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"W)0+dl)]GoR4-lJhRzwX","t":"W)0+dl)]GoR4-lJhRzwX"}],"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":false,"readonly":true},{"u":"<La7DshHtSP37xp)vLy+","tt":"JS Background Color","type":"ft_script","usg":"HIDDEN","num":19,"order":6,"lib":"*@G0O<+6c#wv2jcnbkY3","r":false,"stats":"","hint":"","cnt":[{"s":"{\"expr\":\"if (field(\\\"qb_active\\\") == false && field(\\\"qb_id\\\"))\\n    \\\"#A6A6A6\\\"\\nelse if (field(\\\"SubAccount\\\") == true)\\n    \\\"#dff9fb\\\"\\nelse \\n   \\\"#f7f1e3\\\"\",\"res\":4,\"s\":5,\"real_time\":false,\"libs\":[]}","o":"<La7DshHtSP37xp)vLy+","t":"<La7DshHtSP37xp)vLy+"}],"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":"TCUOTH5vHu5@qTfZGnG<","tt":"Appended Note","type":"ft_string","usg":"NOT_USAGE","num":22,"order":7,"lib":"*@G0O<+6c#wv2jcnbkY3","r":false,"stats":"","hint":"","cnt":[{"s":"","i":0,"o":"TCUOTH5vHu5@qTfZGnG<","t":"TCUOTH5vHu5@qTfZGnG<"}],"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":"X9x:DXrvQdKlTriDza3#","tt":"QuickBooks","type":"ft_subheader","usg":"NOT_USAGE","num":14,"order":8,"lib":"*@G0O<+6c#wv2jcnbkY3","r":false,"stats":"","hint":"","cnt":[{"s":"","i":0,"o":"X9x:DXrvQdKlTriDza3#","t":"X9x:DXrvQdKlTriDza3#"}],"depend":"[{\"template_index\":16,\"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":"*]j2*<[uu2*1dthyt:cE","tt":"qb_id","type":"ft_string","usg":"USAGE_IN_STATUS","num":1,"order":9,"lib":"*@G0O<+6c#wv2jcnbkY3","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"*]j2*<[uu2*1dthyt:cE","t":"*]j2*<[uu2*1dthyt:cE"}],"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,\"colorizeRules\":\"{\\\"colorTarget\\\":0,\\\"rules\\\":[]}\",\"descriptionPos\":17,\"directEdit\":6,\"fieldColorTarget\":0,\"font\":{\"color\":0,\"defaultColor\":true,\"family\":\"sans-serif\",\"size\":16,\"style\":0},\"textDrawable\":false}","unique":false,"readonly":false},{"u":"+3q*LLRo&d9x2W5C6%<q","tt":"qb_state_error","type":"ft_boolean","usg":"NOT_USAGE","num":17,"order":10,"lib":"*@G0O<+6c#wv2jcnbkY3","r":false,"stats":"","hint":"","cnt":[{"s":"Yes::No::0","i":0,"o":"+3q*LLRo&d9x2W5C6%<q","t":"+3q*LLRo&d9x2W5C6%<q"}],"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)[uP(Hc#p*D1iL]E<Kj","tt":"qb_active","type":"ft_boolean","usg":"NOT_USAGE","num":21,"order":11,"lib":"*@G0O<+6c#wv2jcnbkY3","r":false,"stats":"","hint":"","cnt":[{"s":"Yes::No::0","i":0,"o":"C)[uP(Hc#p*D1iL]E<Kj","t":"C)[uP(Hc#p*D1iL]E<Kj"}],"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":"!k<h%40TwO([iNxz9%g5","tt":"qb_response","type":"ft_string","usg":"NOT_USAGE","num":18,"order":12,"lib":"*@G0O<+6c#wv2jcnbkY3","r":false,"stats":"","hint":"","cnt":[{"s":"","i":0,"o":"!k<h%40TwO([iNxz9%g5","t":"!k<h%40TwO([iNxz9%g5"}],"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":"L1Xa3xN4kg@&#1!g9u9W","tt":"hide_fields_when_editing","type":"ft_checkboxes","usg":"NOT_USAGE","num":16,"order":13,"lib":"*@G0O<+6c#wv2jcnbkY3","r":false,"stats":"","hint":"","cnt":[{"s":"{\"sl\":[{\"t\":\"Yes\",\"c\":1,\"i\":\"\",\"def\":false,\"c_text\":false,\"f\":false,\"children\":[]}],\"sort\":false}","i":0,"o":"L1Xa3xN4kg@&#1!g9u9W","t":"L1Xa3xN4kg@&#1!g9u9W"}],"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,\"textDrawable\":false}","unique":false,"readonly":true},{"u":"&aZGHG%n:Xa4WwZ1GMO1","tt":"intuit_tid","type":"ft_string","usg":"NOT_USAGE","num":20,"order":14,"lib":"*@G0O<+6c#wv2jcnbkY3","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"&aZGHG%n:Xa4WwZ1GMO1","t":"&aZGHG%n:Xa4WwZ1GMO1"}],"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":"MQ Items","id":"&*mBD0LNFHlWimGB7(Fn","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 \\u003d entry();\\n\\nif(e.field(\\\"ItemType\\\")\\u003d\\u003d\\u003d\\u0027Group\\u0027)\\n{\\n   message(\\\"Bundles (Group items) can\\u0027t be created from Memento. Create the bundle in QuickBooks — it will sync here automatically.\\\");\\n   cancel();\\n}\\n\\nelse if(e.field(\\\"ItemType\\\")\\u003d\\u003d\\u0027Inventory\\u0027 \\u0026\\u0026 !check_inventory_fields())\\n   cancel();\\n\\nelse if(e.field(\\\"ItemType\\\")!\\u003d\\u0027Inventory\\u0027 \\u0026\\u0026 !check_accounts())\\n   cancel();\"},{\"enabled\":true,\"event\":\"MODIFY_ENTRY\",\"jsLibs\":[],\"modifiedTime\":0,\"moment\":\"BEFORE_SAVE\",\"name\":\"Check fields values - EU\",\"restriction\":\"NONE\",\"script\":\"let e\\u003dentry();\\nif (e.field(\\\"ItemType\\\")\\u003d\\u003d\\u003d\\u0027Group\\u0027)\\n{\\n\\tif (!e.field(\\\"qb_id\\\"))\\n\\t\\tmessage(\\\"Bundles (Group items) can\\u0027t be created from Memento. Create the bundle in QuickBooks — it will sync here automatically.\\\");\\n\\telse\\n\\t\\tmessage(\\\"Bundles (Group items) can\\u0027t be edited in Memento. Edit the bundle in QuickBooks — it will sync here automatically.\\\");\\n\\tcancel();\\n}\\n\\nelse if (e.field(\\\"qb_id\\\") \\u0026\\u0026 (e.field(\\\"ItemType\\\") !\\u003d _ItemType))\\n{\\n\\tmessage (\\\"Changing ItemType for existing items is allowed in QuickBooks only.\\\");\\n\\tcancel();\\n}\\n\\nelse if (e.field(\\\"ItemType\\\")!\\u003d\\u0027Group\\u0027) {\\n\\tif(e.field(\\\"ItemType\\\")!\\u003d\\u0027Inventory\\u0027 \\u0026\\u0026 !check_accounts())\\n\\t\\tcancel();\\n\\n\\telse if(e.field(\\\"ItemType\\\")\\u003d\\u003d\\u0027Inventory\\u0027 \\u0026\\u0026 !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 \\u003d 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 \\u003d {\\n    \\\"Name\\\": 100,\\n    \\\"Description\\\": 4000,\\n    \\\"Sku\\\": 100,\\n}\\n\\n\\nfunction check_inventory_fields()\\n{\\nlet e \\u003d 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}\\nif (e.field(\\\"AssetAccountLink\\\")\\u003d\\u003d\\u0027[]\\u0027) {\\n\\tmessage(\\\"AssetAccount for an Inventory item is required!\\\");\\n\\treturn false;\\n}\\nif (e.field(\\\"IncomeAccountLink\\\")\\u003d\\u003d\\u0027[]\\u0027) {\\n\\tmessage(\\\"IncomeAccount for an Inventory item is required!\\\");\\n\\treturn false;\\n}\\nif (e.field(\\\"ExpenseAccountLink\\\")\\u003d\\u003d\\u0027[]\\u0027) {\\n\\tmessage(\\\"ExpenseAccount for an Inventory item is required!\\\");\\n\\treturn false;\\n}\\nreturn true;\\n}\\n\\n\\n\\nfunction check_accounts()\\n{\\nlet e \\u003d entry();\\nif (e.field(\\\"IncomeAccountLink\\\")\\u003d\\u003d\\u0027[]\\u0027 \\u0026\\u0026 e.field(\\\"ExpenseAccountLink\\\")\\u003d\\u003d\\u0027[]\\u0027) {\\n\\tmessage(\\\"IncomeAccount or ExpenseAccount is required!\\\");\\n\\treturn false;\\n}\\nreturn true;\\n}\\n\\n\\nfunction check_fields_length()\\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\"}]","entry_pages":"{\"pages\":[{\"d\":true,\"f\":[2,12,18,21,22,23,24,26,28,32,33,34,35,36,37],\"hidden\":false,\"hide_aggr\":[\"R:;%PlatY!d*TAs3n4oW\",\"\\u003eTHFgVXEjD-j#5ms:7:b\",\"QJ\\u003e9]0Pr(+CM:i\\u0026wzoo+\",\"IclEjtnMzT#24)@ZRQv!\",\"[dqLy7W8rPGkSs4Uw*AQ\"],\"inv\":[\"R:;%PlatY!d*TAs3n4oW\",\"\\u003eTHFgVXEjD-j#5ms:7:b\",\"QJ\\u003e9]0Pr(+CM:i\\u0026wzoo+\",\"IclEjtnMzT#24)@ZRQv!\",\"[dqLy7W8rPGkSs4Uw*AQ\"],\"ml\":[\"_index_{\\\"i\\\":0,\\\"t\\\":\\\"MQ 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":"PaBWa6>M([dC)+*JZmql","tt":"Name","type":"ft_string","usg":"USAGE_IN_TITLE","num":2,"order":0,"lib":"&*mBD0LNFHlWimGB7(Fn","r":true,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"PaBWa6>M([dC)+*JZmql","t":"PaBWa6>M([dC)+*JZmql"}],"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":"W;+ESd;3tHnPArDp3U)U","tt":"ItemType","type":"ft_str_list","usg":"NOT_USAGE","num":24,"order":1,"lib":"&*mBD0LNFHlWimGB7(Fn","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":"W;+ESd;3tHnPArDp3U)U","t":"W;+ESd;3tHnPArDp3U)U"}],"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":"LSYwzGxY@q*Zz*#mRQ8u","tt":"InventoryStartDate","type":"ft_date","usg":"NOT_USAGE","num":32,"order":2,"lib":"&*mBD0LNFHlWimGB7(Fn","r":false,"stats":"","hint":"","cnt":[{"s":"","i":1,"o":"LSYwzGxY@q*Zz*#mRQ8u","t":"LSYwzGxY@q*Zz*#mRQ8u"}],"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":"FM!3y<A@kICJ48)vnMN%","tt":"TrackQuantityOnHand","type":"ft_boolean","usg":"NOT_USAGE","num":34,"order":3,"lib":"&*mBD0LNFHlWimGB7(Fn","r":false,"stats":"","hint":"","cnt":[{"s":"Yes::No::0","i":0,"o":"FM!3y<A@kICJ48)vnMN%","t":"FM!3y<A@kICJ48)vnMN%"}],"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":"+pp1dL@lygo1Jv+a&KSl","tt":"QuantityOnHand","type":"ft_real","usg":"NOT_USAGE","num":33,"order":4,"lib":"&*mBD0LNFHlWimGB7(Fn","r":false,"stats":"","hint":"","cnt":[{"s":"","o":"+pp1dL@lygo1Jv+a&KSl","t":"+pp1dL@lygo1Jv+a&KSl"}],"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":"HOb1f]Qe*5Ji!sse<gUe","tt":"Taxable","type":"ft_boolean","usg":"NOT_USAGE","num":28,"order":5,"lib":"&*mBD0LNFHlWimGB7(Fn","r":false,"stats":"","hint":"","cnt":[{"s":"Yes::No::0","i":0,"o":"HOb1f]Qe*5Ji!sse<gUe","t":"HOb1f]Qe*5Ji!sse<gUe"}],"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":"VACpQ1WP8]PN<;ID!duk","tt":"Sku","type":"ft_string","usg":"NOT_USAGE","num":35,"order":6,"lib":"&*mBD0LNFHlWimGB7(Fn","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"VACpQ1WP8]PN<;ID!duk","t":"VACpQ1WP8]PN<;ID!duk"}],"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":"WvKofE4aiO-3W4yZgMy7","tt":"Description","type":"ft_string","usg":"NOT_USAGE","num":26,"order":7,"lib":"&*mBD0LNFHlWimGB7(Fn","r":false,"stats":"","hint":"","cnt":[{"s":"","i":0,"o":"WvKofE4aiO-3W4yZgMy7","t":"WvKofE4aiO-3W4yZgMy7"}],"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":"]2K94#qeXmJwpHuXjlRP","tt":"PurchaseCost","type":"ft_money","usg":"NOT_USAGE","num":36,"order":8,"lib":"&*mBD0LNFHlWimGB7(Fn","r":false,"stats":"","hint":"","cnt":[{"s":"USD","o":"]2K94#qeXmJwpHuXjlRP","t":"]2K94#qeXmJwpHuXjlRP"}],"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":"PHnqOx@j;3xGoHU12n)7","tt":"UnitPrice","type":"ft_money","usg":"NOT_USAGE","num":12,"order":9,"lib":"&*mBD0LNFHlWimGB7(Fn","r":false,"stats":"","hint":"","cnt":[{"s":"USD","o":"PHnqOx@j;3xGoHU12n)7","t":"PHnqOx@j;3xGoHU12n)7"}],"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":"JXZcKMd!ZD%iF>j-[(jg","tt":"AssetAccountLink","type":"ft_lib_entry","usg":"NOT_USAGE","num":21,"order":10,"lib":"&*mBD0LNFHlWimGB7(Fn","r":false,"stats":"","hint":"","cnt":[{"s":"_index_{\"i\":2,\"t\":\"MQ Accounts\"}","i":0,"o":"JXZcKMd!ZD%iF>j-[(jg","t":"JXZcKMd!ZD%iF>j-[(jg"}],"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":0,"json_options":"{\"compactEditMode\":false,\"compactViewMode\":false,\"defaultEntriesIds\":[],\"relationType\":1,\"attrJsonTemplates\":[],\"maxObjects\":2147483647,\"colSpan\":1,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"UsRqG*nTT3Gc>5x1t0yd","tt":"IncomeAccountLink","type":"ft_lib_entry","usg":"NOT_USAGE","num":22,"order":11,"lib":"&*mBD0LNFHlWimGB7(Fn","r":false,"stats":"","hint":"","cnt":[{"s":"_index_{\"i\":2,\"t\":\"MQ Accounts\"}","i":0,"o":"UsRqG*nTT3Gc>5x1t0yd","t":"UsRqG*nTT3Gc>5x1t0yd"}],"depend":"[{\"template_index\":24,\"type_class\":\"com.luckydroid.droidbase.depend.VisibleFieldDependType\",\"only_edit\":false,\"group_type\":0,\"depends\":[{\"key\":\"visible\",\"values\":[\"2\",\"3\",\"4\"]}]}]","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,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"#01e@wQMa)*25qkb9jmX","tt":"ExpenseAccountLink","type":"ft_lib_entry","usg":"NOT_USAGE","num":23,"order":12,"lib":"&*mBD0LNFHlWimGB7(Fn","r":false,"stats":"","hint":"","cnt":[{"s":"_index_{\"i\":2,\"t\":\"MQ Accounts\"}","i":0,"o":"#01e@wQMa)*25qkb9jmX","t":"#01e@wQMa)*25qkb9jmX"}],"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,\"descriptionPos\":17,\"directEdit\":0,\"fieldColorTarget\":0,\"textDrawable\":false}","unique":false,"readonly":false},{"u":"Z#SY:&llL7*Iyk3R[-&a","tt":"JS Background Color","type":"ft_script","usg":"HIDDEN","num":18,"order":13,"lib":"&*mBD0LNFHlWimGB7(Fn","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":"Z#SY:&llL7*Iyk3R[-&a","t":"Z#SY:&llL7*Iyk3R[-&a"}],"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":"KlJ[Uce]9[TPaPN&-6#v","tt":"BundleContents","type":"ft_string","usg":"NOT_USAGE","num":37,"order":14,"lib":"&*mBD0LNFHlWimGB7(Fn","r":false,"stats":"","hint":"","cnt":[{"s":"","i":0,"o":"KlJ[Uce]9[TPaPN&-6#v","t":"KlJ[Uce]9[TPaPN&-6#v"}],"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":"GH5z+k[AneTX4odCNss4","tt":"QuickBooks","type":"ft_subheader","usg":"NOT_USAGE","num":20,"order":15,"lib":"&*mBD0LNFHlWimGB7(Fn","r":false,"stats":"","hint":"","cnt":[{"s":"","i":0,"o":"GH5z+k[AneTX4odCNss4","t":"GH5z+k[AneTX4odCNss4"}],"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":"*D*7]k#&]NXNQGz(t!vk","tt":"qb_id","type":"ft_string","usg":"NOT_USAGE","num":1,"order":16,"lib":"&*mBD0LNFHlWimGB7(Fn","r":false,"stats":"","hint":"","cnt":[{"s":"","i":0,"o":"*D*7]k#&]NXNQGz(t!vk","t":"*D*7]k#&]NXNQGz(t!vk"}],"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":"@DSoqBj43-<IQrjjwzH7","tt":"qb_state_error","type":"ft_boolean","usg":"NOT_USAGE","num":17,"order":17,"lib":"&*mBD0LNFHlWimGB7(Fn","r":false,"stats":"","hint":"","cnt":[{"s":"Yes::No::0","i":0,"o":"@DSoqBj43-<IQrjjwzH7","t":"@DSoqBj43-<IQrjjwzH7"}],"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":"UGxrqc2+-Osh+0FLzoPG","tt":"qb_active","type":"ft_boolean","usg":"NOT_USAGE","num":30,"order":18,"lib":"&*mBD0LNFHlWimGB7(Fn","r":false,"stats":"","hint":"","cnt":[{"s":"Yes::No::0","i":0,"o":"UGxrqc2+-Osh+0FLzoPG","t":"UGxrqc2+-Osh+0FLzoPG"}],"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":"(DmW;hRwg6X8fY4i8OuW","tt":"qb_response","type":"ft_string","usg":"NOT_USAGE","num":5,"order":19,"lib":"&*mBD0LNFHlWimGB7(Fn","r":false,"stats":"","hint":"","cnt":[{"s":"","i":0,"o":"(DmW;hRwg6X8fY4i8OuW","t":"(DmW;hRwg6X8fY4i8OuW"}],"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":"CPxL70ZFIg#]*2BMc;PB","tt":"hide_fields_when_editing","type":"ft_checkboxes","usg":"NOT_USAGE","num":19,"order":20,"lib":"&*mBD0LNFHlWimGB7(Fn","r":false,"stats":"","hint":"","cnt":[{"s":"{\"sl\":[{\"t\":\"Yes\",\"c\":1,\"def\":false,\"c_text\":false,\"f\":false,\"children\":[]}],\"sort\":false}","i":0,"o":"CPxL70ZFIg#]*2BMc;PB","t":"CPxL70ZFIg#]*2BMc;PB"}],"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":"C%Fu3F4UqN[FOk+18DuY","tt":"intuit_tid","type":"ft_string","usg":"NOT_USAGE","num":29,"order":21,"lib":"&*mBD0LNFHlWimGB7(Fn","r":false,"stats":"","hint":"","cnt":[{"s":"","i":2,"o":"C%Fu3F4UqN[FOk+18DuY","t":"C%Fu3F4UqN[FOk+18DuY"}],"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}]}]}