Skip to content

KVSPSAPurchase Subscribers#

Procedures#

IsBusinessRegistrationCertificateMissingForVendor(Code[20], Date) : Boolean#

procedure IsBusinessRegistrationCertificateMissingForVendor(VendorNo: Code[20]; PostingDate: Date): Boolean

NotifyForMissingBusinessRegistrationCertificateInPurchaseHeader(Record Purchase Header) :#

procedure NotifyForMissingBusinessRegistrationCertificateInPurchaseHeader(PurchaseHeader: Record "Purchase Header"): 

Events#

KVSPSAOnBeforeAddWorkPackagesOnJobContactForSingleWPPurchases(Record Purchase Header, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeAddWorkPackagesOnJobContactForSingleWPPurchases(var PurchaseHeader: Record "Purchase Header"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAPurchase Subscribers", 'KVSPSAOnBeforeAddWorkPackagesOnJobContactForSingleWPPurchases', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeAddWorkPackagesOnJobContactForSingleWPPurchases(var PurchaseHeader: Record "Purchase Header"; var IsHandled: Boolean)
begin
end;

KVSPSAOnBeforeSendNotificationForMissingBusinessRegistrationCertificateInPurchaseHeader(Text, Record Purchase Header, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeSendNotificationForMissingBusinessRegistrationCertificateInPurchaseHeader(var NotificationText: Text; var PurchaseHeader: Record "Purchase Header"; var ShouldSendNotification: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAPurchase Subscribers", 'KVSPSAOnBeforeSendNotificationForMissingBusinessRegistrationCertificateInPurchaseHeader', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeSendNotificationForMissingBusinessRegistrationCertificateInPurchaseHeader(var NotificationText: Text; var PurchaseHeader: Record "Purchase Header"; var ShouldSendNotification: Boolean)
begin
end;

KVSPSAOnCheckIfJobPurchaseWInventoryOnSetUseJobPurchWInventory(Record Item Ledger Entry, Code[20], Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnCheckIfJobPurchaseWInventoryOnSetUseJobPurchWInventory(ItemLedgerEntry: Record "Item Ledger Entry"; JobNo: Code[20]; var UseJobPurchaseWInventory: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAPurchase Subscribers", 'KVSPSAOnCheckIfJobPurchaseWInventoryOnSetUseJobPurchWInventory', '', false, false)]
local procedure DoSomethingKVSPSAOnCheckIfJobPurchaseWInventoryOnSetUseJobPurchWInventory(ItemLedgerEntry: Record "Item Ledger Entry"; JobNo: Code[20]; var UseJobPurchaseWInventory: Boolean)
begin
end;