Hi… All If I create one field in sales line, for example : Customer Commision Then I want the value this field post to G/L Account table, do I have to inserted customer commision in table customer posting group. Could you tell me, which object do I have to customise Thank’s a lot guy’s
Hi I would create a new field in the Invoice Posting Buffer and add the amount where the other values are added to the posting buffer in codeunit 80. After cu80 has posted the sales and VAT to G/L from the buffer, if connission is <> 0 You can add a call to Your own function in cu80 and send the posting buffer as a variable. That function should post to the G/L and insert records in some table called Commison entries or something like that. Hope that helps.