Skip to content

KVSPSASalesLineWBSPrepare#

Fields#

Name Type Note
Document Type Enum Sales Document Type
Document No. Code[20]
Line No. Integer
KVSKBAPositionNo Code[20] FlowField
Type Enum Sales Line Type FlowField
No. Code[20] FlowField
Variant Code Code[10] FlowField
Job No. Code[20] FlowField
Unit of Measure Code Code[10] FlowField
Description Text[100] FlowField
Description2 Text[50] FlowField
Work Status Enum (KVSPSAWorkStatusType)
Transfer To Job Boolean
Target Job No. Code[20]
Target WBS Level Enum (KVSPSATransferSalesWBSLevel)
Target Work Package Code Code[20]
Target Phase Code Code[20]
Target Task Code Code[20]
Target Step Code Code[20]
Target Resource Type Enum (KVSPSATransferSalesResType)
Target Resource No. Code[20]
Target Work Type Code Code[10]
KVSPSAInvoicing Type Enum (KVSPSAPspInvoicingType)
Transfer in Sales Doc Option OptionMembers: PSP-Line,Budget-Lines,To-Do,no transfer
Milestone Boolean
Invoicing Delimination % Decimal
Use as bundle Boolean
Job Template Code Code[20]
Job Template Line No. Integer
Expand Budget Lines Boolean
Resource Group Code[20]
Non Transferable Stru. Element Boolean
Totaling Header Line No. Integer
Job Template Budget Line No. Integer

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#

KVSPSAOnAfterCheckNecessaryFieldsForTransferToJob(Record KVSPSASalesLineWBSPrepare) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterCheckNecessaryFieldsForTransferToJob(SalesLineWBSPrepare: Record "KVSPSASalesLineWBSPrepare"): 
[EventSubscriber(ObjectType::Table, Table::"KVSPSASalesLineWBSPrepare", 'KVSPSAOnAfterCheckNecessaryFieldsForTransferToJob', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterCheckNecessaryFieldsForTransferToJob(SalesLineWBSPrepare: Record "KVSPSASalesLineWBSPrepare")
begin
end;

KVSPSAOnAfterCheckWorkPackageBillingType(Record KVSPSASalesLineWBSPrepare, Record KVSPSAWork Package) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterCheckWorkPackageBillingType(SalesLineWBSPrepare: Record "KVSPSASalesLineWBSPrepare"; WorkPackage: Record "KVSPSAWork Package"): 
[EventSubscriber(ObjectType::Table, Table::"KVSPSASalesLineWBSPrepare", 'KVSPSAOnAfterCheckWorkPackageBillingType', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterCheckWorkPackageBillingType(SalesLineWBSPrepare: Record "KVSPSASalesLineWBSPrepare"; WorkPackage: Record "KVSPSAWork Package")
begin
end;

KVSPSAOnAfterTypeRequiresJobWorkPackageAndPhaseTaskStep(Record KVSPSASalesLineWBSPrepare, Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterTypeRequiresJobWorkPackageAndPhaseTaskStep(SalesLineWBSPrepare: Record "KVSPSASalesLineWBSPrepare"; var TypeRequiresJobWorkPackageAndPhaseTaskStep: Boolean): 
[EventSubscriber(ObjectType::Table, Table::"KVSPSASalesLineWBSPrepare", 'KVSPSAOnAfterTypeRequiresJobWorkPackageAndPhaseTaskStep', '', false, false)]
local procedure DoSomethingKVSPSAOnAfterTypeRequiresJobWorkPackageAndPhaseTaskStep(SalesLineWBSPrepare: Record "KVSPSASalesLineWBSPrepare"; var TypeRequiresJobWorkPackageAndPhaseTaskStep: Boolean)
begin
end;