Function Import PSA-Library interdependency load order

This is probably well known, but just in case you have to import a function library with a dependency on a different function library and if you are invoking the second library with code (at least in my case) like so:

        var result = this.EfxLib.UD100Functions.ChangeTendonReserveStatus(product.LotNum.ToString(), product.PartNum.ToString(), soldToCustNum, salesOrderNum,rowCnt+1, true);

when you go to import the library into a different environment, you must import the inner library first, then import the outer library secondly.

If you try to import the outer library first, meaning the one that calls the inner, you will probably get an error and the library won’t be imported.

2 Likes