Skip to content

Instantly share code, notes, and snippets.

@TonyRenHK
Created June 20, 2016 02:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TonyRenHK/a87338603d0a52f55cadf73029796d4b to your computer and use it in GitHub Desktop.
Save TonyRenHK/a87338603d0a52f55cadf73029796d4b to your computer and use it in GitHub Desktop.
List<ASI_MFM_PO__c> List_View = [select id,ownerid from ASI_MFM_PO__c where ownerid = '005D00000023lLv' and id!='a9AD00000001Z8xMAE'
and id !='a9AD00000001Z3nMAE' and id!='a9AD00000001Z92MAE'
and id !='a9AD00000001Z3TMAU' and id!='a9AD00000001Z8sMAE'
and id !='a9AD00000001Z68MAE' and id !='a9AD0000000XaJDMA0' and id !='a9AD00000001Z97MAE' and id !='a9AD00000001Z63MAE' and id !='a9AD00000001Z3iMAE'
and id !='a9AD0000000XaItMAK' and id !='a9AD00000001iXzMAI' and id !='a9AD00000001fT6MAI'];
for (ASI_MFM_PO__c ListA : List_View) {
ListA.ownerid = '005D000000259Yq';
}
update List_View;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment