Skip to content

Codeunit WSB_COCServCommentsPublishers

Exposes event publishers that can be used to hook into the Copy Service Line Comments to a Service Shipment Line, Service Invoice Line, or Service Cr. Memo Line.

Properties

Name Value
Access Public

Methods

wgEvpOnBeforeCopyLineComments

Allows to hook into the moment right before Service Line Comments are copied from a Service Lines to a Service Shipment Line, Service Invoice Line, or Service Cr. Memo Line.

Parameters

Type Name Description
Record "Service Comment Line" vRecServiceCommentLine The service line.
Boolean vIsHandled Set this parameter to true for the copy service line comments handled by your extension.
Enum "Service Comment Table Name" pFromTableName The from service comment line table name.
Enum "Service Comment Table Subtype" pFromTableSubtype The from service comment line table subtype.
Enum "Service Comment Table Name" pToTableName The to service comment line table name.
Code[20] pFromDocNo The from document no.
Code[20] pToDocNo The to document no.
Integer pFromDocLineNo The from document line no.
Integer pToDocLineNo The from document line no.