Hi
I am using the apex framework in my project. When my page is in debug mode I can see that it is working, as to say it shows the tabular form mappings.
Read report column mapping(ApexLib_TabForm.init)
...processing Tabular Form
...ignore validation = NO
......row selector mapped to f01
Get column list(ApexLib_Sql.getColumnList)
...parse query = select CD."COSTCENTERID", CD."COSTCENTERID" COSTCENTERID_DISPLAY, CD."COST_CENTER_CODE", CD."VARIABLE", CD."YEAR", CD."OBJECT_CODE", CD."ACCUMULATION_CODE", CD."DEPT_ACCUM" from COST_CENTER_DATA CD,ICS_CONTRACT_CC_LNK CL, ICS_CONTRACT_INFO CI WHERE CD.COSTCENTERID = CL.ID_COST_CENTER AND CI.ID_CONTRACT= CL.ID_CONTRACT AND CL.ID_CONTRACT_CC = :P69_ID_CONTRACT_CC
......column COSTCENTERID mapped to WWV_Flow.g_f02
......column COSTCENTERID_DISPLAY not mapped - not stateful.
......column COST_CENTER_CODE mapped to WWV_Flow.g_f03
......column VARIABLE mapped to WWV_Flow.g_f04
......column YEAR mapped to WWV_Flow.g_f05
......column OBJECT_CODE mapped to WWV_Flow.g_f06
......column ACCUMULATION_CODE mapped to WWV_Flow.g_f07
......column DEPT_ACCUM mapped to WWV_Flow.g_f08
...array has 0 row(s). Used f08 to count.
BUT when I use the select list in the tabular form the page errors -
ApexLib_TabForm undefined.
More info: the tab form ,when I cycle through the drop down of values it should pre-fill the other fields in the row.
The code I am using in the region header:
function fill_multi_value(pValue){
ApexLib_TabForm.V('Costcenterid') = costcenter[pValue].CostCenterId;
ApexLib_TabForm.V('Variable') = costcenter[pValue].Variable;
ApexLib_TabForm.V('Year') = costcenter[pValue].Year;
ApexLib_TabForm.V('Object Code') = costcenter[pValue].ObjectCode;
ApexLib_TabForm.V('Accumulation Code')=costcenter[pValue].AccumCode;
ApexLib_TabForm.V('Dept Accum')=costcenter[pValue].DeptAccum;
}
Sorry I don't understand. any help would be appreciated
Thanks
Marilyn
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
I am using the apex framework in my project. When my page is in debug mode I can see that it is working, as to say it shows the tabular form mappings.
Read report column mapping(ApexLib_TabForm.init)
...processing Tabular Form
...ignore validation = NO
......row selector mapped to f01
Get column list(ApexLib_Sql.getColumnList)
...parse query = select CD."COSTCENTERID", CD."COSTCENTERID" COSTCENTERID_DISPLAY, CD."COST_CENTER_CODE", CD."VARIABLE", CD."YEAR", CD."OBJECT_CODE", CD."ACCUMULATION_CODE", CD."DEPT_ACCUM" from COST_CENTER_DATA CD,ICS_CONTRACT_CC_LNK CL, ICS_CONTRACT_INFO CI WHERE CD.COSTCENTERID = CL.ID_COST_CENTER AND CI.ID_CONTRACT= CL.ID_CONTRACT AND CL.ID_CONTRACT_CC = :P69_ID_CONTRACT_CC
......column COSTCENTERID mapped to WWV_Flow.g_f02
......column COSTCENTERID_DISPLAY not mapped - not stateful.
......column COST_CENTER_CODE mapped to WWV_Flow.g_f03
......column VARIABLE mapped to WWV_Flow.g_f04
......column YEAR mapped to WWV_Flow.g_f05
......column OBJECT_CODE mapped to WWV_Flow.g_f06
......column ACCUMULATION_CODE mapped to WWV_Flow.g_f07
......column DEPT_ACCUM mapped to WWV_Flow.g_f08
...array has 0 row(s). Used f08 to count.
BUT when I use the select list in the tabular form the page errors -
ApexLib_TabForm undefined.
More info: the tab form ,when I cycle through the drop down of values it should pre-fill the other fields in the row.
The code I am using in the region header:
function fill_multi_value(pValue){
ApexLib_TabForm.V('Costcenterid') = costcenter[pValue].CostCenterId;
ApexLib_TabForm.V('Variable') = costcenter[pValue].Variable;
ApexLib_TabForm.V('Year') = costcenter[pValue].Year;
ApexLib_TabForm.V('Object Code') = costcenter[pValue].ObjectCode;
ApexLib_TabForm.V('Accumulation Code')=costcenter[pValue].AccumCode;
ApexLib_TabForm.V('Dept Accum')=costcenter[pValue].DeptAccum;
}
Sorry I don't understand. any help would be appreciated
Thanks
Marilyn
Hi,
ApexLib_TabForm is a database package and can't be used in a Javascript function.
Regards
Patrick