コード例 #1
0
 private void TransferClaimsPayAsTotal()
 {
     ClaimProcs.FixClaimsNoProcedures(_listFamilyPatNums);
     if (!ProcedureCodes.GetContainsKey("ZZZFIX"))
     {
         Cache.Refresh(InvalidType.ProcCodes);                //Refresh local cache only because middle tier has already inserted the signal.
     }
     try {
         _claimTransferResult = ClaimProcs.TransferClaimsAsTotalToProcedures(_listFamilyPatNums);
     }
     catch (ApplicationException ex) {
         FriendlyException.Show(ex.Message, ex);
         return;
     }
     if (_claimTransferResult != null && _claimTransferResult.ListInsertedClaimProcs.Count > 0)           //valid and items were created
     {
         SecurityLogs.MakeLogEntry(Permissions.ClaimProcReceivedEdit, _patCur.PatNum, "Automatic transfer of claims pay as total from income transfer.");
     }
 }