Business Financial Services

Web's most latest, important financial services articles and news.
   HOME    |    SITEMAP    |    RESOURCES    |    Log in - Register now (free)   
  Search the Site     » Advanced Search
Sections
Syndication
Newsletter



SQL scripts for Project Accounting Microsoft Great Plains series overview for developer

Microsoft Business Solutions Great Plains has Project Accounting module where you can budget the project, assign it to customer contract and then log expenses, timesheets, inventory spending, and finally bill the customer against the project or contract.  Microsoft Great Plains Project Accounting does excellent job, but there are cases when you need developer or MS SQL DB Admin touches.

* The first script transfers salesperson and sales territory from Customer master file to Project master table

        update PA01101

        set

        SLPRSNID=b.SLPRSNID,

        SALSTERR=b.SALSTERR

        from

        PA01101 a

        join RM00101 b on a.CUSTNMBR=b.CUSTNMBR

        where a.SLPRSNID<>b.SLPRSNID or a.SALSTERR<>b.SALSTERR

    * The second scripts unlocks Project Accounting user, this rare and funny one �" really hard to get it from Microsoft Business Solutions Tech Support site:

        delete PA000001 where userid='put user id here'

    * The third script is really advanced one �" it is for users trying to place billing address with contact info on the PA invoice form at the bottom section �" address comes from Contract �" not from the project

        /*

        Updates Primary Bill To Address Code for Billing invoice to be the one from Contract Master table,

        instead of Primary Billing Address Code from Customer

        */

        update PA13100 set PRBTADCD=c.PRBTADCD

        from PA13100 a join PA13200 b on a.PADocnumber20=b.PADocnumber20 join

        PA01201 c on b.PAPROJNUMBER=c.PAPROJNUMBER

        /*

        update PA13100 set PRBTADCD=c.PRBTADCD

        from PA13100 a join PA13200 b on a.PADocnumber20=b.PADocnumber20 join

        PA01101 c on b.PACONTNUMBER=c.PACONTNUMBER

        */

        /*

        Fill user defined 1 on the Billing HDR to contact person from the appropriate customer master address rec.

        */

        update PA13100

        set PAUD1 = left(b.CNTCPRSN,20)

        from PA13100 a join RM00102 b on a.CUSTNMBR = b.CUSTNMBR and a.PRBTADCD = b.ADRSCODE


315 times read

Related news

» Welcome to Surety Bonds Blog
by sony posted on Oct 24,2006
» Bluetooth The 4 Law Enforcement Concerns
by charles posted on Feb 18,2006
» Inactive Credit and Mortgages
by charles posted on Mar 15,2005
» Mortgages Administrative Fees and Saving Your Money
by charles posted on Mar 05,2005
» When Are Adjustable Rate Mortgages A Good Idea
by charles posted on Jan 26,2005
Did you enjoy this article?
(total 0 votes)



Link to Us:

Business Financial Services




Business Financial Services   |   Home Depot   |   SITEMAP