In Dynamics Ax 2012, you can attach documents to specific records. This can be done by clicking the "Attachments" button on the Ribbon for many forms. Below is a screen capture for Workers form:
The picture isn't clear, this is just to give an idea where you should possibly look for Attaments button.
But before you go ahead with Document attachments, you need to setup few things listed below:
Activate Document Management:
Set up document Archive Directory:
Complete the following procedure to set default document archive directory.
Create required Document types:
The document can be attached if and only if the file is of any type that is set up in the Document types form.
Create a document
Copy a document
Copy a document to the Clipboard
Information collected from: http://technet.microsoft.com/en-us/library/aa549988.aspx
The picture isn't clear, this is just to give an idea where you should possibly look for Attaments button.
But before you go ahead with Document attachments, you need to setup few things listed below:
- Activate Document management
- Set up Archive Directory - place to store the documents
- Create required Document types
- Use Document management to attach files to records in any Dynamics Ax Form.
Activate Document Management:
Complete the
following procedure to activate document management.
- Click File > Tools > Options.
- Click General and then expand the Miscellaneous FastTab.
- Select the Document handling active check box.
Set up document Archive Directory:
- Click Organization
administration > Setup > Document management > Document
management parameters.
- In the General
area of the form, in the Archive directory field, enter the path to
the archive directory.
- Click Number
sequences, and select the ID reference.
- In the Number
sequence code field, select the number sequence code to use for naming
your documents.
Note: You
can select an alternative archive directory for each document type in the Document types form. If you
change the archive for your documents, existing document references will not
work unless you have already copied all existing documents to the new archive.
Create required Document types:
The document can be attached if and only if the file is of any type that is set up in the Document types form.
Follow the below steps to create a new document type:
- Click Organization administration > Setup > Document management > Document types.
- Press CTRL+N to create a new document type.
or you can click the "New" button. - In the Type field, enter a code for the document type.
This Type field is shown while adding documents to records, so recommended to have a descriptive name here. - In the Name field, type a descriptive name for the document type.
More description if needed. - In the Class field, select the type of document to create.
To specify which class do you want the new document type to fall in. - In the Group field, select a group for the document type.
Choose among the pre-defined groups avaliable. - Close the form to save your changes.
Using Document
management:
You can actually perform any of the below actions:
- Create a new document
- Create a Copy of an existing document
- Copy to clipboard to copy the document elsewhere in the System
Create a document
- Click Sales and marketing > Common > Prospects > All prospects.
- Select the prospect record that you want to create an attachment for or attach a document to.
- Click Attachments to open the form.
- Press CTRL+N to create a new document.
- Select the document type in the Documents form and then click OK.
Note: The document icon in the Prospects form changes from an empty sheet of paper to a book. This indicates that there are documents attached to the prospect record.
You can create documents for other users by selecting their user names from the list in the Author field. You can also transfer a document to another author in the Author field.
Copy a document
- Click Sales and marketing > Common > Prospects > All prospects.
- In the Prospects form, select the prospect record from which you want to copy a document.
- Click Attachments to open the Documents form.
Verify that the document attached is a type that can be opened, such as a Microsoft Word file type or a Microsoft Excel worksheet. - Click Copy.
- In the Description field, update the description of the newly copied document.
- Click Sales and marketing > Common > Prospects > All prospects.
- In the Prospects form, select the prospect record that has the document that you want to copy to the clip board.
- Click Attachments to open the Documents form.
- Click Copy to clipboard. The active document is now copied to the Clipboard and can be pasted into any file that accepts text (such as email or a document).
- Press CTRL+V to paste the copied document into the destination.
Note: The copy-and-paste procedure creates a copy of the selected document in the file system but does not maintain any connection to the document management system of Microsoft Dynamics AX. No new document identification is created, nor is the copied document attached to any record.
Information collected from: http://technet.microsoft.com/en-us/library/aa549988.aspx
11 comments:
nice explanation..Ajit
very useful for developers...thanks
Thank you Anil..
Excellent! Exactly what I was looking for.
nice Article and thank you for all support us . please can you send me explanation for how to create and use product builder in ax 2012 .
if you want to contact me my email is
sodokey@gmail.com
many thanks for you your response highly APPROACHED
I'm having some issues attaching a document on a network through Enterprise Portal. Any other settings for EP that are required?
I am having issues attaching a document on a network to a Purchase Order through Enterprise Portal. I keep getting a message saying folder does not exist or network not available. These locations work form the AX client when saving documents. Any other settings required for EP?
Jason
Thanks Working.
Is it possible to activate “Show attachment status” as automatically for to all users
@Mohamad and JC... sorry, maybe it is too late to answer your queries. Hope you fixed it already.
/Ajit.
Srikanth.. Also a little late response for you.
There is no Standard functionality to update "Show attachment status" for all the users, but you can always write a quick job.
Wrote the below one for you... Hope this helps.
static void AjGu_UpdateDocuToolbarButActive(Args _args)
{
SysUserInfo userInfo;
int check=0;
;
ttsbegin;
while select forupdate userInfo where userInfo.docuToolbarButtonActive == false
{
if(userinfo.id)
{
userInfo.docuToolbarButtonActive = true;
check++;
}
userInfo.update();
}
ttsCommit;
info(strFmt("No of rows updated: %1", check));
}
Hello,
One of user is unable to edit the description in document handling form. He is assigned as system user in the system.
What should I do?
Post a Comment