Codeunit 18126900 EOS00914 ADR CWS Handler
Codeunit 18126900 EOS00914 ADR CWS Handler
Events
OnCWSHeaderParsing
local procedure OnCWSHeaderParsing(ShipmentHeader: Record "EOS CWS Shipment Header"; var ReportHeader: Record "EOS Report Buffer Header")
Raised after copying CWS fields to the Report Buffer Header
Parameters / Return Value
ShipmentHeader
Record "EOS CWS Shipment Header"
Current CWS Header
ReportHeader
Record "EOS Report Buffer Header"
Current Report Buffer Header
OnCWSLineParsing
local procedure OnCWSLineParsing(ShipmentHeader: Record "EOS CWS Shipment Header"; ShipmentLine: Record "EOS CWS Shipment Line";var RBHeader: Record "EOS Report Buffer Header"; var RBLine: Record "EOS Report Buffer Line"; var SkipLine: Boolean)
Raised after copying CWS fields to the Report Buffer Line
Parameters / Return Value
ShipmentHeader
Record "EOS CWS Shipment Header"
Current CWS Header
ShipmentLine
Record "EOS CWS Shipment Line"
Current CWS Line
RBHeader
Record "EOS Report Buffer Header"
Current Report Buffer Header
RBLine
Record "EOS Report Buffer Line"
Current Report Buffer Line
SkipLine
Boolean
Skip processing this line
OnBeforeAddCommentLine
local procedure OnBeforeAddCommentLine(var RBHeader: Record "EOS Report Buffer Header"; var RBLine: Record "EOS Report Buffer Line"; CWSCommentLine: Variant; var SkipRecord: Boolean)
This event is raised before processing a line comment. You can check CWSCommentLine and set “skip” to true to exclude this comment line.
Parameters / Return Value
RBHeader
Record "EOS Report Buffer Header"
Current Report Header
RBLine
Record "EOS Report Buffer Line"
Current Report Line Buffer. Add new line comments to this buffer
CWSCommentLine
Variant
CWS comment record.
SkipRecord
Boolean
Set to true to exclude this line
OnAfterParseCommentLine
local procedure OnAfterParseCommentLine(var RBHeader: Record "EOS Report Buffer Header"; var RBLine: Record "EOS Report Buffer Line"; CWSCommentLine: Variant)
This event is raised before appending. You can use it to update other custom fields from comment record to buffer line record.
Parameters / Return Value
RBHeader
Record "EOS Report Buffer Header"
Current Report Header
RBLine
Record "EOS Report Buffer Line"
Current Report Line Buffer. Add new line comments to this buffer
CWSCommentLine
Variant
CWS comment record.
OnBeforePrintRecordsFromCWSShipment
local procedure OnBeforePrintRecordsFromCWSShipment(var ShipmentHeader: Record "EOS CWS Shipment Header"; var IsHandled: Boolean)
Raised before print CWS Shipment. Use it to skip print.
Parameters / Return Value
ShipmentHeader
Record "EOS CWS Shipment Header"
Current CWS Header
IsHandled
Boolean
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.