Wartung / Maintencance - Upgrade Version 8.5.12 - Mittwoch/Wednesday - 2024-08-28 07:30-09:00 a.m.
Seitenhistorie
...
Datum | geändert von | Beschreibung |
---|---|---|
2011-05-28 | Althaus | neu erstellt |
...
Code
dnb_
...
erwerbung.js
...
Codeblock |
---|
function SetzeStatusD() { if (application.activeWindow.getVariable("scr") != "8A"){ application.messageBox("Datensatzkopie","Der Datensatz muss sich in der Vollanzeige befinden!", "alert-icon"); } else { application.activeWindow.command("k",false); __dnbUpdateStatusPos(1,"d",true) application.activeWindow.simulateIBWKey ("FR"); } } |
*dnb_public.js
Codeblock |
---|
function __dnbUpdateStatusPos(pos,status,newDate) { var intPos = pos - 1; var intWords = 1; application.activeWindow.title.startOfBuffer(false); application.activeWindow.title.findTag("0599", 0, false, true, false); var strDoppelpunkt = application.activeWindow.title.find(" : ", false, true, false); if (strDoppelpunkt == true) { if (newDate) { application.activeWindow.title.startOfField(false); application.activeWindow.title.wordRight(1,false); application.activeWindow.title.wordRight(2,true); application.activeWindow.title.deleteSelection(); } else { intWords = 3; } } application.activeWindow.title.startOfField(false); application.activeWindow.title.wordRight(intWords,false); application.activeWindow.title.charRight(intPos,false); application.activeWindow.title.endOfField(true); var altStatus = application.activeWindow.title.selection; if (altStatus.charAt(1) == "m") { status = status + "m"; } application.activeWindow.title.deleteSelection(); application.activeWindow.title.insertText(status); } |
...
Überblick
Inhalte