Hi,
I would like to add a profile picture to all my employees.
How can I do that without having to do add them manually?
I’m on IFS 9
Hi,
I would like to add a profile picture to all my employees.
How can I do that without having to do add them manually?
I’m on IFS 9
Best answer by Adam Kallnik
And this method Links picture from BInary data to employee.
-- Context: frmTabCompanyPers
-- Module: Ifs.Application.Person.dll
-- Namespace: Ifs.Application.Person
-- Object: frmTabCompanyPers
-- Method: frmTabCompanyPers_OnPM_DataSourceSave
DECLARE
-- p0 -> __lsResult
p0_ VARCHAR2(32000) := NULL;
-- p1 -> __sObjid
p1_ VARCHAR2(32000) := 'AAAVXsAAGAAAEzsAAB';
-- p2 -> __lsObjversion
p2_ VARCHAR2(32000) := '1';
-- p3 -> __lsAttr
p3_ VARCHAR2(32000) := 'PICTURE_ID'||chr(31)||'1'||chr(30);
-- p4 -> __sAction
p4_ VARCHAR2(32000) := 'DO';
BEGIN
IFSAPP.Log_SYS.Init_Debug_Session_('en');
IFSAPP.COMPANY_PERSON_API.MODIFY__( p0_ , p1_ , p2_ , p3_ , p4_ );
----------------------------------
---Dbms_Output Section---
----------------------------------
Dbms_Output.Put_Line('p0_ -> __lsResult');
Dbms_Output.Put_Line(p0_);
Dbms_Output.New_Line;
Dbms_Output.Put_Line('p1_ -> __sObjid');
Dbms_Output.Put_Line(p1_);
Dbms_Output.New_Line;
Dbms_Output.Put_Line('p2_ -> __lsObjversion');
Dbms_Output.Put_Line(p2_);
Dbms_Output.New_Line;
Dbms_Output.Put_Line('p3_ -> __lsAttr');
Dbms_Output.Put_Line(p3_);
Dbms_Output.New_Line;
Dbms_Output.Put_Line('p4_ -> __sAction');
Dbms_Output.Put_Line(p4_);
----------------------------------
END;
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.