Hi all,
First of all I would like to tell that I have done much research on this but didn't help out.
https://community.dynamics.com/ax/f/33/t/182237 was good, but indeed this is opening Document handling form but not showing the attachments.
https://groups.google.com/forum/#!topic/microsoft.public.axapta.programming/uJAM1-KEDKA - (Please refer to the last answer) - I have also tried something with written "docuCursor()" method but the thing is, this process requires adding Datasource in form but this Product Order form uses Query as it's data source and ListPageInteractionClass as a class, hence this method is also of no use to me, maybe some additions to this can be helpful but I do not have any clue on how to do that.
Problem: For each Production order there's a product/item, my client wants to attach some documents on Product/Item (PIM-> Released Products) and he wishes to see all those documents in all those Production orders where that product is being used.
Till now I have tried to use MenuItemButton for DocuView and Command Button with overridden clicked methods that go like this.
void clicked()
{
InventTable inventTable;
DocuRef docuRef;
super();
select firstOnly inventTable where inventTable.ItemId == ProdTable.ItemId;
select firstOnly docuRef where DocuRef.RefTableId == inventTable.TableId
&& DocuRef.RefRecId == inventTable.RecId && docuRef.TypeId == "File";
DocuRef::openDocHandling(docuRef, element);
}
It's been 2 days and I have to submit this very soon. I hope I was been very clear about what I want, if any further explanations are required then please do let me know.
Thanks a ton in advance.
*This post is locked for comments
I have the same question (0)

Report
All responses (
Answers (