Iam trying to HIDE the Pencil Edit for the grid in Picture for the Rows which are Invoiced for Example when INVID > 1 and TINVID >1
But The Bewlow Code Disabled all the PENCIL EDIT ICONS. What went wrong??
Events > onScriptInit >
if ({invid} > 1 && {tinvid} > 1 )
{
sc_apl_conf(“grid_purchases”, “lig_edit”, “off”);
}
Note : I have Tried the Same in “onRecord” Same Issue
Pls Help!!