Take a look at the template in word. The statement tries to fetch the first table in the template. Does the template have a table (for quotation lines), and is it the the first table in the template?
// Jesper
-------- Original Message --------
Subject: [development-axapta] Error when Creating Document in CRM Quotation (28-Jun-2004 11:26)
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
> hi everybody,
> I just running in an problem on an Ax 3.0 SP1
> environment -
> maybe some of you have similar experiences and could
> assist:
>
> I try to create a quotation in CRM using the standard
> docuhandling functionality. the document to create is
> based
> on an document type with job description "Create CRM
> quotation document".
>
> When creating the document, MS-Word will be started,
> some (bookmark-
> related) field will be filled in the
> word-document...then an
> axapta errorlog mesage occours:
>
> Method 'Item' in COM object of class 'Tables'
> returned error code
> 0x800A1735 (<unknown>) which means: The requested
> member of the collection does not exist.
>
> the error is always thrown in class
> smmDocuActionCOM_Word_Quotation, method
> insertQuotationLines(), line 27
>
> COMTable = COMdocument.Tables();
> COMTable = COMTable.Item(1); // <---- HERE
> COMRows = COMTable.Rows();
> COMRow = COMRows.Add();
> COMCells = COMRow.Cells();
>
> thanks for helping in advance
> Regards
> Akash
>
>
>
>
>
>
> ___________________________________________________________ALL-NEW Yahoo!
> Messenger - sooooo many all-new ways to express yourself http://uk.
> messenger.yahoo.com
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
> To: [EMAIL PROTECTED]
| Yahoo! Groups Sponsor | |
|
|
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

