ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Function Expose] Table 1003 Job Planning Line - UpdateAllAmounts

Open bleisibach opened this issue 7 years ago • 3 comments

Can you please make function UpdateAllAmounts in Table 1003 Job Planning Line External/Global please?

bleisibach avatar Dec 19 '18 15:12 bleisibach

Hi @bleisibach, What is the reason you require UpdateAllAmounts to be made external? Is there a specific scenario you are trying to achieve?

darjoo avatar Dec 20 '18 10:12 darjoo

Hi @darjoo We extended the table with fields that are influencing the pricing. On those fields we wish/need to call the UpdateAllAmounts function on the validate trigger. Like we are able to call UpdateAmounts on Table 37 Sales Line.

bleisibach avatar Dec 20 '18 10:12 bleisibach

Sorry, after reviewing your suggestion we've decided that it isn't something we'll implement as we're trying to limit the amount of local functions being exposed. However, you may call UpdateAllAmounts by validating one of the other fields that already call UpdateAllAmounts like the following VALIDATE("Unit Cost"), VALIDATE("Unit Price"), VALIDATE("Line Amount"), VALIDATE("Line Discount Amount"), VALIDATE("Cost Factor"), VALIDATE("Line Discount %").

darjoo avatar Dec 21 '18 10:12 darjoo