fiogf49gjkf0d Thanks for the response Mike. Forgive me, but I'm still struggling with this. I now have the following, but when I build I receive the error :
Keyword 'this' is not valid in a static property, static method, or static field initializer. I'm still learning. Thanks ~Chad
public static void OnLoadSalesBoardDefaultsStep( ISCNSalesBoardEntry form, EventArgs args) { Sage.Entity.Interfaces.ISCNSalesBoard salesboard = this.BindingSource.Current as Sage.Entity.Interfaces.ISCNSalesBoard; IAccount account = form.WorkItem.Services.Get<Sage.Platform.Application.IEntityContextService>().GetEntity() as IAccount; form.SalesBoardPeriod.DateTimeValue = DateTime.Now; salesboard.SalesPerson1UserID = account.AccountManager.ToString(); }
|