FS_COMBO_EDIT Changed in FSCM92

by Prashant on July 31, 2013

in Upgrade

App Package FS_COMBO_EDIT has been changed in FSCM92 and any code referncing the method ComboEdit needs to be modified to address this change, otherwise you will start getting PeopleCode Errors.

While working on upgrade from FSCM 9.0 to FSCM9.2, one of my customers had a dedicated page for ChartField Validation and during the time of upgrade, this issue was raised as this page was unable to load. Below are the 2 formats while using ComboEdit.

9.0 format 

 method ComboEdit(&pBusinessUnit As string, &pLedgerGrp As string, &pRecord1 As string, &pRecord2 As string, &pRecord3 As string, &pReuseCursor As boolean, &pEditDefn As string, &pFrnCurFld As string);

 9.2 format

 method ComboEdit(&pBusinessUnit As string, &pLedgerGrp As string, &pRecord1 As string, &pRecord1_s As string, &pRecord2 As string, &pRecord2_s As string, &pRecord3 As string, &pRecord3_s As string, &pReuseCursor As boolean, &pEditDefn As string, &pFrnCurFld As string, &pComboTranSrc As string);

Changes done in Code to Address this change

To incorporated addition of new parameters, existing code was modified as shown below.

Code Added:

&Record1_s = ” “;
&Record2_s = ” “;
&Record3_s = ” “;
&ComboTranSrc = ” “;

Code Modified From:
&ComboEdit = create FS_COMBO_EDIT:ComboEdit(&VALUE_SET_CNTRL, &LEDGER_GROUP, &RECORD1, &RECORD2, &RECORD3, True, &EDIT_TMPL, &FRN_CUR_FLD);

Code Modified To:
&ComboEdit = create FS_COMBO_EDIT:ComboEdit(&VALUE_SET_CNTRL, &LEDGER_GROUP, &RECORD1, &Record1_s, &RECORD2, &Record2_s, &RECORD3, &Record3_s, True, &EDIT_TMPL, &FRN_CUR_FLD, &ComboTranSrc);

 

Related Posts Plugin for WordPress, Blogger...

{ 0 comments… add one now }

Leave a Comment

Previous post:

Next post: