Codeunit 18122529 EOS048 Delivery Reminder-Make

Codeunit 18122529 EOS048 Delivery Reminder-Make

Methods

Code

procedure "Code"() RetVal: Boolean

Parameters / Return Value

  • Returns Boolean

Set

procedure Set(Vend2: Record Vendor; DelivReminderHeaderReq2: Record "EOS048 Delivery Rem. Header"; OverdueEntriesOnly2: Boolean; var FilterPurchLine: Record "Purchase Line")

Parameters / Return Value

  • Vend2 Record "Vendor"

  • DelivReminderHeaderReq2 Record "EOS048 Delivery Rem. Header"

  • OverdueEntriesOnly2 Boolean

  • FilterPurchLine Record "Purchase Line"


Set2

procedure Set2(Vend2: Record Vendor; DelivReminderHeaderReq2: Record "EOS048 Delivery Rem. Header"; OverdueEntriesOnly2: Boolean; var FilterPurchLine: Record "Purchase Line")

Parameters / Return Value

  • Vend2 Record "Vendor"

  • DelivReminderHeaderReq2 Record "EOS048 Delivery Rem. Header"

  • OverdueEntriesOnly2 Boolean

  • FilterPurchLine Record "Purchase Line"


RetrieveBufferToPrint

procedure RetrieveBufferToPrint(var outTempDelivReminderHeader: Record "EOS048 Delivery Rem. Header" temporary)

Parameters / Return Value

  • outTempDelivReminderHeader Record "EOS048 Delivery Rem. Header"

Events

OnBeforeFindPurchLine_NotOverdueEntriesOnly

local procedure OnBeforeFindPurchLine_NotOverdueEntriesOnly(var PurchLine: Record "Purchase Line"; DelivReminderHeader: Record "EOS048 Delivery Rem. Header")

Raised before create Deliv. Reminder Line with Not Overdue Entries Only. Use it to filter PurchLine Record on a custom Due Date.

Parameters / Return Value

  • PurchLine Record "Purchase Line"

    Record “Purchase Line”

  • DelivReminderHeader Record "EOS048 Delivery Rem. Header"

    Record “EOS048 Delivery Rem. Header”


OnAfterSetReminderDueDate_NextLevel

local procedure OnAfterSetReminderDueDate_NextLevel(var ReminderDueDate2: Date; DelivReminderEntry: Record "EOS048 Delivery Reminder Entry"; PurchLine: Record "Purchase Line")

Raised in the procedure SetReminderLine(), if the reminder level is greater than one. Use it to set the Due Date.

Parameters / Return Value

  • ReminderDueDate2 Date

    Due Date to modify

  • DelivReminderEntry Record "EOS048 Delivery Reminder Entry"

    Record “EOS048 Delivery Reminder Entry”

  • PurchLine Record "Purchase Line"

    Record “Purchase Line”


OnAfterSetReminderDueDate_FirstLevel

local procedure OnAfterSetReminderDueDate_FirstLevel(var ReminderDueDate2: Date; PurchLine: Record "Purchase Line")

Raised in the procedure SetReminderLine(), if the reminder level is the first. Use it to set the Due Date.

Parameters / Return Value

  • ReminderDueDate2 Date

    Due Date to modify

  • PurchLine Record "Purchase Line"

    Record “Purchase Line”


OnBeforeInsertDelivReminderLine_PurchLine

local procedure OnBeforeInsertDelivReminderLine_PurchLine(var DelivReminderLine: Record "EOS048 Delivery Reminder Line"; var DelivReminderHeader: Record "EOS048 Delivery Rem. Header"; PuchLine: Record "Purchase Line"; ReminderLevel: Record "EOS048 Delivery Reminder Level"; ReminderDueDate: Date)

Raised before insert Delivery Reminder Line from an overdue Purchase Line.

Parameters / Return Value

  • DelivReminderLine Record "EOS048 Delivery Reminder Line"

    Current Record “EOS048 Delivery Reminder Line”

  • DelivReminderHeader Record "EOS048 Delivery Rem. Header"

    Record “EOS048 Delivery Rem. Header”

  • PuchLine Record "Purchase Line"

    Current Record “Purchase Line”

  • ReminderLevel Record "EOS048 Delivery Reminder Level"

    Reminder Level

  • ReminderDueDate Date

    Due Date


OnBeforeInsertDelivReminderLine_PurchLineNotOverdue

local procedure OnBeforeInsertDelivReminderLine_PurchLineNotOverdue(var DelivReminderLine: Record "EOS048 Delivery Reminder Line"; var DelivReminderHeader: Record "EOS048 Delivery Rem. Header"; PuchLine: Record "Purchase Line")

Raised before insert Delivery Reminder Line from a Purchase Line not overdue.

Parameters / Return Value

  • DelivReminderLine Record "EOS048 Delivery Reminder Line"

    Current Record “EOS048 Delivery Reminder Line”

  • DelivReminderHeader Record "EOS048 Delivery Rem. Header"

    Record “EOS048 Delivery Rem. Header”

  • PuchLine Record "Purchase Line"

    Current Record “Purchase Line”



EOS Labs -