Add custom field to the entity. In IFS Cloud we can use Entity Configuration window for this.
Enable Lu in report definition (.rdf)
e.g:
Report_Lu_Definition_API.Enable_Custom_Fields_for_Lu('&VIEW','CustomerOrder','SHIPMENT_PACKING_LIST_REP/HANDLING_UNITS/HANDLING_UNIT');
After above step Custom Field will be available on the IFS Report Designer navigator to drag and drop field to the layout.
e.g:
Next, add and bind objkey/rowkey to the Custom Field in .rdf file.
e.g:
Xml_Record_Writer_SYS.Add_Custom_Fields(xml_,'CustomerOrder',Customer_Order_API.Get_Objkey(c_source_ref1_),'SHIPMENT_PACKING_LIST_REP', gsi_.language_code);
0 Comments