1.As i am working on prepayment scnerio my solution runs before posting if it give error then it stop posting But in Prepayment case when i click on post prepayment invoice it save in posted salees invoice and my xml function how work before posting because prepayment line save in sales invoice header so how i get data in my xml?
2. after prepayment posting i generate final xml which has negative line also but here negative line made after posting so what i do that my solution runs before posting and i get data sales invoice header
as per requirement You can use onbeforeinsert in Sales invoice Header Prepayment Invoice =true . you can extract value as per your requirement . as full case is not describe with its usage . i can suggest which we follow .
If you found answer Make it answered.
Thank You .
Kamal Khakhkhar.
Was this reply helpful?YesNo
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.