Skip to content

KVSPSASalesLine#

Extends #437dbf0e84ff417a965ded2bb9650972#Sales Line

Fields#

Name Type Note
KVSPSAFactor Decimal
KVSPSALineno2 Integer
KVSPSAJob Description Text[100] FlowField
KVSPSANonTransferableElement Boolean
KVSPSACalculation BOM Integer
KVSPSACalc. Unit Price Decimal Warning: Obsolete
FlowField
KVSPSACalc. Unit Cost (LCY) Decimal Warning: Obsolete
FlowField
KVSPSATotalingHeaderLineNo Integer
KVSPSACalc. Unit Cost Decimal Warning: Obsolete
FlowField
KVSPSAJobTemplateCode Code[20]
KVSPSAJobTemplateLineNo Integer
KVSPSAJobTemplateBudgetLineNo. Integer
KVSPSASalesLineSystemId Guid
KVSPSABudget Line No. Integer
KVSPSATo-Do No. Code[20]
KVSPSAWork Package Code Code[20]
KVSPSATempJobLedgerEntryNo. Integer Warning: Obsolete
KVSPSAOrder No. f. Job Invoice Code[20]
KVSPSAOrderLineNoJobInvoice Integer
KVSPSAOrdered Boolean
KVSPSAInvoice Ledger Entries Boolean FlowField
KVSPSAInvoicing Type Enum (KVSPSAPspInvoicingType) FlowField
KVSPSARequested Billing Type Enum (KVSPSAPspInvoicingType)
KVSPSAPhase Code Code[20]
KVSPSATask Code Code[20]
KVSPSAStep Code Code[20]
KVSPSAJob Inv. Currency Factor Decimal
KVSPSAJob Inv. Currency Code Code[20]
KVSPSAEntryNoJobPaymPlanEntry Integer
KVSPSAEntryNoJobPaymE(Re-C.) Integer
KVSPSASourceICPartnerJobNo Code[20]
KVSPSASourceICPartnerBudLineNo Integer
KVSPSASourceICPartnerWorkPack Code[20]
KVSPSASourceICPartnerPhaseCode Code[20]
KVSPSASourceICPartnerTaskCode Code[20]
KVSPSASourceICPartnerStepCode Code[20]
KVSPSAOrderBacklog Decimal
KVSPSASupportContractNo Code[20] Warning: Obsolete
KVSPSASupportContractVersion Integer Warning: Obsolete
KVSPSASupportContractLineNo Integer Warning: Obsolete
KVSPSASupportContractInvType Option Warning: Obsolete
OptionMembers: Both,Update,Helpline
KVSPSASupportContractAccType Enum (KVSPSAActType) Warning: Obsolete
KVSPSASupportContractAccNo Code[20] Warning: Obsolete
KVSPSAPrintOnInvoice Boolean
KVSPSAResource Group Code[20]
KVSPSATarget Resource No. Code[20]

Procedures#

KVSPSATypeRequiresJobWorkPackageAndPhaseTaskStep() : Boolean#

Summary: TypeRequiresJobWorkPackageAndPhaseTaskStep returns true for GLAccounts, Item, Resources - these types are supported when posting with work packages or task numbers.

procedure KVSPSATypeRequiresJobWorkPackageAndPhaseTaskStep(): Boolean

Returns:

Events#

KVSPSAOnAfterTypeRequiresJobWorkPackageAndPhaseTaskStep(Record Sales Line, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterTypeRequiresJobWorkPackageAndPhaseTaskStep(SalesLine: Record "Sales Line"; var TypeRequiresJobWorkPackageAndPhaseTaskStep: Boolean): 
[EventSubscriber(ObjectType::TableExtension, TableExtension::"KVSPSASalesLine", 'KVSPSAOnAfterTypeRequiresJobWorkPackageAndPhaseTaskStep', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterTypeRequiresJobWorkPackageAndPhaseTaskStep(SalesLine: Record "Sales Line"; var TypeRequiresJobWorkPackageAndPhaseTaskStep: Boolean)
begin
end;

KVSPSAOnBeforeKeepOldPrice(Record Sales Line, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeKeepOldPrice(var SalesLine: Record "Sales Line"; var KeepOldPrice: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::TableExtension, TableExtension::"KVSPSASalesLine", 'KVSPSAOnBeforeKeepOldPrice', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeKeepOldPrice(var SalesLine: Record "Sales Line"; var KeepOldPrice: Boolean; var IsHandled: Boolean)
begin
end;

KVSPSAOnBeforeShouldLineTypeBeBold(Record Sales Line, Boolean, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeShouldLineTypeBeBold(SalesLine: Record "Sales Line"; var Result: Boolean; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::TableExtension, TableExtension::"KVSPSASalesLine", 'KVSPSAOnBeforeShouldLineTypeBeBold', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeShouldLineTypeBeBold(SalesLine: Record "Sales Line"; var Result: Boolean; var IsHandled: Boolean)
begin
end;

KVSPSAOnBeforeSetTableViewToDoNo(Record Sales Line, Record KVSPSA Job Budget Line) :#

Summary: This event can be used to change the filter for the job budget lines shown in the field To-Do-No. before the SetTableView call is made

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeSetTableViewToDoNo(var SalesLine: Record "Sales Line"; var JobBudgetLine: Record "KVSPSA Job Budget Line"): 
[EventSubscriber(ObjectType::TableExtension, TableExtension::"KVSPSASalesLine", 'KVSPSAOnBeforeSetTableViewToDoNo', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeSetTableViewToDoNo(var SalesLine: Record "Sales Line"; var JobBudgetLine: Record "KVSPSA Job Budget Line")
begin
end;

Parameters:

  • JobBudgetLine: JobBudgetLine that is changed
  • SalesLine: SalesLine for filtering