Table of Contents

KVSPSACreateOrderQuoteFromPSP

Procedures

SetCreateJobPurchParameters(Record KVSPSACreateJobPurchParameters) :

Summary: Set some Parameters for call of the Report KVSPSACreateOrderQuoteFromPSP

procedure SetCreateJobPurchParameters(var CreateJobPurchParameters: Record "KVSPSACreateJobPurchParameters"): 

Parameters:

  • CreateJobPurchParameters: Parameters for the Report KVSPSACreateOrderQuoteFromPSP

Events

KVSPSAOnAfterCopyPSAJobBudgetLineToKVSKBAOrderQuoteLine(Record KVSKBAOrderQuoteLine, Record KVSPSA Job Budget Line, Record KVSPSACreateJobPurchParameters) :

Summary: Integration event raised after copying PSA job budget line to order quote line.

[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterCopyPSAJobBudgetLineToKVSKBAOrderQuoteLine(var KVSKBAOrderQuoteLine: Record "KVSKBAOrderQuoteLine"; var JobBudgetLine: Record "KVSPSA Job Budget Line"; GlobalCreateJobPurchParameters: Record "KVSPSACreateJobPurchParameters"): 

Parameters:

  • KVSKBAOrderQuoteLine: The order quote line record
  • JobBudgetLine: The job budget line record
  • GlobalCreateJobPurchParameters: The create job purchase parameters record

KVSPSAOnBeforeOpenCreatedDocuments(Code[20], Code[20], Record KVSPSACreateJobPurchParameters, Boolean, Boolean) :

Summary: Integration event raised before opening created documents.

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeOpenCreatedDocuments(GlobalFirstDocNo: Code[20]; GlobalLastDocNo: Code[20]; GlobalCreateJobPurchParameters: Record "KVSPSACreateJobPurchParameters"; var HideQuestion: Boolean; var IsHandled: Boolean): 

Parameters:

  • GlobalFirstDocNo: The first document number
  • GlobalLastDocNo: The last document number
  • GlobalCreateJobPurchParameters: The create job purchase parameters record
  • HideQuestion: Set to true to hide the question
  • IsHandled: Set to true if the event handler has handled the operation

Protected Variables

GlobalCreateJobPurchParameters

Type: Record (KVSPSACreateJobPurchParameters)