Codeunit 5137871 M365 Batch Quote Mgt.

Codeunit 5137871 M365 Batch Quote Mgt.

Methods

CreateReqWorksheet

procedure CreateReqWorksheet(batchQuoteHeader: Record "M365 Batch Quote Header")

Parameters / Return Value

  • batchQuoteHeader Record "M365 Batch Quote Header"

CreateQuotes

procedure CreateQuotes(batchQuoteNo: Code[20])

Parameters / Return Value

  • batchQuoteNo Code[20]

CreateQuoteHeader

procedure CreateQuoteHeader(batchQuoteVendorLine: Record "M365 Batch Quote Vendor Line")

Parameters / Return Value

  • batchQuoteVendorLine Record "M365 Batch Quote Vendor Line"

DeleteBatchQuotes

procedure DeleteBatchQuotes(batchQuoteNo: Code[20]; delActualQuote: Code[20])

Parameters / Return Value

  • batchQuoteNo Code[20]

  • delActualQuote Code[20]


CalcNoOfQuotes

procedure CalcNoOfQuotes(batchQuoteHeader: Record "M365 Batch Quote Header"): Integer

Parameters / Return Value

  • batchQuoteHeader Record "M365 Batch Quote Header"

  • Returns Integer


CalcNoOfOrders

procedure CalcNoOfOrders(batchQuoteHeader: Record "M365 Batch Quote Header"): Integer

Parameters / Return Value

  • batchQuoteHeader Record "M365 Batch Quote Header"

  • Returns Integer


CalcNoOfProposals

procedure CalcNoOfProposals(batchQuoteHeader: Record "M365 Batch Quote Header"): Integer

Parameters / Return Value

  • batchQuoteHeader Record "M365 Batch Quote Header"

  • Returns Integer


CalcNoOfReqWorkSheet

procedure CalcNoOfReqWorkSheet(batchQuoteHeader: Record "M365 Batch Quote Header"): Integer

Parameters / Return Value

  • batchQuoteHeader Record "M365 Batch Quote Header"

  • Returns Integer


LookUpQuotes

procedure LookUpQuotes(batchQuoteHeader: Record "M365 Batch Quote Header")

Parameters / Return Value

  • batchQuoteHeader Record "M365 Batch Quote Header"

LookUpOrders

procedure LookUpOrders(batchQuoteHeader: Record "M365 Batch Quote Header")

Parameters / Return Value

  • batchQuoteHeader Record "M365 Batch Quote Header"

LookUpProposals

procedure LookUpProposals(batchQuoteHeader: Record "M365 Batch Quote Header")

Parameters / Return Value

  • batchQuoteHeader Record "M365 Batch Quote Header"

LookUpReqWorkSheet

procedure LookUpReqWorkSheet(batchQuoteHeader: Record "M365 Batch Quote Header")

Parameters / Return Value

  • batchQuoteHeader Record "M365 Batch Quote Header"

GetLastLineNo

procedure GetLastLineNo(purchLine: Record "Purchase Line"): Integer

Parameters / Return Value

  • purchLine Record "Purchase Line"

  • Returns Integer


CreateBatchQuote

procedure CreateBatchQuote(var reqLine: Record "Requisition Line")

Parameters / Return Value

  • reqLine Record "Requisition Line"

Events

OnBeforModifyReqLine

local procedure OnBeforModifyReqLine(var reqLine: Record "Requisition Line"; batchQuoteHeader: Record "M365 Batch Quote Header"; batchQuoteItemLine: Record "M365 Batch Quote Item Line")

Parameters / Return Value

  • reqLine Record "Requisition Line"

  • batchQuoteHeader Record "M365 Batch Quote Header"

  • batchQuoteItemLine Record "M365 Batch Quote Item Line"


OnBeforeModifyPurchHeader

local procedure OnBeforeModifyPurchHeader(var purchaseHeader: Record "Purchase Header"; batchQuoteHeader: Record "M365 Batch Quote Header"; batchQuoteVendorLine: Record "M365 Batch Quote Vendor Line")

Parameters / Return Value

  • purchaseHeader Record "Purchase Header"

  • batchQuoteHeader Record "M365 Batch Quote Header"

  • batchQuoteVendorLine Record "M365 Batch Quote Vendor Line"


OnBeforeModifyPurchLine

local procedure OnBeforeModifyPurchLine(var purchaseLine: Record "Purchase Line"; purchHeader: Record "Purchase Header"; batchQuoteItemLine: Record "M365 Batch Quote Item Line"; batchQuoteVendorLine: Record "M365 Batch Quote Vendor Line")

Parameters / Return Value

  • purchaseLine Record "Purchase Line"

  • purchHeader Record "Purchase Header"

  • batchQuoteItemLine Record "M365 Batch Quote Item Line"

  • batchQuoteVendorLine Record "M365 Batch Quote Vendor Line"


OnCreateBatchQuoteOnBeforeBatchQuoteHeaderInsert

local procedure OnCreateBatchQuoteOnBeforeBatchQuoteHeaderInsert(var batchQuoteHeader: Record "M365 Batch Quote Header"; reqLine: Record "Requisition Line")

Parameters / Return Value

  • batchQuoteHeader Record "M365 Batch Quote Header"

  • reqLine Record "Requisition Line"


OnCreateBatchQuoteOnBeforeBatchQuoteItemLineInsert

local procedure OnCreateBatchQuoteOnBeforeBatchQuoteItemLineInsert(var batchQuoteItemLine: Record "M365 Batch Quote Item Line"; batchQuoteHeader: Record "M365 Batch Quote Header"; reqLine: Record "Requisition Line")

Parameters / Return Value

  • batchQuoteItemLine Record "M365 Batch Quote Item Line"

  • batchQuoteHeader Record "M365 Batch Quote Header"

  • reqLine Record "Requisition Line"


OnCreateBatchQuoteOnBeforeBatchQuoteItemLineModify

local procedure OnCreateBatchQuoteOnBeforeBatchQuoteItemLineModify(var batchQuoteItemLine: Record "M365 Batch Quote Item Line"; batchQuoteHeader: Record "M365 Batch Quote Header"; reqLine: Record "Requisition Line")

Parameters / Return Value

  • batchQuoteItemLine Record "M365 Batch Quote Item Line"

  • batchQuoteHeader Record "M365 Batch Quote Header"

  • reqLine Record "Requisition Line"



EOS Labs -