Codeunit 18122044 EOS009 LE Print Net Price
Codeunit 18122044 EOS009 LE Print Net Price
Converst line amounts to net prices by merging any discounts applied.
Methods
Register
procedure Register(var Section: Record "EOS Adv Reporting Sections")
Parameters / Return Value
- Section
Record "EOS Adv Reporting Sections"
Execute
procedure Execute(Position: Enum "EOS AdvRpt Layout Position"; DocumentHeader: RecordRef; DocumentLine: RecordRef; var Header: Record "EOS Report Buffer Header"; var Line: Record "EOS Report Buffer Line")
Parameters / Return Value
Position
Enum "EOS AdvRpt Layout Position"DocumentHeader
RecordRefDocumentLine
RecordRefHeader
Record "EOS Report Buffer Header"Line
Record "EOS Report Buffer Line"
Events
OnGetNetPricesAllowed
local procedure OnGetNetPricesAllowed(DocumentHeader: RecordRef; DocumentLine: RecordRef; var IsAllowed: Enum "EOS066 TriState Boolean")
Event to determine if the net prices should be applied to the document lines. The default is true.
Parameters / Return Value
DocumentHeader
RecordRefThe document header record reference.
DocumentLine
RecordRefThe document line record reference.
IsAllowed
Enum "EOS066 TriState Boolean"Get or set if net prices are allowed for this line. “True” or “Undefined” to apply, “False” to not apply.
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.