Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何强制删除一条读者记录 #1166

Open
DigitalPlatform opened this issue Oct 31, 2022 · 0 comments
Open

如何强制删除一条读者记录 #1166

DigitalPlatform opened this issue Oct 31, 2022 · 0 comments

Comments

@DigitalPlatform
Copy link
Owner

DigitalPlatform commented Oct 31, 2022

在内务读者窗中删除读者记录的时候,如果这条读者记录中含有 borrow 元素,则删除会报错说还有借阅信息无法删除。

正常情况下,需要先将这名读者的在借册全部还回,然后再对读者记录进行删除。

但如果这条读者记录本身就是有问题的记录,其中的 borrow 元素属于残留的借阅信息,相关的册记录已经没有 borrower 元素,那就没法进行还书操作了,因为还书操作时会报错说册没有外借过无法进行还书。

有两种方法删除这条读者记录(两个方法用其中一个就可以):

强制删除读者记录

这时,可以用按住 Ctrl 键再点删除按钮的方法,改为强制删除读者记录。

先清理读者记录中的 borrow 元素,然后再进行删除

当检查确定这些 borrow 元素是无效的内容(也就是说并没有对应的册记录表示被此读者借阅),可以先强制修改读者记录 XML,先清除掉这些 borrow 元素,操作步骤如下:

  1. 点读者窗工具条上的 ... 按钮,在弹出的菜单中使用“编辑读者记录 XML”,在随后弹出的对话框中编辑 XML 内容,把相关 borrow 元素清除。然后点“确定”关闭此对话框。
  2. 点工具条保存按钮右侧的向下三角,在弹出菜单中使用“保存(强制修改)”命令。则可以完成保存。

此时读者记录中已经没有 borrow 元素了,可以再用工具条的删除按钮进行删除。

注:以上两种用法需要先将 dp2circulation 升级到最新版

@DigitalPlatform DigitalPlatform changed the title 如何删除一个证条码号为空的读者 如何强制删除一条读者记录 Oct 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant