Skip to content

KVSPSAHR Cockpit Mgt.#

Procedures#

CalcNewNoByNoSeriesOrPrefix(Code[20], Code[20], Code[20], Code[20], Code[20]) :#

Summary: Calculates a new number based on the provided number series or prefix and employee number. If the number series is provided, it uses that to generate the new number.

procedure CalcNewNoByNoSeriesOrPrefix(NoSeries: Code[20]; Prefix: Code[20]; EmployeeNo: Code[20]; var NewNoSeries: Code[20]; var NewNo: Code[20]): 

Parameters:

  • NoSeries: The number series to use for generating the new number.
  • Prefix: The prefix to use if no number series is provided.
  • EmployeeNo: The employee number to use for generating the new number.
  • NewNoSeries: The output variable that will hold the new number series.
  • NewNo: The output variable that will hold the new number.

Events#

KVSPSAOnUnhandledCaseInNameFormatGetEmployeeNameWithHRSetup(Record KVSPSAHR Cockpit Setup, Record Employee, Text[100], Boolean) :#

[IntegrationEvent(false, false)]
local procedure KVSPSAOnUnhandledCaseInNameFormatGetEmployeeNameWithHRSetup(HRCockpitSetup: Record "KVSPSAHR Cockpit Setup"; Employee: Record "Employee"; var NewFullName: Text[100]; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSPSAHR Cockpit Mgt.", 'KVSPSAOnUnhandledCaseInNameFormatGetEmployeeNameWithHRSetup', '', false, false)]
local procedure DoSomethingKVSPSAOnUnhandledCaseInNameFormatGetEmployeeNameWithHRSetup(HRCockpitSetup: Record "KVSPSAHR Cockpit Setup"; Employee: Record "Employee"; var NewFullName: Text[100]; var IsHandled: Boolean)
begin
end;