Codeunit 18125906 EOS EX080 Wine Management

Codeunit 18125906 EOS EX080 Wine Management

Methods

PostWineTreatment

procedure PostWineTreatment(WineTreatmentNo: Code[20])

Parameters / Return Value

  • WineTreatmentNo Code[20]

CheckWineTreatment

procedure CheckWineTreatment(WineTreatmentNo: Code[20])

Parameters / Return Value

  • WineTreatmentNo Code[20]

CanRevertPosting

procedure CanRevertPosting(WineTreatment: Record "Prod. Order Line"; ThrowError: Boolean): Boolean

Parameters / Return Value

  • WineTreatment Record "Prod. Order Line"

  • ThrowError Boolean

  • Returns Boolean


GetWineTreatmentOutputQuantities

procedure GetWineTreatmentOutputQuantities(WineTreatment: Record "Prod. Order Line"; var OutputQuantity: Decimal; var OutputRemainingQuantity: Decimal) EntriesExists: Boolean

Parameters / Return Value

  • WineTreatment Record "Prod. Order Line"

  • OutputQuantity Decimal

  • OutputRemainingQuantity Decimal

  • Returns Boolean


NotifyIfWineTreatmentCannotBePosted

procedure NotifyIfWineTreatmentCannotBePosted(WineTreatment: Record "Prod. Order Line")

Parameters / Return Value

  • WineTreatment Record "Prod. Order Line"

RevertWineTreatmentPostings

procedure RevertWineTreatmentPostings(WineTreatmentNo: Code[20])

Parameters / Return Value

  • WineTreatmentNo Code[20]

SetReleasedStatusOnFinishedWineTreatment

procedure SetReleasedStatusOnFinishedWineTreatment(WineTreatment: Record "Production Order";NewStatus: Enum "Production Order Status";NewPostingDate: Date;NewUpdateUnitCost: Boolean)

Parameters / Return Value

  • WineTreatment Record "Production Order"

  • NewStatus Enum "Production Order Status"

  • NewPostingDate Date

  • NewUpdateUnitCost Boolean


DecodeLotNoFormula

procedure DecodeLotNoFormula(InputFormula: Code[20]): Code[20]

Parameters / Return Value

  • InputFormula Code[20]

  • Returns Code[20]


Events

OnItemLedgerEntryCheckForReverseOutput

local procedure OnItemLedgerEntryCheckForReverseOutput(var ItemLedgerEntry: Record "Item Ledger Entry")

Parameters / Return Value

  • ItemLedgerEntry Record "Item Ledger Entry"

OnAfterProductionReverse

local procedure OnAfterProductionReverse(WineTreatmentNo: Code[20])

Parameters / Return Value

  • WineTreatmentNo Code[20]

OnBeforeInsertItemJournalLineInProductionReverse

local procedure OnBeforeInsertItemJournalLineInProductionReverse(var ItemJournalLine: Record "Item Journal Line")

Parameters / Return Value

  • ItemJournalLine Record "Item Journal Line"


EOS Labs -