Jump to content


Photo

Sales Order Table


  • Please log in to reply
8 replies to this topic

#1 caseydockry

caseydockry

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 10 January 2006 - 02:04 PM

I'm a technician for UPS and I'd like to integrate UPS Worldship with MOM via a FoxPro ODBC Driver. I was wondering if there is a table within MOM that contains all the ship-to information as well as a sales order number? All the information I'm looking for would most likely be contained on the packing slip - invoice: Sales order number, Customer name, Address, City, State, Zip, Shipping method (ground, next day air, 2nd day air). Is there a table that contains all this info or am I going to have to link multiple tables using Access? Thanks your time and help.

-Casey

#2 Videoflicks2004

Videoflicks2004

    GLOBAL MODERATOR

  • Moderators
  • PipPipPip
  • 241 posts
  • Gender:Male
  • Location:Canada
  • Interests:~ DVD ~ BLUE RAY ~ HD DVD ~ HOLOGRAPHIC DVD ~ Quantum Computing.

Posted 10 January 2006 - 04:36 PM

I'm a technician for UPS and I'd like to integrate UPS Worldship with MOM via a FoxPro ODBC Driver.  I was wondering if there is a table within MOM that contains all the ship-to information as well as a sales order number?  All the information I'm looking for would most likely be contained on the packing slip - invoice: Sales order number, Customer name, Address, City, State, Zip, Shipping method (ground, next day air, 2nd day air).  Is there a table that contains all this info or am I going to have to link multiple tables using Access?  Thanks your time and help.

-Casey

View Post


Hi Casey,

EXPORT.DBF is the table you are looking for. You client will have to export their invoices first then you will be able to access the data.

Cons : You will lose the data on each export.

Pros : You can map the data easily using UPS ODBC mapping utility.

Best,

Videoflicks2004
David Narciso
Ecommerce Operations Manager CVS Inc

[email protected]

mobile: 4168238175

DISCLAIMER: Always backup your MOMWIN folder before attempting to perform any updates, testing, etc. Once you blast the data away it's gone forever.
My advice is based on my 8 years of experience with MOM and Dydacomp. If you are not comfortable with data manipulation then hire someone who is.

#3 ypf1258

ypf1258

    Advanced Member

  • Moderators
  • PipPipPip
  • 101 posts
  • Gender:Male
  • Location:ny

Posted 10 January 2006 - 04:43 PM

Cons : You will lose the data on each export.


View Post



David


Please explain this line

#4 caseydockry

caseydockry

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 11 January 2006 - 09:53 AM

Hi Casey,

EXPORT.DBF is the table you are looking for.  You client will have to export their invoices first then you will be able to access the data.

Cons : You will lose the data on each export.

Pros : You can map the data easily using UPS ODBC mapping utility.

Best,

Videoflicks2004

View Post


The customer I am working with does not have the import / export module installed. Is there another file I could link to that would contain all the information I'm looking for?

#5 notehead

notehead

    Advanced Member

  • Members
  • PipPipPip
  • 52 posts

Posted 11 January 2006 - 12:30 PM

If you can be more specific as to what you need. The CMS.DBF file is the order header. The CUST.DBF file contains customer info. The Box.DBF contains the shipping information by box. Based on your question you want box, linked with cust to get you the info you need. ODBC should work fine depending on how you do it.

n

#6 Videoflicks2004

Videoflicks2004

    GLOBAL MODERATOR

  • Moderators
  • PipPipPip
  • 241 posts
  • Gender:Male
  • Location:Canada
  • Interests:~ DVD ~ BLUE RAY ~ HD DVD ~ HOLOGRAPHIC DVD ~ Quantum Computing.

Posted 11 January 2006 - 06:31 PM

David
Please explain this line

View Post


Hi YPF1258,

The EXPORT.DBF table did not append the data with each export of invoices from MOM. Instead, I found that the table acted more as a temporary holding place for the current set of export material.


** Note: This is based on exporting invoices from MOM with a parameter like DATE RANGE that did not include the previous set.

IE. If I export January 10, 2005 invoices to EXPORT.DBF and then proceed to export January 11, 2005 invoices, the data from first export was marked deleted.

This is based on my personal experience with UPS and MOM 4.3

Best,

David
David Narciso
Ecommerce Operations Manager CVS Inc

[email protected]

mobile: 4168238175

DISCLAIMER: Always backup your MOMWIN folder before attempting to perform any updates, testing, etc. Once you blast the data away it's gone forever.
My advice is based on my 8 years of experience with MOM and Dydacomp. If you are not comfortable with data manipulation then hire someone who is.

#7 steveweissmusic

steveweissmusic

    Member

  • Members
  • PipPip
  • 19 posts

Posted 12 January 2006 - 07:02 AM

Casey,
I am presently trying to accomplish the same task of integrating MOM 5.4 with Worldship 8.0. Please keep me updated on what you find, or contact me directly at "webmaster at steveweissmusic.com". Hopefully I can work with a local UPS technician using whatever you find out.

Thanks.

#8 caseydockry

caseydockry

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 12 January 2006 - 11:24 AM

notehead,

The exact information I'm looking for is everything that shows up on the invoice:
Invoice number, ShipTo Company, ShipTo Address, ShipTo City, ShipTo State, ShipTo Zip and Shipping Method (Ground, NDA, 2ND Air).

I am now able to link multiple tables within Worldship's new version 8.0. So if you could tell me what table each one of these fields is located in, I should be good to go.

Also, is there a reference document that I can download that tells me each table within MOM, and a description of the fields within these tables? That would make my life so much easier! Thanks for all your help on this!

P.S. Steve email me at "cdockry at ups.com" and I should be able to find you a local UPS Tech. to help you out.

#9 notehead

notehead

    Advanced Member

  • Members
  • PipPipPip
  • 52 posts

Posted 17 January 2006 - 02:11 PM

SELECT cms.order, cms.custnum, cms.shipnum, cms.odr_date
FROM cms
WHERE (((cms.odr_date)=Date()));


this will give you all of today's orders. If shipnum <> 0 then shipnum is the shipto else custnum is.

you would then need a conditional join on custnum or shipnum to cunstnum in:

SELECT cust.custnum, cust.altnum, cust.custtype, cust.lastname, cust.firstname, cust.company, cust.addr, cust.addr2, cust.city, cust.county, cust.state, cust.zipcode, cust.country
FROM cust;

let me know if you need more info. Please note that this does not take into consideration using MOMs shipto by line feature.

n




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users