11 lines
416 B
OpenEdge ABL
11 lines
416 B
OpenEdge ABL
public with sharing class FileDescrip {
|
|
@AuraEnabled(cacheable=false)
|
|
public static void updateFileDescription(Id recordId, String description) {
|
|
System.debug('Record Id' + recordId);
|
|
System.debug('description' + description);
|
|
|
|
Account acc = [SELECT Id, File_Description__c FROM Account WHERE Id = :recordId];
|
|
acc.File_Description__c = description;
|
|
update acc;
|
|
}
|
|
} |