Codeunit 70624431 EOS051 Sales Mgt.

Codeunit 70624431 EOS051 Sales Mgt.

Methods

InitSecOutstanding

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

Parameters / Return Value

  • Rec Record "Sales Line"

InitSecQtyToShip

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

Parameters / Return Value

  • Rec Record "Sales Line"

InitSecQtyToShip

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

Parameters / Return Value

  • Rec Record "Sales Line"

  • CurrFieldNo Integer


InitSecQtyToShip

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

Parameters / Return Value

  • Rec Record "Sales Line"

  • SuggestValue Boolean


InitSecQtyToReceive

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

Parameters / Return Value

  • Rec Record "Sales Line"

InitSecQtyToReceive

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

Parameters / Return Value

  • Rec Record "Sales Line"

  • CurrFieldNo Integer


InitSecQtyToReceive

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

Parameters / Return Value

  • Rec Record "Sales Line"

  • SuggestValue Boolean


InitSecQtyToInvoice

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

Parameters / Return Value

  • Rec Record "Sales Line"

MaxSecQtyToInvoice

procedure MaxSecQtyToInvoice(var Rec: Record "Sales Line"): Decimal

Parameters / Return Value

  • Rec Record "Sales Line"

  • Returns Decimal


Events

OnBefore_OnValidate_SalesLine_DUM_Fields

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

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

Parameters / Return Value

  • RefFieldNo Integer

    Sales Line field no. that has been validated.

  • Rec Record "Sales Line"

    Standard signature.

  • xRec Record "Sales Line"

    Standard signature.

  • CurrFieldNo Integer

    Standard signature.

  • IsHandeld Boolean


OnAfter_OnValidate_SalesLine_DUM_Fields

local procedure OnAfter_OnValidate_SalesLine_DUM_Fields(RefFieldNo: Integer; var Rec: Record "Sales Line"; xRec: Record "Sales Line"; CurrFieldNo: Integer)

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

Parameters / Return Value

  • RefFieldNo Integer

    Sales Line field no. that has been validated.

  • Rec Record "Sales Line"

    Standard signature.

  • xRec Record "Sales Line"

    Standard signature.

  • CurrFieldNo Integer

    Standard signature.


OnCaseSalesLinePriceCalcMethod_OnValidateSalesLine

local procedure OnCaseSalesLinePriceCalcMethod_OnValidateSalesLine(var SalesLine: Record "Sales Line"; xSalesLine: Record "Sales Line"; CurrFieldNo: Integer)

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

Parameters / Return Value

  • SalesLine Record "Sales Line"

    Current Record Sales Line

  • xSalesLine Record "Sales Line"

    xRec Sales Line

  • CurrFieldNo Integer

    Current Field No


OnCaseSalesLinePriceCalcMethod_OnAfterCopyFromItem

local procedure OnCaseSalesLinePriceCalcMethod_OnAfterCopyFromItem(Item: Record Item; var SalesLine: Record "Sales Line")

Raised after case on “EOS051 Sales Pr. Calc. Method” field in the subscriber OnAfterCopyFromItem on Sales Line.

Parameters / Return Value

  • Item Record "Item"

    Record Item

  • SalesLine Record "Sales Line"

    Current Record Sales Line


OnCaseSalesLinePriceCalcMethod_OnAfterValidateUoMCode

local procedure OnCaseSalesLinePriceCalcMethod_OnAfterValidateUoMCode(var SalesLine: Record "Sales Line"; var xSalesLine: Record "Sales Line")

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

Parameters / Return Value

  • SalesLine Record "Sales Line"

  • xSalesLine Record "Sales Line"



EOS Labs -