KVSPSAPurchPost#
Procedures#
ResJobLedgerCorrection(Integer, Decimal, Record Purchase Header, Record Purchase Line, Record Purch. Inv. Header, Record Purch. Cr. Memo Hdr., Record Purch. Rcpt. Header, Record Return Shipment Header) :#
procedure ResJobLedgerCorrection(JobLedgNo: Integer; UnitCostLCY: Decimal; PurchaseHeader: Record "Purchase Header"; PurchaseLine: Record "Purchase Line"; PurchInvHeader: Record "Purch. Inv. Header"; PurchCrMemoHdr: Record "Purch. Cr. Memo Hdr."; PurchRcptHeader: Record "Purch. Rcpt. Header"; ReturnShipmentHeader: Record "Return Shipment Header"):
Events#
KVSPSAOnBeforeTestPurchLineJobPurchPost(Record Purchase Line, Boolean, Boolean) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeTestPurchLineJobPurchPost(PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean; var SkipWorkPackageCheck: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAPurchPost", 'KVSPSAOnBeforeTestPurchLineJobPurchPost', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeTestPurchLineJobPurchPost(PurchaseLine: Record "Purchase Line"; var IsHandled: Boolean; var SkipWorkPackageCheck: Boolean)
begin
end;
KVSPSAOnBeforeTestFieldJobNoMandatoryByPosting(Record Purchase Header, Record Purchase Line, Record KVSPSAJobNoMandatoryByPosting, Boolean) :#
Summary: This event is raised before testing the field Job No. Mandatory By Posting. If IsHandled is set to true, the standard testing of the field is skipped.
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeTestFieldJobNoMandatoryByPosting(PurchasehHeader: Record "Purchase Header"; PurchaseLine: Record "Purchase Line"; var JobNoMandatoryByPosting: Record "KVSPSAJobNoMandatoryByPosting"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAPurchPost", 'KVSPSAOnBeforeTestFieldJobNoMandatoryByPosting', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeTestFieldJobNoMandatoryByPosting(PurchasehHeader: Record "Purchase Header"; PurchaseLine: Record "Purchase Line"; var JobNoMandatoryByPosting: Record "KVSPSAJobNoMandatoryByPosting"; var IsHandled: Boolean)
begin
end;
Parameters:
PurchasehHeader
:PurchaseLine
:JobNoMandatoryByPosting
:IsHandled
: