Sunday 27 December 2015

Deleting multiple records using scripting in siebel

Below is small script that help you to delete multiple selected records by users-

function deleteSelectedRows(){
try{
var bExist = "";
bExist = this.BusComp().FirstSelected();
while(bExist){
this.InvokeMethod("DeleteRecord");
bExist = this.BusComp().NextSelected();
}
this.BusComp().WriteRecord();
return (CancelOperation);
}
catch(e){
throw e;

}

No comments:

Post a Comment