Info | ||
---|---|---|
| ||
Android App version 1.5.9 |
...
Code Block | ||||
---|---|---|---|---|
| ||||
<page id="ReceiveLines" type="OrderLines" icon="mainmenureceive"> <title defaultValue="@{PageReceiveOrderLinesTitle}"/> <orderLinesConfiguration postingTrigger="PostAfterEachRegistration" suggestQuantity="true" verifySingleScanRegistrations="false" actionOnEmptyList="ClosePage"> <service id="Receive"/> <list listId="OrderLinesWithImages"/> <..> </page> |
- Step 2 - Set UnderDeliveryValidation to "none", using OnGetReceiveOrderLines_OnAfterSetFrom...
- To avoid getting a warning when the user registers less quantity than expected. More information about Under/OverDeliveryValidation
...
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS Receive", 'OnGetReceiveOrderLines_OnAfterSetFromWarehouseReceiptLine', '', true, true)]
localprocedure MyOnGetReceiveOrderLines_OnAfterSetFromWarehouseReceiptLine(_WhseReceiptLine: Record"Warehouse Receipt Line"; var _BaseOrderLineElement: Record"MOB Ns BaseDataModel Element")
begin
_BaseOrderLineElement.Set_UnderDeliveryValidation('None');
end;
- Step 3 - To supress the Posting confirmation message, use OnPostReceiveOrder_OnAfterPost...
- Clear the _ResultMessage
...
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS receive", 'OnPostReceiveOrder_OnAfterPostAnyOrder', '', true, true)]
localprocedure OnPostReceiveOrder_OnAfterPostAnyOrder(var _OrderValues: Record"MOB Common Element"; _RecRef: RecordRef; var _ResultMessage: Text)
begin
_ResultMessage:='';
end;
Available events are:
...