Hi Akash,

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
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to