KVSPSACreate ZDE-Cards
Procedures
CallWPLookUp() :
Summary: This procedure create new ZDELine and run GetActivity
procedure CallWPLookUp():
SetPredefinedResource(Code[20]) :
Summary: This procedure sets value of PredefinedResource.
procedure SetPredefinedResource(ResourceNoCode: Code[20]):
Parameters:
ResourceNoCode: Code used to set PredefinedResource.
Events
KVSPSAOnAfterWPLookUp(Record KVSPSAZDE-Line) :
Summary: Integration event raised after work package lookup.
[IntegrationEvent(false, false)]
local procedure KVSPSAOnAfterWPLookUp(var ZDELine: Record "KVSPSAZDE-Line"):
Parameters:
ZDELine: The ZDE line record
KVSPSAOnBeforeCreateZDECardsFromResCapacityEntryOnResourceOnAfterGetRecord(Record Resource, Record Res. Capacity Entry, Boolean) :
Summary: Integration event raised before creating ZDE cards from resource capacity entry on resource after get record.
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeCreateZDECardsFromResCapacityEntryOnResourceOnAfterGetRecord(var Resource: Record "Resource"; var ResCapacityEntry: Record "Res. Capacity Entry"; var IsHandled: Boolean):
Parameters:
Resource: The resource recordResCapacityEntry: The resource capacity entry recordIsHandled: Set to true if the event handler has handled the operation
KVSPSAOnBeforeGetActivityForZDELineInWPLookUp(Record KVSPSAZDE-Line) :
Summary: Integration event raised before getting activity for ZDE line in work package lookup.
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeGetActivityForZDELineInWPLookUp(var ZDELine: Record "KVSPSAZDE-Line"):
Parameters:
ZDELine: The ZDE line record
KVSPSAOnBeforeOnPostReport(Integer, Boolean) :
Summary: Integration event raised before on post report.
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeOnPostReport(var Counter: Integer; var IsHandled: Boolean):
Parameters:
Counter: The counterIsHandled: Set to true if the event handler has handled the operation
KVSPSAOnBeforeResourceOnPreDataItem(Record Resource, Record Job, Code[20], Time, Time, Date, Date, Boolean) :
Summary: Integration event raised before resource on pre data item.
[IntegrationEvent(false, false)]
local procedure KVSPSAOnBeforeResourceOnPreDataItem(var Resource: Record "Resource"; var Job: Record "Job"; var WPCode: Code[20]; var FromTime: Time; var ToTime: Time; var ZDEStartDate: Date; var ZDEEndDate: Date; var IsHandled: Boolean):
Parameters:
Resource: The resource recordJob: The job recordWPCode: The work package codeFromTime: The from timeToTime: The to timeZDEStartDate: The ZDE start dateZDEEndDate: The ZDE end dateIsHandled: Set to true if the event handler has handled the operation
Protected Variables
GlobalAbsencecode
Type: Code[10]
GlobalWorkTypeCode
Type: Code[10]
GlobalJobNo
Type: Code[20]
GlobalPhaseCode
Type: Code[20]
GlobalResourceNo
Type: Code[20]
GlobalStepCode
Type: Code[20]
GlobalTaskCode
Type: Code[20]
GlobalToDoNo
Type: Code[20]
GlobalWorkPackageCode
Type: Code[20]
GlobalZDEEndDate
Type: Date
GlobalZDEStartDate
Type: Date
GlobalBreakTime
Type: Decimal
GlobalInvType
Type: Enum (KVSPSAPspInvoicingType)
GlobalBudgetLineNo
Type: Integer
GlobalPSPLineDesc
Type: Text[100]
GlobalFromTime
Type: Time
GlobalToTime
Type: Time