public static void DetachEraClaim(Hx835_Claim claimPaid)
        {
            Etrans835Attaches.DeleteMany(claimPaid.ClpSegmentIndex, claimPaid.Era.EtransSource.EtransNum);
            Etrans835Attach attach = new Etrans835Attach();

            attach.EtransNum       = claimPaid.Era.EtransSource.EtransNum;
            attach.ClaimNum        = 0;
            attach.ClpSegmentIndex = claimPaid.ClpSegmentIndex;
            Etrans835Attaches.Insert(attach);
            claimPaid.IsAttachedToClaim = true;
            claimPaid.ClaimNum          = 0;
        }
Example #2
0
		public static void Delete835(Etrans etrans) {
			EtransMessageTexts.Delete(etrans.EtransMessageTextNum,etrans.EtransNum);
			Etranss.Delete(etrans.EtransNum);
			Etrans835Attaches.DeleteMany(-1,etrans.EtransNum);
		}