KVSPSASalesHeader#
Extends #437dbf0e84ff417a965ded2bb9650972#Sales Header
Fields#
Name | Type | Note |
---|---|---|
KVSPSAQuote No. PSA | Code[20] | |
KVSPSABill-to Code | Code[10] | |
KVSPSAJob Description | Text[100] | FlowField |
KVSPSAInvoicingRequestCreated | Boolean | FlowField |
KVSPSAInvoicingRequestProgress | Boolean | FlowField |
KVSPSAJob No. | Code[20] | |
KVSPSAPrint Working Hours | Boolean | |
KVSPSAPrint Null Position | Boolean | |
KVSPSAPrint Document No. | Boolean | |
KVSPSAPrint Attachement | Boolean | |
KVSPSAPrint Grouping Resource | Boolean | |
KVSPSAPrint Item Lines | Boolean | |
KVSPSAPrint Resource Name | Boolean | |
KVSPSAPrint Grouping | Enum (KVSPSAPrintGroupingField) | |
KVSPSAEfficiency Period | Text[30] | |
KVSPSALatest Efficiency Date | Date | FlowField |
KVSPSAOldest Efficiency Date | Date | FlowField |
KVSPSARelease for Inv. | Boolean | |
KVSPSARec. released for Inv. | Text[100] | |
KVSPSASupportContractNo | Code[20] | Warning: Obsolete |
KVSPSASupportContractStartdate | Date | Warning: Obsolete |
KVSPSASupportContractEnddate | Date | Warning: Obsolete |
KVSPSAModuleVersion | Code[20] | Warning: Obsolete |
Procedures#
KVSPSAFillEfficiencyDate() :#
Summary: Fills the field "KVSPSAEfficiency Period" with the latest ("KVSPSALatest Efficiency Date") and oldest efficiency date ("KVSPSAOldest Efficiency Date").
procedure KVSPSAFillEfficiencyDate():
Events#
KVSPSAOnAfterFillBillToAddressFromJob(Record Sales Header, Record Job) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterFillBillToAddressFromJob(var SalesHeader: Record "Sales Header"; Job: Record "Job"):
[EventSubscriber(ObjectType::TableExtension, TableExtension::"KVSPSASalesHeader", 'KVSPSAOnAfterFillBillToAddressFromJob', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterFillBillToAddressFromJob(var SalesHeader: Record "Sales Header"; Job: Record "Job")
begin
end;
KVSPSAOnAfterFillShipToAddressFromJob(Record Sales Header, Record Job) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterFillShipToAddressFromJob(var SalesHeader: Record "Sales Header"; Job: Record "Job"):
[EventSubscriber(ObjectType::TableExtension, TableExtension::"KVSPSASalesHeader", 'KVSPSAOnAfterFillShipToAddressFromJob', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterFillShipToAddressFromJob(var SalesHeader: Record "Sales Header"; Job: Record "Job")
begin
end;
KVSPSAOnAfterSetPSAModuleVersion(Record Sales Header) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterSetPSAModuleVersion(var SalesHeader: Record "Sales Header"):
[EventSubscriber(ObjectType::TableExtension, TableExtension::"KVSPSASalesHeader", 'KVSPSAOnAfterSetPSAModuleVersion', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterSetPSAModuleVersion(var SalesHeader: Record "Sales Header")
begin
end;
KVSPSAOnAfterTransferJobFieldsToSalesHeader(Record Sales Header, Record Job) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterTransferJobFieldsToSalesHeader(var SalesHeader: Record "Sales Header"; Job: Record "Job"):
[EventSubscriber(ObjectType::TableExtension, TableExtension::"KVSPSASalesHeader", 'KVSPSAOnAfterTransferJobFieldsToSalesHeader', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterTransferJobFieldsToSalesHeader(var SalesHeader: Record "Sales Header"; Job: Record "Job")
begin
end;
KVSPSAOnBeforeFillBillToAddressFromJob(Record Sales Header, Record Job, Boolean) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeFillBillToAddressFromJob(var SalesHeader: Record "Sales Header"; Job: Record "Job"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::TableExtension, TableExtension::"KVSPSASalesHeader", 'KVSPSAOnBeforeFillBillToAddressFromJob', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeFillBillToAddressFromJob(var SalesHeader: Record "Sales Header"; Job: Record "Job"; var IsHandled: Boolean)
begin
end;
KVSPSAOnBeforeFillShipToAddressFromJob(Record Sales Header, Record Job, Boolean) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeFillShipToAddressFromJob(var SalesHeader: Record "Sales Header"; Job: Record "Job"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::TableExtension, TableExtension::"KVSPSASalesHeader", 'KVSPSAOnBeforeFillShipToAddressFromJob', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeFillShipToAddressFromJob(var SalesHeader: Record "Sales Header"; Job: Record "Job"; var IsHandled: Boolean)
begin
end;
KVSPSAOnBeforeValidatePaymentTermsFromJob(Record Sales Header, Record Job, Boolean) :#
Summary: This event is raised before the validation of the Payment Terms from the field validation of "KVSPSAJob No.".
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeValidatePaymentTermsFromJob(var SalesHeader: Record "Sales Header"; Job: Record "Job"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::TableExtension, TableExtension::"KVSPSASalesHeader", 'KVSPSAOnBeforeValidatePaymentTermsFromJob', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeValidatePaymentTermsFromJob(var SalesHeader: Record "Sales Header"; Job: Record "Job"; var IsHandled: Boolean)
begin
end;
Parameters:
SalesHeader
: The current SalesHeader Record to be modifiedJob
: The current Job Record associated with the SalesHeaderIsHandled
:
KVSPSAOnBeforeSetPSAModuleVersion(Record Sales Header, Boolean) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeSetPSAModuleVersion(var SalesHeader: Record "Sales Header"; var IsHandled: Boolean):
[EventSubscriber(ObjectType::TableExtension, TableExtension::"KVSPSASalesHeader", 'KVSPSAOnBeforeSetPSAModuleVersion', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeSetPSAModuleVersion(var SalesHeader: Record "Sales Header"; var IsHandled: Boolean)
begin
end;
KVSPSAOnBeforeValidateJobNoOnSalesLine(Boolean, Boolean) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeValidateJobNoOnSalesLine(var Confirmed: Boolean; var IsHandled: Boolean):
[EventSubscriber(ObjectType::TableExtension, TableExtension::"KVSPSASalesHeader", 'KVSPSAOnBeforeValidateJobNoOnSalesLine', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeValidateJobNoOnSalesLine(var Confirmed: Boolean; var IsHandled: Boolean)
begin
end;
KVSPSAOnAfterFillEfficiencyDate(Record Sales Header) :#
Obsolete
This Element will be removed or changed with a future Version of the App.
[Obsolete('Use "KVSPSAOnAfterKVSPSAFillEfficiencyDate"', '22.5')]
[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterFillEfficiencyDate(var Rec: Record "Sales Header"):
[EventSubscriber(ObjectType::TableExtension, TableExtension::"KVSPSASalesHeader", 'KVSPSAOnAfterFillEfficiencyDate', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterFillEfficiencyDate(var Rec: Record "Sales Header")
begin
end;
KVSPSAOnAfterKVSPSAFillEfficiencyDate(Record Sales Header) :#
[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterKVSPSAFillEfficiencyDate(var SalesHeader: Record "Sales Header"):
[EventSubscriber(ObjectType::TableExtension, TableExtension::"KVSPSASalesHeader", 'KVSPSAOnAfterKVSPSAFillEfficiencyDate', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterKVSPSAFillEfficiencyDate(var SalesHeader: Record "Sales Header")
begin
end;