Code to transfer to customer 360 view

Trust me - I was searching for this code for almost for 4 hours !!

import RB_TD_360:Utilities;
Component RB_TD_360:Utilities &clsUtil;
&BOID = T2_RBQ_EMPL_VW2.BO_ID;
RB_TD_SRCH_WRK.BO_ID_CNTCT = &BOID;
If &clsUtil = Null Then
&clsUtil = create RB_TD_360:Utilities();
End-If;
-- Get the BO_ID from the component buffer
&clsUtil.CustomerBOID = &BOID;
&clsUtil.CustomerRoleTypeID = 4;
/*&clsUtil.ContactBOID = &BOID;*/

-- Parameters for HRHD 360 transfer
/*&clsUtil.Type = "4";*/
&clsUtil.Type = "HRHD";
&clsUtil.Market = "HHD";
&clsUtil.TransferTo360();

-- Parameters for customer 360 transfer
&clsUtil.Type = "SUPPORT";
&clsUtil.OpenInNewWindow = True;
&clsUtil.Market = "GBL";
&clsUtil.TransferTo360();

1 comment:

  1. Transfer to Person Component...
    &recPerson = CreateRecord(Record.RD_PERSON);
    &recPerson.PERSON_ID.Value = ;
    Transfer( False, MenuName.RB_MANAGE_CUSTOMER_INFORMATION, BarName.USE, ItemName.RD_PERSON, Page.RD_PRSN_PRIMARY, "C", &recPerson);

    ReplyDelete