Thanks for all thIs. How do you know this. Where or What documentation from Epicor. Nothing I ever knew of?
Can you direct me to learn more and also what are the best resources for .net and writing code thru visual studio
Sent from my Verizon Wireless BlackBerry
-----Original Message-----
From: "Mark Wonsil" <mark_wonsil@...>
Date: Thu, 20 Aug 2009 18:54:42
To: <vantage@yahoogroups.com>
Subject: RE: [Vantage] Invoking .net
vantage@yahoogroups.com wrote:
namespace Bpm.Custom {
using System;
using System.Data;
using System.Diagnostics;
using Bpm.Action;
using System.Data.Sql;
using System.Data.SqlClient;
public class SalesOrder {
public virtual void OnAfterUpdate(System.Data.DataSet
SalesOrderDataSet) {
SalesOrderDataSet.WriteXml("c:\\temp\\SalesOrder.xml");
}
}
}
Note that in Epicor 9, you don't get a set of tt files but get a full
dataset. I just call the WriteXML method to dump what's available to you.
You will NOT see all of the variables that are available to Progress 4G/L
BPMs.
Mark W.
[Non-text portions of this message have been removed]
Can you direct me to learn more and also what are the best resources for .net and writing code thru visual studio
Sent from my Verizon Wireless BlackBerry
-----Original Message-----
From: "Mark Wonsil" <mark_wonsil@...>
Date: Thu, 20 Aug 2009 18:54:42
To: <vantage@yahoogroups.com>
Subject: RE: [Vantage] Invoking .net
vantage@yahoogroups.com wrote:
> Install BPM Server on your develoment evironmentHere's the "Hello BPM" code I use to test Epicor 9:
>
> Create a new .net Project and for DLL Library and add the reference
> C:\Program Files\ComPlus
> Applications\{CB819E8D-DF90-4B54-B72C-51787B8A5091}\Epicor.Mfg
> .BPM.Server.CallContext.dll
>
> Then from Vantage
> Go to Method Directives and find the the BO in which you want
> to trigger the
> BPM say it is Cutomer Update
> OnceYou've Selected th Method Click on Advanced Select the Parameters
> you will like to have passed to your program and click Create
> Programming Interface Select .NET Assembly
> Select Before or After
>
> Copy the generated code to the class you created earlier in your dev
> environment. Once all done compile and copy the .dll into Actions on
> C:/Progrma Files /Epicor/BPM Server
>
namespace Bpm.Custom {
using System;
using System.Data;
using System.Diagnostics;
using Bpm.Action;
using System.Data.Sql;
using System.Data.SqlClient;
public class SalesOrder {
public virtual void OnAfterUpdate(System.Data.DataSet
SalesOrderDataSet) {
SalesOrderDataSet.WriteXml("c:\\temp\\SalesOrder.xml");
}
}
}
Note that in Epicor 9, you don't get a set of tt files but get a full
dataset. I just call the WriteXML method to dump what's available to you.
You will NOT see all of the variables that are available to Progress 4G/L
BPMs.
Mark W.
[Non-text portions of this message have been removed]