Satış Projeleri BeforeSave Script
Satış Projeleri
if(this.recordService.component.allFormControls['ID'].value){
this.recordService.component.api.execSP({
Object:'SP_SALES_CHECK_RES_DATES',
Parameters:{
"SALESPROJECTID":this.recordService.component.allFormControls.ID.value
}
}).subscribe(
resp=>{
//this.recordService.component.allFormControls['CARDNO'].setValue(resp[0][0].CARDNO);
//const msg = angus.languageService.dynamicTranslator.translate(resp[0][0].CARDNO);
if(resp[0][0].SUCCESS=="0")
this.recordService.component.angusDialog.warn(resp[0][0].MSGCODE);
})
}
Last updated