I have a client that wants the following customization:
- When the user posts an Invoice he inputs a particular description in the Invoice line.
- When the invoice is posted and the user goes to 'Navigate' and chooses to see G/L entries, in the description field there is something like 'Invoice SIV07000010'.
- This client wants the description he first inputted in the invoice lines to be also shown in the G/L entries instead of the 'Invoice SIV07000010'.
Any ideas anyone?
Thanks and regards.
0
Comments
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
Or you can use Posting Desc. Code
What is needed is that if for example you have 2 invoice lines (2 seperate G/L accounts), the G/L Entries should hold both descriptions of Invoice Line 1(firs account) and Invoice Line 2(second account). Thanks all for your help and time!
This is a very common modification request from customers and we always apply it. See code below :
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
Is it possible by now, to do this functionality by hooking up on events instead of changing code inside CU 90?
No changing standard code and you see all descriptions.
Factbox could be an idea if customer can se the direct line in factbox, and not just all the lines form sales/purch.
With the factbox approach you need to block deletion of posted documents for the period you need to look back.
But remember it is a 1-N relationship, so dont dtry to solved it in the 1.
Another way is to make sure all lines in a invoice have different dimensions, this will cause multiple entries. But then you would have to make a system for that.
But anything else than changing the posting routines.
I have big customers with alot of customizations, but Codeunit 80 is untouched. You just have to change your thinking, and find another way, than the straight forward one.
AL/Extensions forces you down this path.