Sent from my iPhone
On 25 Feb 2016, at 16:00, Jose Gomez jose@... [vantage] <vantage@yahoogroups.com> wrote:
​1. Is the automated copying and saving of an attachment to a common file a customization in our database, or is it part of EPICOR's standard package?Epicor automatically moves the files from your location to the \\server\Path that is setup in the Attachment Setup in Company Maintenance. That wasn't a customization you did...
2. Where does Lib.FileTransfer (business object) live in EPICOR? Can I modify the code so that the DMT tool also initiates an automated copying and saving of the attachment?
I am not sure of what DMT Does with attachments I suspect that someone from .NET IT will respond to this point they lurk on the list too
Jose C GomezSoftware Engineer
T: 904.469.1524 mobile
Quis custodiet ipsos custodes?
On Thu, Feb 25, 2016 at 10:21 AM, tom.sederquist@... [vantage] <vantage@yahoogroups.com> wrote:
Jose Gomez,
When I manually attach a pdf file to a part revision in EPICOR, the pdf file is copied from its original location and saved in a common file path with all other part revision pdf attachments. However, when I use the DMT tool to attach a file to a part revision, the original file path remains for the attachment within EPICOR and no copy of the file is made and placed in the common file path!
A few questions:
​​1. Is the automated copying and saving of an attachment to a common file a customization in our database, or is it part of EPICOR's standard package?
2. Where does Lib.FileTransfer (business object) live in EPICOR? Can I modify the code so that the DMT tool also initiates an automated copying and saving of the attachment?
I used a data trace in EPICOR and I am pretty sure that at some point a customization was created in our database in order to send attachments to a common folder. I would like to find and modify this customization so that it works for the DMT tool. Or, if I can't figure that out, I would like to delete it so that we don't have attachments that are scattered all over the place depending on how they were attached.
P.S. Also, anyone can respond haha... I just addressed this to Jose because he has become sort of a legend here at Trystar. I think he knows more about EPICOR than EPICOR knows about itself.
The trace produced the following code (there is more, but I think this is the meat and potatoes of the situation):
<tracePacket>
<businessObject>Epicor.Mfg.Lib.FileTransfer</businessObject>
<methodName>FileExists</methodName>
<returnType>bool</returnType>
<localTime>2/25/2016 08:24:22:9322802 AM</localTime>
<executionTime>183</executionTime>
<parameters>
<parameter name='cc' type='Epicor.Mfg.Core.CallContext.CallContextDataSet' ><CallContextDataSet xmlns="http://www.epicor.com/Mfg/100/BO.CallContext/CallContextDataSet" /></parameter>
<parameter name='serverPath' type='System.String' ><![CDATA[\\10.134.80.10\Shared Data\Admin1\EpicorAttachments\Live\TS\PartRev\43743 (GDS-085W-LMF-C2KQ).pdf]]></parameter>
</parameters>
<paramDataSetChanges>
</paramDataSetChanges>
</tracePacket>
<tracePacket>
<businessObject>Epicor.Mfg.Lib.FileTransfer</businessObject>
<methodName>UploadFile</methodName>
<returnType>void</returnType>
<localTime>2/25/2016 08:24:23:6342937 AM</localTime>
<executionTime>395</executionTime>
<parameters>
<parameter name='cc' type='Epicor.Mfg.Core.CallContext.CallContextDataSet' ><CallContextDataSet xmlns="http://www.epicor.com/Mfg/100/BO.CallContext/CallContextDataSet" /></parameter>
<parameter name='serverPath' type='System.String' ><![CDATA[\\10.134.80.10\Shared Data\Admin1\EpicorAttachments\Live\TS\PartRev\43743 (GDS-085W-LMF-C2KQ).pdf]]></parameter>
<parameter name='binaryData' type='System.Boolean' ><![CDATA[True]]></parameter>
<parameter name='ds' type='Epicor.Mfg.Lib.FileTransferDataSet' ><FileTransferDataSet xmlns="http://www.epicor.com/Mfg/100/BO.FileTransfer/FileTransfer" /></parameter>
</parameters>
<paramDataSetChanges>
<paramDataSet name='ds' useDataSetNbr='0' >
<changedValue tableName='FileTransfer' rowState='Added' rowNum='0' colName='Sequence' ><![CDATA[1]]></changedValue>
<changedValue tableName='FileTransfer' rowState='Added' rowNum='0' colName='Data' ><![CDATA[JVBERi0xLjcgCiXi48/TIAoxIDAgb2JqIAo8PCAKL1R5cGUgL0NhdGFsb2cgCi9QYWdlcyAyIDAg
Stephen Edginton (Beng) | Solutions & Technical Director |
||||||||
|
||||||||
Dot Net IT Limited, One St Kenelm Court, Steel Park Road, Halesowen, B62 8HD, United Kingdom.
|