Codeunit 18122042 EOS009 AdvText Mngt.
Codeunit 18122042 EOS009 AdvText Mngt.
Methods
ShowAdvancedText
procedure ShowAdvancedText(fromRec: Variant)
This function will open the Advanced Text list for the record passed as parameter
Parameters / Return Value
fromRec
Variant
The Record to which open the page
RetriveFromSales
procedure RetriveFromSales(salesHeader: Record "Sales Header")
Retrive the Advanced text based to the Fields Sell-to Customer No. and Bill-to Customer No.
Parameters / Return Value
salesHeader
Record "Sales Header"
The source sales header
RetriveFromPurchase
procedure RetriveFromPurchase(PurchaseHeader: Record "Purchase Header")
Retrive the Advanced text based to the Fields Buy-from Vendor No. and Pay-to Vendor No.
Parameters / Return Value
PurchaseHeader
Record "Purchase Header"
The source Purchase Header
RetriveFromService
procedure RetriveFromService(ServiceHeader: Record "Service Header")
Retrive the Advanced text based to the Fields Customer No. and Bill-to Customer No.
Parameters / Return Value
ServiceHeader
Record "Service Header"
The source Service Header
RetriveFromContract
procedure RetriveFromContract(ServiceHeader: Record "Service Contract Header")
Parameters / Return Value
- ServiceHeader
Record "Service Contract Header"
DeleteTexts
procedure DeleteTexts(source: variant)
Parameters / Return Value
- source
variant
DeleteTexts
procedure DeleteTexts(source: variant; keepManual: boolean)
Parameters / Return Value
source
variant
keepManual
boolean
CopyTextsNoChecks
procedure CopyTextsNoChecks(FromRecord: Variant; ToRecord: Variant)
Parameters / Return Value
FromRecord
Variant
ToRecord
Variant
CopyTexts
procedure CopyTexts(FromRecord: Variant; ToRecord: Variant; GetFromParents: Boolean; Language: code[10])
Parameters / Return Value
FromRecord
Variant
ToRecord
Variant
GetFromParents
Boolean
Language
code[10]
Events
OnCopyTextsBeforeInsert
local procedure OnCopyTextsBeforeInsert(FromLine: Record "EOS009 Doc. Adv. Text Line"; var ToHeader: Record "EOS009 Doc. Adv. Text Header"; var ToLine: Record "EOS009 Doc. Adv. Text Line"; FromRecord: Variant; ToRecord: Variant; var Handled: Boolean)
Raised when copying texts from one record to another, right before the text line is inserted.
Parameters / Return Value
FromLine
Record "EOS009 Doc. Adv. Text Line"
The source text line from that is being copied.
ToHeader
Record "EOS009 Doc. Adv. Text Header"
The target text header that is being inserted.
ToLine
Record "EOS009 Doc. Adv. Text Line"
The target text line that is being inserted.
FromRecord
Variant
The source record.
ToRecord
Variant
The target record.
Handled
Boolean
Gets or sets if this event has been completely handled.
OnCopyTextsAfterInsert
local procedure OnCopyTextsAfterInsert(FromLine: Record "EOS009 Doc. Adv. Text Line"; var ToHeader: Record "EOS009 Doc. Adv. Text Header"; var ToLine: Record "EOS009 Doc. Adv. Text Line"; FromRecord: Variant; ToRecord: Variant)
Raised when copying texts from one record to another, right after the text line has been inserted.
Parameters / Return Value
FromLine
Record "EOS009 Doc. Adv. Text Line"
The source text line from that is being copied.
ToHeader
Record "EOS009 Doc. Adv. Text Header"
The target text header that is being inserted.
ToLine
Record "EOS009 Doc. Adv. Text Line"
The target text line that is being inserted.
FromRecord
Variant
The source record.
ToRecord
Variant
The target record.
OnAfterCheckFiltersAndLanguage
local procedure OnAfterCheckFiltersAndLanguage(var TempToBuffer: Record "EOS Record Ident. Buffer" temporary; FromAdvTexts: Record "EOS009 Doc. Adv. Text Line"; var continue: Boolean)
Parameters / Return Value
TempToBuffer
Record "EOS Record Ident. Buffer"
FromAdvTexts
Record "EOS009 Doc. Adv. Text Line"
continue
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.