Skip to main content

Notifications

Microsoft Dynamics SL forum
Unanswered

Which SQL Stored Procedure does BI.AIC.00 execute?

Posted on by Microsoft Employee

I am trying to update the TermsID value associated with Invoices. I have VBA which sets my preferred value within BI.BAM.00, but this logic does not get considered during the Automatic Invoice Creation process.

I imagine that upon clicking "Create Invoices" on BI.AIC.00, somewhere along the line a SQL Stored procedure is being executed to Insert the values. My thought is that if I cannot set the default within SL, I'll set it within SQL either by updating the INSERT or by creating a TRIGGER with an UPDATE.

I would prefer to update the Stored Procedure INSERT but would input to be sure I'm hitting the correct place and not overlooking anything.

Categories:
  • CFROTON Profile Picture
    CFROTON 4,710 on at
    RE: Which SQL Stored Procedure does BI.AIC.00 execute?

    From what I can tell, the screen itself is passing the parameters, so you would have to customize the screen to send additional information.

    The stored procs that are used grab the information being passed by the exe, so the code has to be manipulated to add the additional fields you need put in.  Are these populated during Billings Load? If not, then you need to specify the id fields that you want populated withing Billing Setup screen as well.

    Might be best to go with your Trigger.

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

Dynamics 365 Community Update – Sep 16th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,522 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,441 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans