Enable Inventory Adjustment from Job Queue

Today I posted a new feedback to Microsoft.  My experience is that companies that use inventory should execute Inventory Adjustment with the Job Queue every night.  To be able to do this a change is required to the OpenWindow trigger in codeunit 5895.

The old code is

[code]OpenWindow()
Window.OPEN(
Text000 +
‘#1########################\\’ +
Text001 +
Text003 +
Text004 +
Text005 +
Text006);
WindowIsOpen := TRUE;

UpDateWindow(NewWindowAdjmtLevel : Integer;NewWindowItem : Code[20];NewWindowAdjust : Text[20];NewWindowFWLevel : Integer;NewWindowEntr
WindowAdjmtLevel := NewWindowAdjmtLevel;
WindowItem := NewWindowItem;
WindowAdjust := NewWindowAdjust;
WindowFWLevel := NewWindowFWLevel;
WindowEntry := NewWindowEntry;

IF IsTimeForUpdate THEN BEGIN
IF NOT WindowIsOpen THEN
OpenWindow;
Window.UPDATE(1,STRSUBSTNO(Text002,AdjmtBuf.FIELDCAPTION("Item No."),WindowItem));
Window.UPDATE(2,WindowAdjmtLevel);
Window.UPDATE(3,WindowAdjust);
Window.UPDATE(4,WindowFWLevel);
Window.UPDATE(5,WindowEntry);
END;[/code]

and the new code is

[code]
OpenWindow()
IF GUIALLOWED THEN BEGIN
Window.OPEN(
Text000 +
‘#1########################\\’ +
Text001 +
Text003 +
Text004 +
Text005 +
Text006);
WindowIsOpen := TRUE;
END;
END;

UpDateWindow(NewWindowAdjmtLevel : Integer;NewWindowItem : Code[20];NewWindowAdjust : Text[20];NewWindowFWLevel : Integer;NewWindowEntr
WindowAdjmtLevel := NewWindowAdjmtLevel;
WindowItem := NewWindowItem;
WindowAdjust := NewWindowAdjust;
WindowFWLevel := NewWindowFWLevel;
WindowEntry := NewWindowEntry;
IF GUIALLOWED THEN BEGIN
IF IsTimeForUpdate THEN BEGIN
IF NOT WindowIsOpen THEN
OpenWindow;
Window.UPDATE(1,STRSUBSTNO(Text002,AdjmtBuf.FIELDCAPTION("Item No."),WindowItem));
Window.UPDATE(2,WindowAdjmtLevel);
Window.UPDATE(3,WindowAdjust);
Window.UPDATE(4,WindowFWLevel);
Window.UPDATE(5,WindowEntry);
END;
END;[/code]

If you agree with this please vote here.  A simple extension to the Job Queue can be found in an earlier post.

DropDown in RTC

In the table designer the fields that appear in the drop down list are defined.  For example the Customer table.

I found a feedback in Microsoft Connect and added a few comments to that.  What I would like the drop down window to be able to do is;

  • remember the last position and default to that one
  • allow multi select that will result in a filter

I would love this to be applied to both pages and the report “Show results:” area.