| | |
| | | ProcessPIForAWS({},GetEditObj()); |
| | | } |
| | | function Trans(){ |
| | | console.log('SFRcordId:'+document.getElementById('Page:mainForm:sfContactId').value); |
| | | AWSService.postAWS(staticResources.transactionUrl,AWSService.confirmTrans, JSON.stringify({ |
| | | "txId":aws_result.txId, |
| | | "sfRecordId":"", |
| | | "sfRecordId":document.getElementById('Page:mainForm:sfContactId').value, |
| | | "isSuccess":1 |
| | | }), function(result){ |
| | | window.location.reload(); |
| | |
| | | <apex:actionFunction name="editVistor" action="{!editVistor}" rerender="idRegistration" oncomplete="assignDencrypted();setButtonDisable(document.getElementById('Page:mainForm:idSearchVisitor:idRegSave'), false);"> |
| | | <apex:param name="index" assignTo="{!index}" value=""/> |
| | | </apex:actionFunction> |
| | | <apex:actionFunction name="saveNew" action="{!regContact}" rerender="idRegistration,idRezultVisitor,idAddVisitor,idMessage" onComplete="Trans();"> |
| | | <apex:actionFunction name="saveNew" action="{!regContact}" rerender="idRegistration,idRezultVisitor,idAddVisitor,idMessage,sfContactId" onComplete="Trans()"> |
| | | </apex:actionFunction> |
| | | <!-- Add By Li Jun for PIPL 20220228 Start --> |
| | | <apex:inputHidden id="LastName_Encrypted__c" value="{!rc.LastName_Encrypted__c}"/> |
| | |
| | | <apex:inputHidden id="Doctor_Division1_Encrypted__c" value="{!rc.Doctor_Division1_Encrypted__c}"/> |
| | | |
| | | <apex:inputHidden id="AWS_Data_Id__c" value="{!rc.AWS_Data_Id__c}"/> |
| | | <apex:inputHidden id="sfContactId" value="{!sfContactId}"/> |
| | | <!-- Add By Li Jun for PIPL 20220221 End --> |
| | | <apex:pageBlock id="idSearchVisitor" > |
| | | <table width="1060" height="50" border="0"> |