web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

PrePayment Sales order on Business Central

(2) ShareShare
ReportReport
Posted on by 279
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
I have the same question (0)
  • Suggested answer
    Kamal Khakhkhar Profile Picture
    1,329 on at
    Hii There ,
    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.
     

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.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,066

#2
YUN ZHU Profile Picture

YUN ZHU 658 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 595

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans