Skip to Content
author's profile photo Former Member
Former Member

DocObjectCode field in 2005

Hey Guys,

In the 2004 DTW to import documents there was one template that was shared between all document types. It contained a field called DocObjectCode that took in one of these values:

13 - Sales Invoices

14 - Sales CreditNotes

15 - Sales DeliveryNotes

16 - Sales Returns

17 - Sales Orders

18 - Purchase Invoices

19 - Purchase CreditNotes

20 - Purchase DeliveryNotes

21 - Purchase Returns

22 - Purchase Orders

23 - Sales Quotations

Now in 2005 DTW I noticed this field no longer exists in the templates and each document type has its own template. How will Business One know what type of document you are importing?

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Nov 22, 2005 at 07:47 PM

    Laura,

    The DTW 2005 is different as you have noted from previous versions. The DTW follows the objects and the properties associated with those objects as they exposed via the DI API. With respect to your question, you would look at the DocType for each document in the DI API Help file or you can also look at the database schema for the file and it will give you the information that you need for the DocType. In the case of Sales Orders, the DocType is either a "1" for and Item or a "2" for a Service. Again, you can find this information in the 2005 SDK Help Center which contains that DI API Help as well as the database schema.

    Hope this helps,

    Eddy

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks Eddy for the response. I know I can look up this information in the help file for reference. The problem I am having is this docobjecttype field does not exist in the examples or templates from the 2005 DTW. So my question is I guess is how to those examples tell the Business One system they are an invoice or order etc..?

      Can I open a service ticket or something with SAP to get help files specifcally designed for the templates? we have a lot of customers trying to understand data importing and this new help file cannot help them. In my opinion this is going to be a serious drawback to the data import process.

      Anyone else agree?

  • author's profile photo Former Member
    Former Member
    Posted on Nov 22, 2005 at 05:50 PM

    Any 2005 data transfer pros or SAP people have any comments on this?

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.