diff --git a/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/files/QuickArchiveFileSearchPanel.java b/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/files/QuickArchiveFileSearchPanel.java index db8742f4e..1484ccc27 100755 --- a/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/files/QuickArchiveFileSearchPanel.java +++ b/j-lawyer-client/src/com/jdimension/jlawyer/client/editors/files/QuickArchiveFileSearchPanel.java @@ -1257,6 +1257,8 @@ private void mnuDuplicateSelectedArchiveFilesActionPerformed(java.awt.event.Acti source.setArchived(false); source.setClaimNumber(""); source.setClaimValue(0f); + // reset external IDs + source.setExternalId(null); ArchiveFileBean target=fileService.createArchiveFile(source); @@ -1270,7 +1272,7 @@ private void mnuDuplicateSelectedArchiveFilesActionPerformed(java.awt.event.Acti newAab.setCustom2(aab.getCustom2()); newAab.setCustom3(aab.getCustom3()); newAab.setReferenceType(aab.getReferenceType()); - target.addParty(newAab); + fileService.addAddressToCase(newAab); }