select id, name, recordtypeid, billingstreet, billingcity
, billingstate, billingpostalcode, billingcountry
, billingstatecode, billingcountrycode
, billinglatitude, billinglongitude, billinggeocodeaccuracy
from account
where billinggeocodeaccuracy!=null
order by billingcountrycode,billingstatecode desc
österreich-at-austria
großbritannien-gb-united kingdom
2.pdf不加id是能夠開啟pdf的,加了之後後台也會報錯的,所以應該優先看pdf是否正確,不一定需要走一遍流程。
後台也會報錯的without querying the requested field: asset.vehiclevariant__c
select definition.developername
from flow
where status = 『active』
and (processtype = 『autolaunchedflow』 or processtype = 『workflow』 or processtype = 『customevent』 or processtype = 『invocableprocess』)
and id not in (select flowversionid from flowtestcoverage)
//field name and label
map, schema.sobjectfield> map_name_field = schema.getglobaldescribe().get('account').getdescribe().fields.getmap();
for (string name : map_name_field.keyset())
map_obj_fieldlabel.put('account', getfieldlabels('account'));
public static map, string> getfieldlabels(string sobjectname)
map , schema.sobjecttype> gd = schema.getglobaldescribe();
schema.sobjecttype sobjtype = gd.get(sobjectname);
if (sobjtype == null) return null;
schema.describesobjectresult dsr = sobjtype.getdescribe();
if (dsr == null) return null;
map, schema.sobjectfield> map_name_field = dsr.fields.getmap();
if (map_name_field == null |
| map_name_field.isempty()) return null;
for (string name : map_name_field.keyset())
return map_apiname_label;
}
//object permission current user
boolean isupdateable = schema.getglobaldescribe().get('account').getdescribe().isupdateable();
system.debug('isupdateable:
:' + isupdateable);
for(schema.childrelationship child : account.sobjecttype.getdescribe().getchildrelationships())
string s;
s.tolowercase(); // since s is null, this call causes a nullpointerexception
parameters
callback : function
the method to call after reestablishing aura context.
不加$a.getcallback(function callback),會導致只有空閒時才callback,
就是f12開啟控制台、切換頁面、甚至單擊頁面時才callback,loading才消失!!!
b*[^:b#/]+.*$
database.leadconvertresult lcr = database.
convertlead
(lc)
;
var mapcategory =
; listchecklistitem.
foreach
(function
(value, index, array)
mapcategory[value.category__c]
= category;
}else
mapcategory[value.category__c]
= category;}}
}); component.
set(
"v.checklist"
, checklist)
; component.
set(
"v.listcategory"
, object.
values
(mapcategory));
console.
log(mapcategory)
;
base_abs_triggerdispatcher abstriggerdispatcher =
(base_abs_triggerdispatcher)type.
forname
('base_abs_triggerdispatcher').
newinstance()
;
建立本地git倉庫,可以看到拉下來的**和原來本地**的changes,棒! acm 點點滴滴
qsort排序方法 六種qsort排序方法 本文中排序都是採用的從小到大排序 一 對int型別陣列排序 int num 100 sample int cmp const void a const void b qsort num,100,sizeof num 0 cmp 二 對char型別陣列排序 ...
sizeof 點點滴滴
1.靜態變數是存放在全域性資料區中的,sizeof計算棧中分配的大小,所以類或結構體中的靜態變數時不會計算在sizeof內的!2.sizeof和strlen的區別 1 sizeof操作符的結果型別是size t,它在標頭檔案中的typedef為unsigned int型別。該型別保證能容納實現所建立...
Elastic search點點滴滴
在打造集中化日誌那篇中,稍微提了下elastic search。elk打造集中化日誌 elastic search是elk的核心,寫的時候重點也放在它上面,不過還是覺得深度挖掘得不是太夠,所以決定再另寫一篇重點介紹下elastic search。正如elastic的本義一樣,es就是為擴充套件而生,...