|
Hi,
Yes,U can use winapi functions to solve your
problem but it's upon U wheather U want to edit the Docs or open it as
'read only'.
Regards,
Subha
----- Original Message -----
Sent: Monday, January 31, 2005 8:28
PM
Subject: Re: [Axapta-Knowledge-Village]
Re: I have checked it out
Hi Danny ,
Shocked to see your mail and extremly jubiliated to see the length
of the mail and extremly oblidged to see how much pain you have taken to
answer my query.
And i am really glad to have my answer but i will like to share some
thing to you that
the above job can be done with some simple shell commands but you cant't
edit those docs.
And in my future mails i will jot down those codes to you.
Any way enjoy your time and once again i am very greatful that you taken
so much pain
Bye.
Danny Gaethofs <[EMAIL PROTECTED]> wrote:
Dear
Compashi,
You have to attach these documents to a record.
As
an example:
Suppose you have an item in the database and for
this item you have some instructions stored in a document.
We
first have to setup a kind of repository where the files are going to be
stored.
Therefore go to Basic, Setup, Document management, select
Document types. Now create a new document type, CTRL+N. Give the type a
suitable name, example: , ItemInstr. Select a Job description from the
drop down list. As an example you could select Attach file.
Go to
tab General. Set the field Group to file. Specify the archive
directory where the files should be stored.
Now we have defined
the document type and archive directory we can attach the document to one
of the available items in the database.
Open the items form.
Select an item of your choice. Push the button Document handling in the
Toolbar or select it from the Tools menu. In the window that opens
create a new entry, CTRL+N. Select the document type we defined earlier.
Once you select this type an explorer window opens asking for a file
name. Now select a document in the file system. You can specify whether
the document is for internal purposes or not.
Now go to your file
system and check the content of the repository directory we created
earlier. You will see a new file is in the repository. It is a copy
of the file we imported.
What we learn from it is that: -
axapta makes a copy of the files we provide and stores it in its own
repository ( the location we can define in document types)
- if we
remove the entry in the document handling window for the item, the
document is deleted.
We can also create a document from within the
document handling window for the item.
In fact we can attach all
kind of files to a record. We can choose whatever table and record there
is in the database, unless the parameter Use active document tables is
set.
In that case documents can only be attached to tables that
are made active in Basic, Setup, Document handling, Active document
tables. Here you will have to push the button update. Axapta will then
generate the tables. I have not checked exactly where the list of
tables is coming from.
You can for example use the table
CompanyInfo. If you have checked the parameter Use active
document tables and you have not added the table CompanyInfo to the
Active document tables you will not be able to add documents to the
company records.
Now if you disable the parameter it will be
possible. Or if you add the table CompanyInfo to the active document
tables it should also be possible.
When you open the company info
option, Basic, Setup, you can try to add documents.
Another
way should be using the check table check box on the document type, but
unfortunately I am not getting this to work
properly.
regards, Danny
--- compashi
<[EMAIL PROTECTED]> wrote:
> > Hello
dgaethofs, > > I have checked it out and it's but perhaps you
have > not understood > what i want that i have certain
documents which are > in formats > viz. .pdf,.doc,.xls etc.And i
want these static > document to be online > in my Axapta
Application. > > I hope now you must have understood that what
i > want. > > > >
__________________________________ Do
you Yahoo!? Yahoo! Mail - Find what you need with new enhanced
search. http://info.mail.yahoo.com/mail_250
Sharing
the knowledge on Axapta.
Do you Yahoo!? Meet the all-new My Yahoo!
� Try it today!
Sharing the knowledge on Axapta.
Sharing the knowledge on Axapta.
Yahoo! Groups Links
|