Post Misc. Charge on Invoice using X++ Code

Dear All,

Greetings , i have a customization which select Invoice and its items to allocate Misc. Charge in “Invoice register” form after i add items per every invoice in “Item arrivals” form my issue How i can make post for Invoice using X++ code after i make allocation?? please help me asap,your help appreciated .


Hisham Alsayed.