DataBase - clear 1099 history

Asked By DavidInterDyn
20-Jan-10 01:43 PM
any one have any scripts to clear 1099 history by vendor or vendor class?
YearUPDATE
(1)
HamellyMCP
(1)
MVPEast
(1)
Year
(1)
Life
(1)
Gptip42today
(1)
VNDCLSID
(1)
VENDORID
(1)
  Frank Hamelly, MCP-GP, MCT, MVP replied to DavidInterDyn
20-Jan-10 02:44 PM
Current Year
UPDATE PM00201
SET TEN99AYTD = 0
WHERE VENDORID = 'xxxxxxxx'

Life to Date
UPDATE PM00201
SET TEN99ALIF = 0
WHERE VENDORID = 'xxxxxxxx'

UPDATE PM00202
SET TEN99ALIF = 0
WHERE VENDORID = 'xxxxxxxx'

Last Year
UPDATE PM00201
SET TEN99ALYR = 0
WHERE VENDORID = 'xxxxxxxx'

PM00201 is the PM Vendor Master Summary, PM00202 is the PM Vendor
Master Period Summary.  Life to Date amounts are stored in both
tables.  Current Year and Last Year are stored only in PM00201.

If you need to clear by vendor class, you will need to do a query
joining the Vendor Master (PM00200) to the other two tables to pull
the VNDCLSID in.

Hope this helps,

Frank Hamelly
MCP-GP, MCT, MVP
East Coast Dynamics
www.eastcoast-dynamics.com

get your gptip42today at www.gp2themax.blogspot.com
  DavidInterDyn replied to Frank Hamelly, MCP-GP, MCT, MVP
20-Jan-10 02:42 PM
Thanks for the help.
  Frank Hamelly, MCP-GP, MCT, MVP replied to DavidInterDyn
20-Jan-10 03:31 PM
Anytime David . . .

Frank Hamelly
MCP-GP, MCT, MVP
East Coast Dynamics
www.eastcoast-dynamics.com

get your gptip42today at www.gp2themax.blogspot.com
Create New Account
help
s (segment 1) along with the description field. Thanks Great Plains Discussions GL40200.Frank (1) HamellyMCP (1) MVPEast (1) GPtip42today (1) SmartlIst (1) Dept (1) DSCRIPTN (1) DSCRIPTN in GL40200. Frank Hamelly MCP
be able to see a pdf of the original purchase documentation. Thanks Great Plains Discussions HamellyMCP (1) MVPEast (1) Schwickerath (1) Icon (1) Attachments (1) Paperclip (1) Windows (1) OLE (1) Merle, You
not see in Great Plains where I would ship the sales order. Great Plains Discussions HamellyMCP (1) MVPEast (1) Fullfillment (1) Fulfillment (1) Kent (1) Setuo (1) Yuo (1) That's the Fulfillment