Ga naar inhoud

Form UnblockOrderImport

  • Unit name: Forms.UnblockOrderImport
  • Form name: UnblockOrderImportForm
  • Old form name: Unit22, butBtn22

Synopsis

Form to allow ublocking order import.

Functionalities

On startup, the form shows 1. if the LOCKMOVE field equals 'Y' the following text is shown

Import locked on : **LockDate** by user : **LockUser**
Where the LockDate and LockUser fields come from the LOCKOP table. 2. if the LOCKMOVE field does not equal 'Y' the following text is shown:
Import is not locked.
3. A button to execute Unlock action is shown. 3. A button to execute Refresh action is shown. 3. A timer refreshes the data every 30 seconds (calls Refresh action).

Actions

Refresh

  • Refreshes the data.
  • Resets timer (disable/enable)

Unlock

Call to unlock import tables. 1. It is enabled only if the LOCKMOVE field equals 'Y'. 2. When the button is pressed, StockControl.UnblockOrderImport is called on the server. The display is refreshed.

Tables/Views

  • LOCKOP

Needed Service Calls

StockControl.UnlockOrderImport

Called to unlock import.

Reports

None.