KVSKBASalesDocTextTempl
Fields
| Name | Type | Note |
|---|---|---|
| Document Type | Enum (KVSKBASalesDocTextTemplDocType) | |
| Header / Lines | Option | OptionMembers: Header,Lines |
| Quote Print | Boolean | |
| Order Print | Boolean | |
| Posted Invoice Print | Boolean | |
| Posted Credit Memo Print | Boolean | |
| Blanket Order Print | Boolean | |
| Return Order Print | Boolean | |
| Posted Shipment Print | Boolean | |
| Posted Return Receipt | Boolean | |
| Prepayment Invoice | Boolean | |
| Prepayment Credit Memo | Boolean |
Procedures
TransferFieldstToExtTextLine(Record Extended Text Line) :
Summary: Transfers fields from the sales document text template to an extended text line.
procedure TransferFieldstToExtTextLine(var ExtendedTextLine: Record "Extended Text Line"):
Parameters:
ExtendedTextLine: The extended text line record.
Remarks: This method is used to transfer the print settings and related fields from the sales document text template to the extended text line. It also triggers events before and after the transfer for extensibility.
Events
OnAfterTransferFieldstToExtTextLine(Record KVSKBASalesDocTextTempl, Record Extended Text Line) :
Summary: The Event is raised after transferring fields from the sales document text template to the extended text line.
[IntegrationEvent(false, false)]
local procedure OnAfterTransferFieldstToExtTextLine(var KVSKBASalesDocumentTextTempl: Record "KVSKBASalesDocTextTempl"; var ExtendedTextLine: Record "Extended Text Line"):
Parameters:
KVSKBASalesDocumentTextTempl: The sales document text template record.ExtendedTextLine: The extended text line record.
Remarks: At this point, the changes to the extended text line record have been made and can be accessed by event subscribers.