I'm targeting Version 16
Pageextension 50102 "MUC Alternative Address Card" extends "Alternative Address Card"
{
// --- HANDL1.00 ---
// nipl,011014 added fields:
// Privathandynummer
// Geburtsdatum SV (PKZ)
// Status (Verheiratet, Geschieden, Ledig, Witwer, usw.)
// Religion (Feiertage)
// Eingestellt seit XX.XX.XXXX
//
// jost,171014 added code in
// - Phone No. - OnAssistEdit
// - Phone No.2 - OnAssistEdit
// - Mobile Phone No. - OnAssistEdit
// --> replaced Lync Integration with TAPI Integration
//
// nipl,130715 added code in OnOpenPage
// - see mail Hr. Pürrer Freitag, 10. Juli 2015 12:18
layout
{
modify(Name)
{
Visible = false;
}
addafter(Code)
{
field("Birth Date"; "Birth Date")
{
ApplicationArea = All;
}
field("Insurance No."; "Insurance No.")
{
ApplicationArea = All;
}
field(Status; Status)
{
ApplicationArea = All;
}
field(Religion; Religion)
{
ApplicationArea = All;
}
field(Recruited; Recruited)
{
ApplicationArea = All;
}
}
addbefore(Communication)
{
group(AddressGroup)
{
Caption = 'Address';
}
}
moveafter(AddressGroup; Address)
moveafter(Address; "Address 2")
moveafter("Address 2"; "Post Code")
moveafter("Post Code"; City)
moveafter(City; "Country/Region Code")
addbefore("E-Mail")
{
field("Mobile Phone No"; "Mobile Phone No")
{
ApplicationArea = All;
trigger OnAssistEdit()
begin
//+jost,171014
TAPIMgmt.Dial("Phone No.");
//-jost,171014
end;
}
}
movebefore("Mobile Phone No"; "Phone No.")
addafter("E-Mail")
{
field("Notify in Case of Accident"; "Notify in Case of Accident")
{
ApplicationArea = All;
}
}
modify("Phone No.2")
{
Visible = false;
}
modify("Phone No.")
{
ApplicationArea = All;
trigger OnAssistEdit()
begin
//+jost,171014
TAPIMgmt.Dial("Mobile Phone No");
//-jost,171014
end;
}
modify("Fax No.")
{
ApplicationArea = All;
Visible = false;
}
}
trigger OnOpenPage()
begin
//+nipl,130715
if not FindFirst() then
Insert();
//-nipl,130715
end;
var
TAPIMgmt: Codeunit TAPIManagement;
}