Changing a function from local to global

Hi, I would like to call function UpdateSalesOrderChargeAssgnt from codeunit 80, from outside that codeunit 80. Therefore I need to set the local property of that function (go to : globals, functions tab, properties) to no. Is this a safe thing to do ? Thanks, Gunther

hi nav nav, it’s not good idea. This function uses temporary record, which is filled before calling this function. If you call it from outside all global records will be empty.