Skip to content

KVSPSACustSubContractLine#

Extends #3099ffc74cf74df69b967e4bc2bb587c#Cust. Sub. Contract Line

Fields#

Name Type Note
KVSPSAJobNo Code[20]
KVSPSACustomerNo Code[20] FlowField
KVSPSABudgetLineNo Integer
KVSPSAToDoNo Code[20]
KVSPSAWorkPackageCode Code[20]
KVSPSAPhaseCode Code[20]
KVSPSATaskCode Code[20]
KVSPSAStepCode Code[20]

Procedures#

KVSPSAGetActivity() : Boolean#

Summary: Get Activity from the project for the Sales Line

procedure KVSPSAGetActivity(): Boolean

Returns: Indicates whether an activity was chosen

Events#

KVSPSAOnBeforeCheckCustomerInJob(Record Cust. Sub. Contract Line, Boolean) :#

Summary: Allows Skipping the customer in the project

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeCheckCustomerInJob(var CustSubContractLine: Record "Cust. Sub. Contract Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::TableExtension, TableExtension::"KVSPSACustSubContractLine", 'KVSPSAOnBeforeCheckCustomerInJob', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeCheckCustomerInJob(var CustSubContractLine: Record "Cust. Sub. Contract Line"; var IsHandled: Boolean)
begin
end;

Parameters:

  • CustSubContractLine:
  • IsHandled:

KVSPSAOnBeforeCheckJob(Record Cust. Sub. Contract Line, Boolean) :#

Summary: Allows skipping the check if the project is blocked or closed.

[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeCheckJob(var CustSubContractLine: Record "Cust. Sub. Contract Line"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::TableExtension, TableExtension::"KVSPSACustSubContractLine", 'KVSPSAOnBeforeCheckJob', '', false, false)]
local procedure DoSomethingKVSPSAOnBeforeCheckJob(var CustSubContractLine: Record "Cust. Sub. Contract Line"; var IsHandled: Boolean)
begin
end;

Parameters:

  • CustSubContractLine:
  • IsHandled: