Attaching files in Forms for a PO Receipt

We have developed a forms-based Purchase Order Receipts App in MEP for JDE. We want the user to be able to attach the packing list, BOL paper work for the receipt to the order header. Looking for some directions on how I could do this in my forms app like users do it in JDE using file attachments for PDF’s JPEG’s Gifs etc.

1 Like

Hi Jeff,

MEP has several interfaces to facilitate the use & manipulation of “media objects”.
There has been no overall standard solution developed around this thus far, as each client’s requirements & use cases have always been unique, so every implementation I am aware of has been completely customized.

I believe this would be the interface most appropriate to your query here – Load Media Objects to the Database

Which is essentially a ‘wrapper’ function to call this E1 endpoint – Upload File Attachment v2

There are several additional interfaces available in this area:

Signature Capture interface for JD Edwards

Media Object Long Text interface for JD Edwards

Media Object Text interface for JD Edwards

Customarily clients would reach out to their Customer Success Manager to arrange a consultation with one of our Solution Architects to provide more specific guidance around our ability to meet their unique needs.
These tend to be among the most difficult of our interfaces to implement, as a rather detailed understanding of how E1 handles media objects internally is required to be successful.

Best regards,

Cary

Thanks Cary,

I am able to use the dcLINKSignatureCapture API to create Purchase Order Header record in the F00165, but the JPG file does not exist. I can’t find anywhere in the documentation where the file JPG, or signature file needs to exist on the server before I call the API. Is there any documentation that explains this? If I can find this, I can use the Communications send file.

Thanks again

Jeff

Well, I had a whole reply written out with screen shots and everything but CI is blocking that and will only allow one image. I then put into a document but CI is blocking me from doing that too. I don’t think there is a way to correspond to you via a PM on here so this is the best I can do for you.

If you’ve made it that far in that you’re populating F00165 then you should know what the file path is in F00165.GDGTFILENM. You would then need to use the capture image object which will store the images locally to the device. Use variables to come up with the file name for your image and populate that in the Capture Image object. If attaching multiple images, ensure you are generating a new file name for the next image. Once completed with the capturing of images you’d use a Send File to whatever file drop location in MEP you have defined using Admin > Configuration > Agent Settings > Communication Agent (EDIT). Under General you will see the File Drop Directory. I used like D:\FileDrop. I then have a batch file that I wrote to copy files to the designated location defined for storing objects in GDGTFILENM. There are other ways as well using Web Service Definition and AIS but that’s a whole other process which I am also doing but this is the easier path. One thing to note is we are currently XML 32 bit. Anyway, hopefully that helps.

BATCH -

I created a queue for my DSI files to be stored and created P98MOQUE definition in JDE defined as -

Then batch file with that P98MOQUE definition set on a task schedular for say like every 2-3 mins using the below which will copy files that have certain criteria ONLY to that file path which is denoted in between the * *

MOVE “D:\FileDrop\*WHATEVERFILE*” \\SERNAME\JDE\E812\MEDIAOBJ\DSI

Trav

Travis,

Thank you so much for the wonderful help!!!

Out of the office today, I will try this first thing Monday morning.

Really appreciate this.

Jeff

Hey Jeff,

Anytime.. I attached my file.. Not sure if it will go through or not.

(attachments)

MediaObjects.docx (67.8 KB)