Monday, September 10, 2012

Dynamics GP - HR Tables



UPR00100 - Payroll Employee Master
UPR10301 - Transaction Entry Batch
UPR10302 - Transaction Entry Line
UPR10204 - Deduction Work (After Calculate, Before Post)
UPR10205 - Benefit Work (After Calculate, Before Post)

UPR30300 -
UPR40200 - Payroll Number Setup
UPR40300 - Payroll Department Master
UPR40301 - Payroll Position Setup
UPR40600 – Payroll TimeCode Master
UPR41700 - Payroll Supervisor Setup
UPR40800 - Benefit Setup
UPR40900 - Deduction Setup

UPR41200 - Payroll Class Setup

HR2NOT01 - HR Notes


Hrm_VacationRequest Table –DocumentStatus field
DocumentStatus = 1 means the request has been submitted and/or rejected.
DocumentStatus = 2 means the request has been approved.
DocumentStatus = 3 means the request has been aborted (likely due to it being rejected).
Who is leave assigned to (i.e. based on the Workflow Business Process where is it currently): DYNAMICS database – Hrm_WorkflowDocument Table

HR does not track the date the leave applications were created.
A trigger has to be created for that purpose.

HR does not track if a request has been rejected.
The information is stored in workflow tables here. I have attempted to use these tables, but the functionality is limited.


select* from MbfWorkItemProcess
select* from Hrm_WorkflowProcess
select* from Hrm_ActivityHostProcess
select* from dbo.MbfRunningProcess
select* from MbfProcessAlias
select* from mbfworkfloweventlog
select* from MbfWorkItem
select* from MbfWorkItemProcess
select* from MbfSystemWorkitem
select* from MbfSystemWorkItemNonStateAction
select* from MbfProviderWorkItemAction
select* from MbfClientWorkItemAction
select* from MbfProcessAlias




RV010121 - HR>Employee>Review Header
RV010221 - HR>Employee>Review Detail
TATM1030 - Employee Vacation Used / Remaining

Other HR/ Time & Attendance tables begin with TA

All BP tables begin with HRM

Hrm_Timecard – Timecard header
Hrm_TimecardDetail – Timecard daily details
Hrm_VacationRequest – Vacation request details


Employmenttype Values (UPR00100)
1 = Full Time Regular
2 = Full Time Temp
3 = Part Time Regular
4 = Part Time Temp
5 = Intern
6 = Other

Wednesday, September 5, 2012

Dynamics GP - Requisition Management Tables

All requisition management tables are stored in the DYNAMICS database and begin with ReqMgmt

Tuesday, September 4, 2012

Crystal Reports XI does not work on Windows server 2008 or any 64-bit environment

Crystal Reports XI does not work on Windows server 2008 or any 64-bit environment.

Crystal Reports XI release 2, service pack 2 or higher will work.
You can download it here
https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm

More information on Crystal service packs
http://victoriayudin.com/2009/05/25/crystal-reports-service-packs-and-versions/

Monday, September 3, 2012

Dynamics GP - Manufacturing tables


MO Setup - Numbering - Each company's next number sequence is stored in the Dynamics db
MOPS0100 - Manufacturing Order Preference Defaults (has a company id in the table)

CT00102 - Item Account Maintenance - Costing (Additional Accounts window on Item Card)
CT40401 - Item Class Account Maintenance - Costing (Additional accounts window on Item Class)
  • icivmuixi_VarMat
  • icivwmixi_WipMaterial
  • icivcmixi_CogsMaterial

MM010032 - Machine Definition Master
IVR10015 - Item Engineering Data
IV00102 - Item Quantities / Resource Planning
IV00115 - Manufacturing Item Information
LC010014 - Labor Code Master

SP010016 - Scheduling Preference Master

IV40700 - Site Master (Required for Work Centers)
WC010015 - Work Center Master
WC010931 - Work Center Header (you need both)

BM010415 - Manufacturing BOM Master Header
BM010115 - Manufacturing BOM Line Item Detail
BM10200 - BOM Routing Link

RT010001 - Routing Header (Primary Routing)
RT010130 - Routing Line

SC020030 - Sales Forecast Header
SC020130 - Sales Forecast Line Item Total
SC020230 - Sales Forecast Line Date breakdown

MF010030 - MPS Header
MF010130 - MPS Line Item Total
MF010230 - MPS Line Date Breakdown

MPSF1000 - MRP (Sales) Forecasting Selections

WO010032 - Manufacture Order Master

  • IS010001 - MOP/SOP Link Cross reference table 
    • SOITEMDUEDATE_I = In-House Due date
    • SOITEMPROMISEDATE_I = Promise Date
    • SOP10200.ReqShipDate = Requested Ship Date

MN010000 - MO Notes (BOM notes are connected to Item Engineering table)

PK010033 - Picklist Lines

IVIC0101 - Mfg Receipt / Inventory Adjustment Index
MOPW400 - Mfg Receipt Work
MOPW500 - Mfg Receipt Work

Make/Buy Codes

  • 1-Make
  • 2-Buy
  • 3-Make/Buy
Fulfilment Methods
  • 1-Make to stock
  • 2-Make to Order-Manual
  • 3-Make to Order-Silent


MO Status Codes
    • 1-Quote
    • 2-Open
    • 3-Released
    • 4-Hold
    • 5-Canceled
    • 6-Complete
    • 7-Partially Received
    • 8-Closed
Component Entry Trx Codes

    • 1-Issue
    • 2-Reverse Issue
    • 3-Allocate
    • 4-Reverse Allocate
    • 5-Scrap
    • 6-Reverse Scrap
MO Receipt Costs
Receiptcostsarray_1 - Total Item Costs
Receiptcostsarray_4 - Total Labor costs
Receiptcostsarray_7 - Total Machine Costs
receiptcostsarracy_10 - Total total costs

WO010213 - MOP Order History

MOP1210 - MOP Picklist Line Items
MOP1016 - MOP WIP Receipt
MOP1100 - MOP Receipt Master
MOP1110 - MOP Line Items

WR010130 - MO Routing Line

MRP0300 - MRP Exception List (Suggested MMO's, MPO's)

Full list of Manufacturing tables here
http://dyndeveloper.com/DynTable.aspx?ModuleID=MF

http://support.microsoft.com/kb/949762

Wednesday, August 1, 2012

Dynamics GP - A remove range operation on table 'gldivisionalclosingpltemp' cannot find the table


Error Detail

[Microsoft][SQL Server Native Client 10.0][SQL Server]Could not find stored procedure 'TWO.dbo.zDP_GL50500L_1'.

[Microsoft][SQL Server Native Client 10.0][SQL Server]Invalid object name 'TWO.dbo.GL50500'.

-------------------------------------------------------------------------------------------------
Create the missing table manually using


USE [TWO]
GO

/****** Object:  Table [dbo].[GL50500]    Script Date: 08/01/2012 14:03:40 ******/
SET ANSI_NULLS OFF
GO

SET QUOTED_IDENTIFIER ON
GO

SET ANSI_PADDING OFF
GO

CREATE TABLE [dbo].[GL50500](
[USERID] [char](15) NOT NULL,
[ORD] [int] NOT NULL,
[SGMNTID] [char](67) NOT NULL,
[Ledger_ID] [smallint] NOT NULL,
[CURNCYID] [char](15) NOT NULL,
[TranslationCurrencyID] [char](15) NOT NULL,
[CURRNIDX] [smallint] NOT NULL,
[DECPLCUR] [smallint] NOT NULL,
[RATETPID] [char](15) NOT NULL,
[EXGTBLID] [char](15) NOT NULL,
[XCHGRATE] [numeric](19, 7) NOT NULL,
[RTCLCMTD] [smallint] NOT NULL,
[DENXRATE] [numeric](19, 7) NOT NULL,
[MCTRXSTT] [smallint] NOT NULL,
[CurrencyTranslationType] [smallint] NOT NULL,
[REARNAMT] [numeric](19, 5) NOT NULL,
[ORIGAMT] [numeric](19, 5) NOT NULL,
[Translation_Amount] [numeric](19, 5) NOT NULL,
[RERINDX] [int] NOT NULL,
[DEX_ROW_ID] [int] IDENTITY(1,1) NOT NULL,
 CONSTRAINT [PKGL50500] PRIMARY KEY NONCLUSTERED
(
[USERID] ASC,
[ORD] ASC,
[SGMNTID] ASC,
[Ledger_ID] ASC,
[CURNCYID] ASC,
[TranslationCurrencyID] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

GO

SET ANSI_PADDING OFF
GO



Thursday, July 19, 2012

The microsoft_dynamics_gp.vba project references some objects that cannot be found.

This occurs because a field that was added to vba has been removed from your customized form or report.


To manually remove the vba reference to that field




1. Export your Form/Report with VBA to a .package file (Tools>>Customize>>Customization Maintenance).
2. Open the .package file with notepad and find the references to the field you need to remove.
3. Remove any references to your field. Most importantly, remove the WindowField reference. This is how VBA knows about the field. It will look like this:

WindowField "Transfer Button"
{
ArrayIndex "0"
DisplayName "Transfer"
Local "false"
ProgrammerName "Transfer Button"
}


or

ReportField "String1"
{
AccumulatorType "0"
ArrayIndex "0"
BandLevel "0"
BandType "0"
FieldName "String 1"
TableName ""
}


4. Save your .package file and import the modified version.(Tools>>Customize>>Customization Maintenance).


Original post
http://mbsguru.blogspot.com/2009/06/removing-reference-to-field-or-object.html

Dynamics GP - Upgrade from GP10 sp5 to GP2010(R2) SP3


  1. Review the upgrade documentation, and download the latest installs here- https://mbs.microsoft.com/partnersource/support/selfsupport/productreleases/mdgp2010_release_download.htm?printpage=false
  2. The latest version including sp3 resolves prior issues with version detection
  3. Specific Service Pack info can be found here- https://mbs.microsoft.com/customersource/downloads/servicepacks/MDGP2010_PatchReleases
  4. Backup all companies
  5. Export any customized triggers
  6. Backup the GP client folder
  7. Backup your dictionaries
  8. Export all customized forms and reports as a package
  9. Print any reports necessary
  10. Set all databases to 100 compatibility
  11. Run the GP2010 install
  12. Run GP2010 Utilities
  13. Upgrade all companies
  14. Import all customized forms and reports using the package
    1. If this does not work, use blank 2010 dictionary and import reports directly from backup of dictionary through report writer import
  15. If errors occur, check the program files\gp\data folder for the duinstall.log or dexsql.log if you're using the debugger tool