Codeunit 70624432 EOS051 Purchase Mgt.

Codeunit 70624432 EOS051 Purchase Mgt.

Methods

InitSecOutstanding

procedure InitSecOutstanding(var Rec: Record "Purchase Line")

Parameters / Return Value

  • Rec Record "Purchase Line"

InitSecQtyToShip

procedure InitSecQtyToShip(var Rec: Record "Purchase Line")

Parameters / Return Value

  • Rec Record "Purchase Line"

InitSecQtyToShip

procedure InitSecQtyToShip(var Rec: Record "Purchase Line"; CurrFieldNo: Integer)

Parameters / Return Value

  • Rec Record "Purchase Line"

  • CurrFieldNo Integer


InitSecQtyToShip

procedure InitSecQtyToShip(var Rec: Record "Purchase Line"; SuggestValue: Boolean)

Parameters / Return Value

  • Rec Record "Purchase Line"

  • SuggestValue Boolean


InitSecQtyToReceive

procedure InitSecQtyToReceive(var Rec: Record "Purchase Line")

Parameters / Return Value

  • Rec Record "Purchase Line"

InitSecQtyToReceive

procedure InitSecQtyToReceive(var Rec: Record "Purchase Line"; CurrFieldNo: Integer)

Parameters / Return Value

  • Rec Record "Purchase Line"

  • CurrFieldNo Integer


InitSecQtyToReceive

procedure InitSecQtyToReceive(var Rec: Record "Purchase Line"; SuggestValue: Boolean)

Parameters / Return Value

  • Rec Record "Purchase Line"

  • SuggestValue Boolean


InitSecQtyToInvoice

procedure InitSecQtyToInvoice(var Rec: Record "Purchase Line")

Parameters / Return Value

  • Rec Record "Purchase Line"

MaxSecQtyToInvoice

procedure MaxSecQtyToInvoice(Rec: Record "Purchase Line"): Decimal

Parameters / Return Value

  • Rec Record "Purchase Line"

  • Returns Decimal


SetDefaultSecQuantity

procedure SetDefaultSecQuantity(var Rec: Record "Purchase Line")

Parameters / Return Value

  • Rec Record "Purchase Line"

Events

OnBefore_OnValidate_PurchaseLine_DUM_Fields

local procedure OnBefore_OnValidate_PurchaseLine_DUM_Fields(RefFieldNo: Integer; var Rec: Record "Purchase Line"; xRec: Record "Purchase Line"; CurrFieldNo: Integer; var IsHandeld: Boolean)

Raised before Dual UoM fields on Purchase Line are validated runnig standard app code

Parameters / Return Value

  • RefFieldNo Integer

    Purchase Line field no. that has been validated.

  • Rec Record "Purchase Line"

    Standard signature.

  • xRec Record "Purchase Line"

    Standard signature.

  • CurrFieldNo Integer

    Standard signature.

  • IsHandeld Boolean


OnAfter_OnValidate_PurchaseLine_DUM_Fields

local procedure OnAfter_OnValidate_PurchaseLine_DUM_Fields(RefFieldNo: Integer; var Rec: Record "Purchase Line"; xRec: Record "Purchase Line"; CurrFieldNo: Integer)

Raised after Dual UoM fields on Purchase Line are validated runnig standard app code

Parameters / Return Value

  • RefFieldNo Integer

    Purchase Line field no. that has been validated.

  • Rec Record "Purchase Line"

    Standard signature.

  • xRec Record "Purchase Line"

    Standard signature.

  • CurrFieldNo Integer

    Standard signature.


OnBeforeSetPriceUoMOnPurchaseLine

local procedure OnBeforeSetPriceUoMOnPurchaseLine(var Rec: Record "Purchase Line"; var IsHandled: Boolean)

Raised before setting the Price UoM field on table Purchase Line

Parameters / Return Value

  • Rec Record "Purchase Line"

    The current record

  • IsHandled Boolean

    If true, skips the standard logic


OnCasePurchLinePriceCalcMethod_OnValidatePurchLine

local procedure OnCasePurchLinePriceCalcMethod_OnValidatePurchLine(var PurchaseLine: Record "Purchase Line"; xPurchaseLine: Record "Purchase Line"; CurrFieldNo: Integer)

Raised on validate DUM field “EOS051 Purch. Pr. Calc. Method” on Purchase Line.

Parameters / Return Value

  • PurchaseLine Record "Purchase Line"

    Current Record Purchase Line

  • xPurchaseLine Record "Purchase Line"

    xRecord Purchase Line

  • CurrFieldNo Integer

    Current Field No


OnCasePurchLinePriceCalcMethod_OnAfterValidateUoMCode

local procedure OnCasePurchLinePriceCalcMethod_OnAfterValidateUoMCode(var PurchaseLine: Record "Purchase Line"; var xPurchaseLine: Record "Purchase Line")

Raised after case on “EOS051 Purch. Pr. Calc. Method” field on after validate Unit of Measure Code on Purchase Line.

Parameters / Return Value

  • PurchaseLine Record "Purchase Line"

    Current Record Purchase Line

  • xPurchaseLine Record "Purchase Line"

    xRecord Purchase Line


OnCasePurchLinePriceCalcMethod_OnAfterAssignItemValues

local procedure OnCasePurchLinePriceCalcMethod_OnAfterAssignItemValues(Item: Record Item; var PurchLine: Record "Purchase Line")

Raised after case on “EOS051 Purch. Pr. Calc. Method” field in the subscriber OnAfterAssignItemValues on Purchase Line.

Parameters / Return Value

  • Item Record "Item"

    Record Item

  • PurchLine Record "Purchase Line"

    Current Record Purchase Line



EOS Labs -