Codeunit 18059917 EOS075 Test Library

Codeunit 18059917 EOS075 Test Library

Methods

SetAny

procedure SetAny(var NewAny: Codeunit Any)

Parameters / Return Value

  • NewAny Codeunit "Any"

SetAllocationEnabled

procedure SetAllocationEnabled(NewEnable: Boolean)

Parameters / Return Value

  • NewEnable Boolean

CreateCustBonusHeader

procedure CreateCustBonusHeader(var BonusHeader: Record "EOS Bonus Header")

Parameters / Return Value

  • BonusHeader Record "EOS Bonus Header"

CreateBonusLine

procedure CreateBonusLine(var BonusLine: Record "EOS Bonus Line"; BonusHeader: Record "EOS Bonus Header"; ValueType: Enum "EOS Bonus Value Type"; Value: Decimal)

Parameters / Return Value

  • BonusLine Record "EOS Bonus Line"

  • BonusHeader Record "EOS Bonus Header"

  • ValueType Enum "EOS Bonus Value Type"

  • Value Decimal


CreateBonusLine_Customer_Item

procedure CreateBonusLine_Customer_Item(var BonusLine: Record "EOS Bonus Line"; BonusHeader: Record "EOS Bonus Header"; ValueType: Enum "EOS Bonus Value Type"; Value: Decimal; CustomerNo: Code[20]; ItemNo: Code[20])

Parameters / Return Value

  • BonusLine Record "EOS Bonus Line"

  • BonusHeader Record "EOS Bonus Header"

  • ValueType Enum "EOS Bonus Value Type"

  • Value Decimal

  • CustomerNo Code[20]

  • ItemNo Code[20]


SettleToVendor

procedure SettleToVendor(var BonusLine: Record "EOS Bonus Line"; VendorNo: Code[20])

Parameters / Return Value

  • BonusLine Record "EOS Bonus Line"

  • VendorNo Code[20]


PostInvoiceWithGivenQtyAndAmount

procedure PostInvoiceWithGivenQtyAndAmount(Quantity: Decimal; LineAmount: Decimal)

Parameters / Return Value

  • Quantity Decimal

  • LineAmount Decimal


CertifyBonusHeader

procedure CertifyBonusHeader(var BonusHeader: Record "EOS Bonus Header")

Parameters / Return Value

  • BonusHeader Record "EOS Bonus Header"

CalculateBonusLine

procedure CalculateBonusLine(BonusLine: Record "EOS Bonus Line")

Parameters / Return Value

  • BonusLine Record "EOS Bonus Line"

PostSalesInvoice

procedure PostSalesInvoice(var SalesInvLine: Record "Sales Invoice Line"; Cust: Record Customer; Item: Record Item)

Parameters / Return Value

  • SalesInvLine Record "Sales Invoice Line"

  • Cust Record "Customer"

  • Item Record "Item"


PostSalesInvoice

procedure PostSalesInvoice(var SalesInvLine: Record "Sales Invoice Line"; Cust: Record Customer; Item: Record Item; Qty: Decimal; UnitPrice: Decimal)

Parameters / Return Value

  • SalesInvLine Record "Sales Invoice Line"

  • Cust Record "Customer"

  • Item Record "Item"

  • Qty Decimal

  • UnitPrice Decimal


PostSalesCrMemo

procedure PostSalesCrMemo(var SalesCrMemoLine: Record "Sales Cr.Memo Line"; Cust: Record Customer; Item: Record Item)

Parameters / Return Value

  • SalesCrMemoLine Record "Sales Cr.Memo Line"

  • Cust Record "Customer"

  • Item Record "Item"


PostSalesCrMemo

procedure PostSalesCrMemo(var SalesCrMemoLine: Record "Sales Cr.Memo Line"; Cust: Record Customer; Item: Record Item; Qty: Decimal; UnitPrice: Decimal)

Parameters / Return Value

  • SalesCrMemoLine Record "Sales Cr.Memo Line"

  • Cust Record "Customer"

  • Item Record "Item"

  • Qty Decimal

  • UnitPrice Decimal


CreateSettlement

procedure CreateSettlement(var BonusLine: Record "EOS Bonus Line")

Parameters / Return Value

  • BonusLine Record "EOS Bonus Line"

CreateSettlement

procedure CreateSettlement(var BonusLine: Record "EOS Bonus Line"; var PurchHeader: Record "Purchase Header")

Parameters / Return Value

  • BonusLine Record "EOS Bonus Line"

  • PurchHeader Record "Purchase Header"


CreateSettlement

procedure CreateSettlement(var BonusLine: Record "EOS Bonus Line"; var SalesHeader: Record "Sales Header")

Parameters / Return Value

  • BonusLine Record "EOS Bonus Line"

  • SalesHeader Record "Sales Header"


CreateSettlement

procedure CreateSettlement(var BonusLine: Record "EOS Bonus Line"; var TempRecIdBuf: Record "EOS Record Ident. Buffer"; PostDocuments: Boolean)

Parameters / Return Value

  • BonusLine Record "EOS Bonus Line"

  • TempRecIdBuf Record "EOS Record Ident. Buffer"

  • PostDocuments Boolean


PostSettlementJnlLine

procedure PostSettlementJnlLine(var BonusJnlBatch: Record "EOS Bonus Journal Batch")

Parameters / Return Value

  • BonusJnlBatch Record "EOS Bonus Journal Batch"

AllocateBonusLedgEntry

procedure AllocateBonusLedgEntry(var BonusHeader: Record "EOS Bonus Header"; GenJnlBatch: Record "Gen. Journal Batch"; PostJnlLines: Boolean): List of [Integer]

Parameters / Return Value

  • BonusHeader Record "EOS Bonus Header"

  • GenJnlBatch Record "Gen. Journal Batch"

  • PostJnlLines Boolean

  • Returns List[Integer]


AllocateBonusLedgEntry

procedure AllocateBonusLedgEntry(var BonusLine: Record "EOS Bonus Line"; GenJnlBatch: Record "Gen. Journal Batch"; PostJnlLines: Boolean): List of [Integer]

Parameters / Return Value

  • BonusLine Record "EOS Bonus Line"

  • GenJnlBatch Record "Gen. Journal Batch"

  • PostJnlLines Boolean

  • Returns List[Integer]


AllocateBonusLedgEntry

procedure AllocateBonusLedgEntry(var BonusLedgEntry: Record "EOS Bonus Ledger Entry"; GenJnlBatch: Record "Gen. Journal Batch"; PostJnlLines: Boolean): List of [Integer]

Parameters / Return Value

  • BonusLedgEntry Record "EOS Bonus Ledger Entry"

  • GenJnlBatch Record "Gen. Journal Batch"

  • PostJnlLines Boolean

  • Returns List[Integer]


MatchToExternalDocument

procedure MatchToExternalDocument(var BonusLine: Record "EOS Bonus Line"; TempDocMatching: Record "EOS Bonus Document Matching")

Parameters / Return Value

  • BonusLine Record "EOS Bonus Line"

  • TempDocMatching Record "EOS Bonus Document Matching"


EditDocumentAmount

procedure EditDocumentAmount(BonusLine: Record "EOS Bonus Line"; NewSettlementAmount: Decimal)

Parameters / Return Value

  • BonusLine Record "EOS Bonus Line"

  • NewSettlementAmount Decimal


EditDocumentAmount

procedure EditDocumentAmount(BonusJnlLine: Record "EOS Bonus Journal Line"; NewSettlementAmount: Decimal)

Parameters / Return Value

  • BonusJnlLine Record "EOS Bonus Journal Line"

  • NewSettlementAmount Decimal


CreateItemPool

procedure CreateItemPool(NoOfItems: Integer; var LocalAny: Codeunit Any; var TempItem: Record Item)

Parameters / Return Value

  • NoOfItems Integer

  • LocalAny Codeunit "Any"

  • TempItem Record "Item"


ModifyDocumentAmount

procedure ModifyDocumentAmount(PurchHeader: Record "Purchase Header"; NewAmount: Decimal)

Parameters / Return Value

  • PurchHeader Record "Purchase Header"

  • NewAmount Decimal


PostPurchInvoiceForSettlement

procedure PostPurchInvoiceForSettlement(Amount: Decimal; var DocMatching: Record "EOS Bonus Document Matching")

Parameters / Return Value

  • Amount Decimal

  • DocMatching Record "EOS Bonus Document Matching"


PostPurchInvoiceForSettlement

procedure PostPurchInvoiceForSettlement(VendorNo: Code[20]; Amount: Decimal; var DocMatching: Record "EOS Bonus Document Matching")

Parameters / Return Value

  • VendorNo Code[20]

  • Amount Decimal

  • DocMatching Record "EOS Bonus Document Matching"


BuildSalesDataset

procedure BuildSalesDataset(var TempSalesSnapshot: Record "EOS Sales Snapshot"; var LocalAny: Codeunit Any)

Parameters / Return Value

  • TempSalesSnapshot Record "EOS Sales Snapshot"

  • LocalAny Codeunit "Any"


CreateBonusClass

procedure CreateBonusClass(var BonusClass: Record "EOS Bonus Class")

Parameters / Return Value

  • BonusClass Record "EOS Bonus Class"

CreateBonusClassWithAllocationAccounts

procedure CreateBonusClassWithAllocationAccounts(var BonusClass: Record "EOS Bonus Class")

Parameters / Return Value

  • BonusClass Record "EOS Bonus Class"

GetAllocationGlEntry

procedure GetAllocationGlEntry(var TempGlEntry: Record "G/L Entry"; EntryNos: List of [Integer])

Parameters / Return Value

  • TempGlEntry Record "G/L Entry"

  • EntryNos List[Integer]


ReverseGlEntry

procedure ReverseGlEntry(var GlEntry: Record "G/L Entry")

Parameters / Return Value

  • GlEntry Record "G/L Entry"


EOS Labs -