I am trying to use this function that is a global function but I can't. It is not listed in C/AL Symbol Menu (F5) and is not insertable manually because the compiler says that it is a variable not defined. Why this?
Strictly from technical point of view modifying function property Local from Yes to No is absolutely safe (but not vice versa Local from No to Yes)
But - if someone developing function decided that it is local to the object perhaps he/she has a good reason to do so. It might not be save to use this function 'standalone', due to various reasons (for example another function must be called prior to set some object global variables). I didn't check UpdateSalesCost in T39 - this is just a general warning..
Comments
Can I modify that or is it dangerous?
Thank you
Strictly from technical point of view modifying function property Local from Yes to No is absolutely safe (but not vice versa Local from No to Yes)
But - if someone developing function decided that it is local to the object perhaps he/she has a good reason to do so. It might not be save to use this function 'standalone', due to various reasons (for example another function must be called prior to set some object global variables). I didn't check UpdateSalesCost in T39 - this is just a general warning..
Regards,
Slawek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03