Skip to content

KVSMEDContractLib#

Procedures#

GetContractVersionsByCustAndManualFilter(Record KVSMEDContractVersionHeader, Record KVSMEDContractVersionLine, Record KVSMEDContrAddFieldSearchBffr, Code[10], Code[20], Code[10], Code[10], Code[10], Code[10], Code[40], Boolean, Boolean) :#

Summary: Search all matching contract version lines

procedure GetContractVersionsByCustAndManualFilter(var TempKVSMEDContractVersionHeader: Record "KVSMEDContractVersionHeader" temporary; var TempKVSMEDContractVersionLine: Record "KVSMEDContractVersionLine" temporary; var TempKVSMEDContrAddFieldSearchBffr: Record "KVSMEDContrAddFieldSearchBffr" temporary; ProcessTypeCode: Code[10]; CustomerNo: Code[20]; CustomerNoPartnerRole: Code[10]; PartnerRoleCode: Code[10]; SearchCode: Code[10]; ApplianceSearchCode: Code[10]; SearchTerm: Code[40]; ShowGeneralContracts: Boolean; NewSearch: Boolean): 

Parameters:

  • TempKVSMEDContractVersionHeader:
  • TempKVSMEDContractVersionLine:
  • TempKVSMEDContrAddFieldSearchBffr:
  • ProcessTypeCode:
  • CustomerNo:
  • CustomerNoPartnerRole:
  • PartnerRoleCode:
  • SearchCode:
  • ApplianceSearchCode:
  • SearchTerm:
  • ShowGeneralContracts:
  • NewSearch:

GetContractVersionsByCustAndManualFilterNew(Record KVSMEDContractVersionHeader, Record KVSMEDContractVersionLine, Record KVSMEDContrAddFieldSearchBffr, Code[10], Code[20], Code[20], Code[10], Code[10], Code[10], Code[40], Boolean, Boolean) :#

Summary: Search all matching contract version lines

procedure GetContractVersionsByCustAndManualFilterNew(var TempKVSMEDContractVersionHeader: Record "KVSMEDContractVersionHeader" temporary; var TempKVSMEDContractVersionLine: Record "KVSMEDContractVersionLine" temporary; var TempKVSMEDContrAddFieldSearchBffr: Record "KVSMEDContrAddFieldSearchBffr" temporary; ProcessTypeCode: Code[10]; CustomerNo: Code[20]; CustomerNoPartnerRole: Code[20]; PartnerRoleCode: Code[10]; SearchCode: Code[10]; ApplianceSearchCode: Code[10]; SearchTerm: Code[40]; ShowGeneralContracts: Boolean; NewSearch: Boolean): 

Parameters:

  • TempKVSMEDContractVersionHeader:
  • TempKVSMEDContractVersionLine:
  • TempKVSMEDContrAddFieldSearchBffr:
  • ProcessTypeCode:
  • CustomerNo:
  • CustomerNoPartnerRole:
  • PartnerRoleCode:
  • SearchCode:
  • ApplianceSearchCode:
  • SearchTerm:
  • ShowGeneralContracts:
  • NewSearch:

Events#

OnBeforeContractFoundCheck(Record Customer, Codeunit KVSKBAGenericEventArguments, Record KVSMEDContractVersionHeader, Record KVSMEDContractVersionLine, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeContractFoundCheck(Customer: Record "Customer"; var AdditionalEventArguments: Codeunit "KVSKBAGenericEventArguments"; var TempContractVersionHeader: Record "KVSMEDContractVersionHeader" temporary; var TempContractSearchResultBuffer: Record "KVSMEDContractVersionLine" temporary; var ContractFound: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDContractLib", 'OnBeforeContractFoundCheck', '', false, false)]
local procedure DoSomethingOnBeforeContractFoundCheck(Customer: Record "Customer"; var AdditionalEventArguments: Codeunit "KVSKBAGenericEventArguments"; var TempContractVersionHeader: Record "KVSMEDContractVersionHeader" temporary; var TempContractSearchResultBuffer: Record "KVSMEDContractVersionLine" temporary; var ContractFound: Boolean)
begin
end;