Codeunit 18122737 EOS066 EX043 SFG
Codeunit 18122737 EOS066 EX043 SFG
Methods
EX043TransferCustomFieldsOnBeforeGiftLineInsert
procedure EX043TransferCustomFieldsOnBeforeGiftLineInsert(fromSalesLine: Record "Sales Line"; var toSalesLine: Record "Sales Line")
Parameters / Return Value
fromSalesLine
Record "Sales Line"
toSalesLine
Record "Sales Line"
RaiseEX043OnGetFreeGiftLinesDictionary
procedure RaiseEX043OnGetFreeGiftLinesDictionary(SalesHeader: Record "Sales Header"; var GiftLinesDict: Dictionary of [Integer, Integer])
Parameters / Return Value
SalesHeader
Record "Sales Header"
GiftLinesDict
Dictionary[Integer,Integer]
ValidateQuantitiesOnInsertFreeGiftLine
procedure ValidateQuantitiesOnInsertFreeGiftLine(SalesLine: Record "Sales Line"; var FreeGiftLine: Record "Sales Line";var ValidateQty: Boolean; var QtyToShip: Decimal; var QtyToInvoice: Decimal)
Parameters / Return Value
SalesLine
Record "Sales Line"
FreeGiftLine
Record "Sales Line"
ValidateQty
Boolean
QtyToShip
Decimal
QtyToInvoice
Decimal
GetOperationOccurredDate
procedure GetOperationOccurredDate(DocumentHeader: Variant; var OperationOccurredDateFldRef: FieldRef; var IsHandled: Boolean)
Parameters / Return Value
DocumentHeader
Variant
OperationOccurredDateFldRef
FieldRef
IsHandled
Boolean
Events
EX043OnTransferCustomFieldsOnBeforeGiftLineInsert
local procedure EX043OnTransferCustomFieldsOnBeforeGiftLineInsert(fromSalesLine: Record "Sales Line"; var toSalesLine: Record "Sales Line")
Parameters / Return Value
fromSalesLine
Record "Sales Line"
toSalesLine
Record "Sales Line"
EX043OnGetFreeGiftLinesDictionary
local procedure EX043OnGetFreeGiftLinesDictionary(SalesHeader: Record "Sales Header"; var GiftLinesDict: Dictionary of [Integer, Integer])
Raise this event to obtain a dictionary of the free gift lines of a certain document
Parameters / Return Value
SalesHeader
Record "Sales Header"
Sales Header
GiftLinesDict
Dictionary[Integer,Integer]
Dictionary containing the free gift lines, the key is the gift line, the value is the original line
OnBeforeValidateQuantitiesOnInsertFreeGiftLine
local procedure OnBeforeValidateQuantitiesOnInsertFreeGiftLine(SalesLine: Record "Sales Line"; var FreeGiftLine: Record "Sales Line";var ValidateQty: Boolean; var QtyToShip: Decimal; var QtyToInvoice: Decimal)
Internal use only.
Parameters / Return Value
SalesLine
Record "Sales Line"
FreeGiftLine
Record "Sales Line"
ValidateQty
Boolean
QtyToShip
Decimal
QtyToInvoice
Decimal
OnCheckIsFreeGiftLine
local procedure OnCheckIsFreeGiftLine(DocLine: Variant; var FreeGiftCode: Code[20]; var FreeGiftLinkedLineNo: Integer)
Internal use only.
Parameters / Return Value
DocLine
Variant
FreeGiftCode
Code[20]
FreeGiftLinkedLineNo
Integer
OnGetOperationOccurredDate
local procedure OnGetOperationOccurredDate(DocumentHeader: Variant; var OperationOccurredDateFldRef: FieldRef; var IsHandled: Boolean)
Internal use only.
Parameters / Return Value
DocumentHeader
Variant
OperationOccurredDateFldRef
FieldRef
IsHandled
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.