Codeunit WSB_COCCopyCommentsPublishers¶
Exposes event publishers that can be used to hook into the "Copy Comments from ... to ..." functionality of the app.
Properties¶
Name | Value |
---|---|
Access | Public |
Methods¶
wgEvpOnAfterSetCommentLineSourceFiltersForCopy¶
Allows to update/change the filters set on the "Comment Line" table to determine which comment lines should be copied. This event publisher is triggered after filters have been applied by the app itself.
Parameters¶
Type | Name | Description |
---|---|---|
Record "Comment Line" |
vRecCommentLine |
The comment line record to which the filters are applied. |
Enum "Comment Line Table Name" |
pCommentLineTableName |
The table the original comment line records are coming from. |
Code[20] |
pNo |
The ID/code of the master data record to which the original comment line records are linked. |
wgEvpOnCopyCommentsOnBeforeInsertAssemblyCommentLine¶
Allows to hook into the moment right before a new "Assembly Comment Line" table record is inserted, which is copied from a "Comment Line" table record.
Parameters¶
Type | Name | Description |
---|---|---|
Record "Comment Line" |
pRecCommentLine |
The comment line record from which the comment is copied. |
Record "Assembly Comment Line" |
vRecAssemblyCommentLine |
The assembly comment line record that is about to be inserted. |
wgEvpOnCopyCommentsOnBeforeInsertCommentLine¶
Allows to hook into the moment right before a new "Comment Line" table record is inserted, which is copied from a "Comment Line" table record.
Parameters¶
Type | Name | Description |
---|---|---|
Record "Comment Line" |
pRecCommentLineFrom |
The comment line record from which the comment is copied. |
Record "Comment Line" |
vRecCommentLineTo |
The comment line record that is about to be inserted. |
wgEvpOnCopyCommentsOnBeforeInsertProdBOMCommentLine¶
Allows to hook into the moment right before a new "Production BOM Comment Line" table record is inserted, which is copied from a "Comment Line" table record.
Parameters¶
Type | Name | Description |
---|---|---|
Record "Comment Line" |
pRecCommentLine |
The comment line record from which the comment is copied. |
Record "Production BOM Comment Line" |
vRecProdBOMCommentLine |
The production BOM comment line record that is about to be inserted. |
wgEvpOnCopyCommentsOnBeforeInsertProdOrderCommentLine¶
Allows to hook into the moment right before a new "Prod. Order Comment Line" table record is inserted, which is copied from a "Comment Line" table record.
Parameters¶
Type | Name | Description |
---|---|---|
Record "Comment Line" |
pRecCommentLine |
The comment line record from which the comment is copied. |
Record "Prod. Order Comment Line" |
vRecProdOrderCommentLine |
The production order comment line record that is about to be inserted. |
wgEvpOnCopyCommentsOnBeforeInsertProdOrderCompCommentLine¶
Allows to hook into the moment right before a new "Prod. Order Comp. Cmt Line" table record is inserted, which is copied from a "Comment Line" table record.
Parameters¶
Type | Name | Description |
---|---|---|
Record "Comment Line" |
pRecCommentLine |
The comment line record from which the comment is copied. |
Record "Prod. Order Comp. Cmt Line" |
vRecProdOrderCompCommentLine |
The production order component comment line record that is about to be inserted. |
wgEvpOnCopyCommentsOnBeforeInsertPurchCommentLine¶
Allows to hook into the moment right before a new "Purch. Comment Line" table record is inserted, which is copied from a "Comment Line" table record.
Parameters¶
Type | Name | Description |
---|---|---|
Record "Comment Line" |
pRecCommentLine |
The comment line record from which the comment is copied. |
Record "Purch. Comment Line" |
vRecPurchCommentLine |
The purchase comment line record that is about to be inserted. |
wgEvpOnCopyCommentsOnBeforeInsertSalesCommentLine¶
Allows to hook into the moment right before a new "Sales Comment Line" table record is inserted, which is copied from a "Comment Line" table record.
Parameters¶
Type | Name | Description |
---|---|---|
Record "Comment Line" |
pRecCommentLine |
The comment line record from which the comment is copied. |
Record "Sales Comment Line" |
vRecSalesCommentLine |
The sales comment line record that is about to be inserted. |
wgEvpOnCopyCommentsOnBeforeInsertServiceCommentLine¶
Allows to hook into the moment right before a new "Service Comment Line" table record is inserted, which is copied from a "Comment Line" table record.
Parameters¶
Type | Name | Description |
---|---|---|
Record "Comment Line" |
pRecCommentLine |
The comment line record from which the comment is copied. |
Record "Service Comment Line" |
vRecServiceCommentLine |
The service comment line record that is about to be inserted. |