Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics SL (Archived)

Number of Copies of Invoices Print from Shipper

Posted on by 160

My company has version 6.5.  For years, we have printed 3 copies of our invoices in the Shipper screen.  We want to change this to 2 copies.  If I pull up the report Invoice (40.680.00), on the report tab there is a 3 in the copies box.  I
cannot customize it because it is a report.  I don't see anything to change in the Report Control screen. Does anyone know how to change this?

Thanks.

*This post is locked for comments

  • Re: Re: Re: Re: Re: Number of Copies of Invoices Print from Shipper

    I won't stop helping, but I will stop posting SQL code.  I did not see your post as a criticism in any sense, but it consternated me. 

    I'm possibly liabile if someone cavalierly alters and executes SQL statements on production databases and can plausibly blame the results on me if things go wrong. 

  • sbooth Profile Picture
    sbooth 160 on at
    Re: Re: Re: Re: Number of Copies of Invoices Print from Shipper

    I'm sorry Jonathan if you took this as a criticism.  I  am very thankful that you posted a reply. 

    I looked in the system and couldn't find the table.  I do not know why, but I thought this could happen to someone else.  So, I wanted them to see that in my case it was in the views.

     As for the code, I understand exactly why you did this.  I always use a select statement before I update.  Since there was only one record for this report I didn't include the last part of your statement. 

    Please don't stop helping people because of this.  You saved me a great deal of time and research. 

     

  • Re: Re: Re: Number of Copies of Invoices Print from Shipper

    Well, the table is in the System database (as I wrote), and that is a view of the table.  Luckily for you, it is an updatable view.  The reason I included the second predicate "AND CopiesAllowed = 3" was to protect you from the possibility that this wasn't where the 3 came from.  I don't think I'll post any more SQL code to this forum...

  • sbooth Profile Picture
    sbooth 160 on at
    Re: Re: Number of Copies of Invoices Print from Shipper

    Thank you.  I never would have thought to check SQL.  In case anyone else sees this, the table was in the views folder  and was called dbo.vs_RptControl

    update dbo.vs_rptcontrol set copiesallowed='2' where ReportNbr='40680'

    Thanks again.

  • Re: Number of Copies of Invoices Print from Shipper

    You'll need to use SQL, and the table is in the system database.

    UPDATE dbo.RptControl SET CopiesAllowed = 2
    WHERE ReportNbr = '40680' AND CopiesAllowed = 3;

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans