Skip to content

KVSKBAOrderQuoteMandFieldsLib#

Procedures#

CheckMandatoryFieldsOrderQuote(Record KVSKBAOrderQuote, Boolean) : Boolean#

Summary: Use this function to check the mandatory fields for Purchase Request

procedure CheckMandatoryFieldsOrderQuote(OrderQuote: Record "KVSKBAOrderQuote"; ShowFoundFields: Boolean): Boolean

Parameters:

  • OrderQuote: Purchase Request to check.
  • ShowFoundFields: Specifies whether the fields that do not fulfill the conditions should be displayed.

Returns:

Events#

OnBeforeCheckMandatoryFieldsOrderQuote(Record KVSKBAOrderQuote, Boolean, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCheckMandatoryFieldsOrderQuote(var OrderQuote: Record "KVSKBAOrderQuote"; var ShowFoundFields: Boolean; var Ok: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAOrderQuoteMandFieldsLib", 'OnBeforeCheckMandatoryFieldsOrderQuote', '', false, false)]
local procedure DoSomethingOnBeforeCheckMandatoryFieldsOrderQuote(var OrderQuote: Record "KVSKBAOrderQuote"; var ShowFoundFields: Boolean; var Ok: Boolean; var IsHandled: Boolean)
begin
end;