salesforce-appraiser-review.../force-app/main/default
paulh 0ce516bbfc Fix LWC async bug, null guard, stale sample script; update manifest
LWC fixes:
- clmDocGenWorkbench: resetSelectionsToDefaults was a sync onclick handler
  calling async initializeDefaults without await — isBusy not set and errors
  silently dropped; made the method async and added await
- clmRequestPreview: loadPreview called from refreshAll (account/letter change
  handlers) without a recordId guard; a null appraiserCaseId would propagate
  to the Apex AuraHandledException; added early return with a user-facing message

manifest/package.xml:
- Was missing CLM_Account_Setting__mdt and CLM_Letter_Definition__mdt objects
  and all 17 custom metadata records
- Missing DocusignESignatureService and its test class
- Missing docusignEsignWorkbench and clmRequestPreview LWC components
- Missing NamedCredential section entirely (CLMs1*, CLMuat*, Esignature_Demo)
- Missing CLM Account Setting and Letter Definition layouts

scripts/apex/createSampleAppraiserCase.apex:
- Rewrote entirely; old version referenced the deleted Appraiser_Deficiency__c
  object, Sort_Order__c, Deficiency_Number__c as a string, and the deleted
  AppraiserCaseDocGenService class
- Now uses Appraiser_Case_Deficiency__c with correct field types
- Populates all appraiser identity/address fields added since original version
- Debug output uses AppraiserCasePayloadBuilder and CLMDocGenCallout

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-09 20:50:57 -04:00
..
applications Add new Salesforce metadata for account-based CLM and eSignature integration 2026-04-09 20:35:59 -04:00
classes Add CLMAdminService, DocusignESignatureService, and fix code review issues 2026-04-09 20:36:16 -04:00
customMetadata Add new Salesforce metadata for account-based CLM and eSignature integration 2026-04-09 20:35:59 -04:00
externalCredentials Initial commit: Salesforce Appraiser Review Letter with DocuSign CLM integration 2026-04-03 12:13:59 -04:00
flexipages Add new Salesforce metadata for account-based CLM and eSignature integration 2026-04-09 20:35:59 -04:00
layouts Add new Salesforce metadata for account-based CLM and eSignature integration 2026-04-09 20:35:59 -04:00
lwc Fix LWC async bug, null guard, stale sample script; update manifest 2026-04-09 20:50:57 -04:00
namedCredentials Add new Salesforce metadata for account-based CLM and eSignature integration 2026-04-09 20:35:59 -04:00
objects Add new Salesforce metadata for account-based CLM and eSignature integration 2026-04-09 20:35:59 -04:00
permissionsets Add new Salesforce metadata for account-based CLM and eSignature integration 2026-04-09 20:35:59 -04:00
quickActions Add new Salesforce metadata for account-based CLM and eSignature integration 2026-04-09 20:35:59 -04:00
tabs Add new Salesforce metadata for account-based CLM and eSignature integration 2026-04-09 20:35:59 -04:00