The problem with the sum expression not displaying in the fillgrid query is related to the use of the pipe symbol or comma separator which does not appear on the General Purchase Bill screen. This problem may be caused by the pipe symbol or comma separator used in the expression within the link field.
This issue affects all screens in the application where the sum expression is used, not restricted to a specific one. Please find the attached document consisting screenshots for reference.