Use this event to
Populate warehouse journal line when posting unplanned move.
This event is triggered when:
- Location is "Directed Put-away and Pick" AND
- Item Journal Posting has been disabled from MobSetup."Skip Whse. Unpl. Count Item Journal. Post"
OR
- Location without "Directed Put-away and Pick" AND
- Location is "Bin Mandatory" AND
- Item Journal Posting has not been disabled from MobSetup."Skip Whse. Unpl. Count Item Journal. Post"
See also: OnPostAdhocRegistrationOnUnplannedCount_OnAfterCreateItemJnlLine
Template
// [Template]
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS Adhoc Registr.", 'OnPostAdhocRegistrationOnAdjustQuantity_OnAfterCreateWhseJnlLine', '', true, true)]
local procedure OnPostAdhocRegistrationOnAdjustQuantity_OnAfterCreateWhseJnlLine(var _RequestValues: Record "MOB NS Request Element"; var _WhseJnlLine: Record "Warehouse Journal Line")
begin
end;
Example
// [Example]
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS Adhoc Registr.", 'OnPostAdhocRegistrationOnAdjustQuantity_OnAfterCreateWhseJnlLine', '', true, true)]
local procedure MyOnPostAdhocRegistrationOnAdjustQuantity_OnAfterCreateWhseJnlLine(var _RequestValues: Record "MOB NS Request Element"; var _WhseJnlLine: Record "Warehouse Journal Line")
var
RegistrationType: Text;
ItemNo: Text;
LocationCode: Text;
BinCode: Text;
begin
RegistrationType := _RequestValues.GetValue('RegistrationType');
ItemNo := _RequestValues.GetValue('ItemNumber');
LocationCode := _RequestValues.GetValue('Location');
BinCode := _RequestValues.GetValue('Bin');
_WhseJnlLine.Validate(Description, CopyStr(StrSubstNo('%1 %2 at %3 %4', RegistrationType, ItemNo, LocationCode, BinCode), 1, MaxStrLen(_WhseJnlLine.Description)));
end;
More examples
-
(Legacy) Case: Print muliple labels with unique lot numbers (MOB5.23-MOB5.38) — Option to generate and print multiple unique labels
-
-
Case: Add custom step 'To-Location' to Unplanned Move — Add custom step for To-Location when posting Unplanned Move from/to locations without "Directed Putaway-and-pick"
-
-
Case: Add Header Step to inbound goods documents (Signature Step) — The warehouse employee must sign inbound goods (signature step).
-
Case: Add Header Step to inbound goods documents (Text Step) — When receiving goods, a new text collector step must be added for the user to enter comments about goods being damaged etc.
-
Case: Add Line Steps to Warehouse Receipts — A customer wishes to start using Item NetWeight and -GrossWeight, but have currently no values registered at the Item Card. Create a temporary customization is to collect these weights when goods are received.
-
Case: Add Posting Date step to Production Consumption and Output — A customer wishes to allow mobile users to specify the posting date when posting Production Consumption and Output from the mobile device.
-
Case: Create a custom implementation for Package Numbers — A new custom implementation for Package Numbers in Mobile WMS is required to meet demands from other customizations or a vertical solution.
-
Case: Default total RunTime based on produced quantity in Production Output — A customer wants the RunTime step for Production Output to be populated with a default value.
-
Case: Display breakbulk information when posting breakbulk lines automatically — Display addtional breakbulk information during picks, when breakbulk lines is otherwise hidden due to "Mobile WMS Setup"."Post breakbulk lines automatically".
-
Case: Filter Bin Content for specific Serial No. — Filter Lookup Bin Content for a specific Serial No.
-
Case: Filter Inventory Movements of Asmbl. Orders for specific Sales Order — The user wants to filter Warehouse Documents on specific Sales Order number, using the existing Planned Movements function.
-
Case: Filter Receipts based on Comments — The user wants to filter Receipts on whether they have comments or not
-
Case: Interrupt posting and add steps for Shipping Agent Service Code — Ask the user for what Shipping Agent and Service Code during Warehouse pick posting
Version History
Version | Changes |
---|---|
MOB5.17 | Introduced |