KVSMEDCSRCallLib#
Procedures#
CreateCallDocuments(Code[20]) :#
procedure CreateCallDocuments(CallNo: Code[20]):
CloseCall(Code[20]) : Boolean#
procedure CloseCall(CallNo: Code[20]): Boolean
LookUpCallCard(Code[20]) :#
procedure LookUpCallCard(CallNo: Code[20]):
LookUpFinCallCard(Code[20]) :#
procedure LookUpFinCallCard(FinishedCallNo: Code[20]):
DeleteLinkToCallDocument(Variant) :#
procedure DeleteLinkToCallDocument(var CausingRecordVariant: Variant):
GetSerialNoInfo(Code[20], Code[10], Code[50], Record Serial No. Information) : Boolean#
procedure GetSerialNoInfo(No: Code[20]; VariantCode: Code[10]; SerialNo: Code[50]; var SerialNoInformation: Record "Serial No. Information"): Boolean
Events#
OnBeforeInsertSalesHeaderOnCreateSingleSalesDocument(Record Sales Header, Code[20]) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeInsertSalesHeaderOnCreateSingleSalesDocument(var SalesHeader: Record "Sales Header"; CallNo: Code[20]):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDCSRCallLib", 'OnBeforeInsertSalesHeaderOnCreateSingleSalesDocument', '', false, false)]
local procedure DoSomethingOnBeforeInsertSalesHeaderOnCreateSingleSalesDocument(var SalesHeader: Record "Sales Header"; CallNo: Code[20])
begin
end;
OnBeforeInsertSalesHeaderOnCreateSalesHeaderForCollectiveDoc(Code[20], Record KVSMEDCSRCallDocumentStructure, Record Sales Header) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeInsertSalesHeaderOnCreateSalesHeaderForCollectiveDoc(CallNo: Code[20]; CallDocumentStructure: Record "KVSMEDCSRCallDocumentStructure"; var SalesHeader: Record "Sales Header"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDCSRCallLib", 'OnBeforeInsertSalesHeaderOnCreateSalesHeaderForCollectiveDoc', '', false, false)]
local procedure DoSomethingOnBeforeInsertSalesHeaderOnCreateSalesHeaderForCollectiveDoc(CallNo: Code[20]; CallDocumentStructure: Record "KVSMEDCSRCallDocumentStructure"; var SalesHeader: Record "Sales Header")
begin
end;
OnAfterCopyAddressDataFromCSRCallToSalesHeader(Code[20], Record Sales Header, Integer, Boolean, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnAfterCopyAddressDataFromCSRCallToSalesHeader(CallNo: Code[20]; var SalesHeader: Record "Sales Header"; FieldnoToCopy: Integer; UpdateAllFields: Boolean; var ModifyNecessary: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDCSRCallLib", 'OnAfterCopyAddressDataFromCSRCallToSalesHeader', '', false, false)]
local procedure DoSomethingOnAfterCopyAddressDataFromCSRCallToSalesHeader(CallNo: Code[20]; var SalesHeader: Record "Sales Header"; FieldnoToCopy: Integer; UpdateAllFields: Boolean; var ModifyNecessary: Boolean)
begin
end;
OnBeforeInsertPurchHeaderOnCreatePurchaseHeaderForCollectiveDoc(Code[20], Record Purchase Header) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeInsertPurchHeaderOnCreatePurchaseHeaderForCollectiveDoc(CallNo: Code[20]; var PurchaseHeader: Record "Purchase Header"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDCSRCallLib", 'OnBeforeInsertPurchHeaderOnCreatePurchaseHeaderForCollectiveDoc', '', false, false)]
local procedure DoSomethingOnBeforeInsertPurchHeaderOnCreatePurchaseHeaderForCollectiveDoc(CallNo: Code[20]; var PurchaseHeader: Record "Purchase Header")
begin
end;
OnCreateNewCallFromContact(Record Contact, Boolean, Code[20]) :#
[IntegrationEvent(false, false)]
local procedure OnCreateNewCallFromContact(Contact: Record "Contact"; ShowCallPage: Boolean; var CallNo: Code[20]):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDCSRCallLib", 'OnCreateNewCallFromContact', '', false, false)]
local procedure DoSomethingOnCreateNewCallFromContact(Contact: Record "Contact"; ShowCallPage: Boolean; var CallNo: Code[20])
begin
end;
OnCreateNewCallFromCustomer(Record Customer, Boolean, Code[20]) :#
[IntegrationEvent(false, false)]
local procedure OnCreateNewCallFromCustomer(Customer: Record "Customer"; ShowCallPage: Boolean; var CallNo: Code[20]):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDCSRCallLib", 'OnCreateNewCallFromCustomer', '', false, false)]
local procedure DoSomethingOnCreateNewCallFromCustomer(Customer: Record "Customer"; ShowCallPage: Boolean; var CallNo: Code[20])
begin
end;
OnLookUpCallCard(Code[20]) :#
[IntegrationEvent(false, false)]
local procedure OnLookUpCallCard(CallNo: Code[20]):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDCSRCallLib", 'OnLookUpCallCard', '', false, false)]
local procedure DoSomethingOnLookUpCallCard(CallNo: Code[20])
begin
end;
OnLookUpFinishedCallCard(Code[20]) :#
[IntegrationEvent(false, false)]
local procedure OnLookUpFinishedCallCard(FinishedCallNo: Code[20]):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDCSRCallLib", 'OnLookUpFinishedCallCard', '', false, false)]
local procedure DoSomethingOnLookUpFinishedCallCard(FinishedCallNo: Code[20])
begin
end;
OnBeforeCreateNewCallFromSerialNoInfo(Record Serial No. Information, Integer, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnBeforeCreateNewCallFromSerialNoInfo(SerialNoInfoPar: Record "Serial No. Information"; var SelectedClassification: Integer; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDCSRCallLib", 'OnBeforeCreateNewCallFromSerialNoInfo', '', false, false)]
local procedure DoSomethingOnBeforeCreateNewCallFromSerialNoInfo(SerialNoInfoPar: Record "Serial No. Information"; var SelectedClassification: Integer; var IsHandled: Boolean)
begin
end;
OnAfterCreateAddOrderOnCreateSingleSalesDocument(Code[20], Enum Sales Document Type, Record Sales Header) :#
[IntegrationEvent(false, false)]
local procedure OnAfterCreateAddOrderOnCreateSingleSalesDocument(CallNo: Code[20]; SalesDocType: Enum "Sales Document Type"; var SalesHeader: Record "Sales Header"):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDCSRCallLib", 'OnAfterCreateAddOrderOnCreateSingleSalesDocument', '', false, false)]
local procedure DoSomethingOnAfterCreateAddOrderOnCreateSingleSalesDocument(CallNo: Code[20]; SalesDocType: Enum "Sales Document Type"; var SalesHeader: Record "Sales Header")
begin
end;
OnUpdateProcessingStatusBasedOnSalesQuoteStatus(Record Sales Header, Option, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnUpdateProcessingStatusBasedOnSalesQuoteStatus(var salesHeaderVar: Record "Sales Header"; changingTriggerPar: Option; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDCSRCallLib", 'OnUpdateProcessingStatusBasedOnSalesQuoteStatus', '', false, false)]
local procedure DoSomethingOnUpdateProcessingStatusBasedOnSalesQuoteStatus(var salesHeaderVar: Record "Sales Header"; changingTriggerPar: Option; var IsHandled: Boolean)
begin
end;
OnAfterPostingBeforePrint(Record Sales Header, Boolean) :#
[IntegrationEvent(false, false)]
local procedure OnAfterPostingBeforePrint(salesHeaderPar: Record "Sales Header"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSMEDCSRCallLib", 'OnAfterPostingBeforePrint', '', false, false)]
local procedure DoSomethingOnAfterPostingBeforePrint(salesHeaderPar: Record "Sales Header"; var IsHandled: Boolean)
begin
end;