Hello,
It seems that you are running an old release (probably before 10.0.7).
In this case the feature "Cancel work" must be enabled through SysFlighting table by using below steps:
1. Add a record with this Insert statement for SYSFLIGHTING table, but please replace the appropriate values:
INSERT INTO SYSFLIGHTING VALUES ('FlightName', 1, 12719367, Partition, RecID, 1)
Note:
After replacing 'FlightName' with the actual flight name, the values are/should be:
- 1 stands for Enabled
- 12719367 is the Flight service ID
- Partition = partition ID from your environment which can be obtained by querying (select) for any record. Every record will have a partition id which must be copied and used here.
- RecID = same ID as partition(*) (If there is no other record in SYSFLIGHTING table, then it can be one. Or you can can find one by executing "SELECT max(recid)+1 from SysFlighting")
- 1 is for the RecVersion
2. Verify that C:\AOSService\webroot\web.config has the correct DataAccess.FlightingServiceCatalogID. You should find a line with this key and a value of 12719367. If not, update accordingly the file and save it.
3. Restart IIS and batch service
4. Go to Workspace feature management, click on the "Check for updates" button. Refresh also the page from the browser or open a new browser session.
5. Check if the feature Cancel work appears and enable it
Important note:
For On-Premise deployments, Flight service ID is 0 and the file is different in step 2 from above.
Verify that C:\ProgramData\SF\AOS_182\Fabric\work\Applications\AXSFType_App641\AXSF.Code.1.0.20200715180202\AXService.config has the correct DataAccess.FlightingServiceCatalogID. You should find a line with this key and a value of 0. If not, update accordingly the file and save it.
The AXService.config file path might be different (accordingly to your installation).
The Cancel work feature is controlled through the flight WHSWorkCancelForcedFlight.
If you are on a version before 10.0.10, WHSWorkCancelForcedSkipDataBackupFlight flight must be enabled as well.
Since you might be running an older version, there might be limitations to what can be canceled.
But the feature has a hard cancel mode.
If you enable WHSWorkCancelForcedGenericFlight flight too:
- the Cancel work job will operate in hard cancel mode
- the system will allow to cancel wider range of work headers.
If stock remains in user location, you can move it to proper locations by using a Movement menu item (Work creation process = Movement).
In order to move inventory from the user location, you need add the "Allow adjusting inventory on User location" option to Worker form (Warehouse management > Setup > Worker) by personalizing the form (Work fast area).
Once it is added, you will then need to enable it for the worker who will do the inventory movement. Once enabled, then log into the mobile device as the worker and complete the movement from the user location.
Regards,
Lucian