Is there a way to update a Docstar table from within Epicor? I know you can use Data Link for updates from Docstar to Epicor, but I’d like from Epicor to Docstar via API if possible to avoid future issues with direct DB updates.
You can use the API there are posts on the API on here somewhere
Is the information you want in ECM part of a transaction that has an attachment? eg - An image of a packing slip is being attached to the material/PO receipts transaction? If that is the case, Epicor has a metadata editor that allows you to bring in more fields from the transaction. Like dates or amounts and stuff. The prerequisite is that the DocType in ECM was created in Epicor so it’s linked. I know something about that changed recently so you’ll need to experiment with that.
You can also reprocess documents in ECM through a new workflow that basically just runs a datalink and adds data - this is undoubtedly the best way. You can do this in batch with whole folders of documents - its’ very easy. Plus you can alter your original workflow to selectively pass these documents on to the datalink workflow if certain conditions are met.
As for direct editing - the API is there, albeit not well documented.
We have a custom table that is being manually updated with Vendor data from Epicor. The table is used as part of a workflow for various Invoice document approvals. As this is a custom table, I’m not sure if this would be available in the API. So, either direct DB update or a placeholder DocType to pass the data needed in the metadata, then parsed and updated in a workflow.
Are you updating/inserting the data based on the Invoice Vendor? I’d bake in the maintenance of the UD Table into the invoice workflow, if possible. Otherwise, a workflow/datalink would be the way to go. I think. Looking at the API, I don’t see any endpoints that addresses UD tables.
Walking through it a few times, I think we can move the custom database table into Epicor and use metadata to send the data we need. thanks for the input!
Glad to be of help!!
Once you’ve got a working solution, drop it in the ECM section as an example for others to work from.