StoreEvent ID

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
WebDev7
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 49
Joined: Thu Oct 14, 2010 7:25 am

StoreEvent ID

Post by WebDev7 » Wed Jan 05, 2011 12:05 pm

Hello;

Is there somewhere in the database that I can find the Names associated with storeEventID numbers?
I am assuming that this may be in various places, depending on the object that's using it referenced to the individual table. I'm running version 704.
Thank you in advance.

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: StoreEvent ID

Post by mazhar » Thu Jan 06, 2011 7:22 am

Here is the information about Ids and their names.

Code: Select all

Store Event Id = 0, Store Event Name = None
Store Event Id = 100, Store Event Name = OrderPlaced
Store Event Id = 101, Store Event Name = PaymentAuthorized
Store Event Id = 102, Store Event Name = PaymentAuthorizationFailed
Store Event Id = 103, Store Event Name = PaymentCapturedPartial
Store Event Id = 104, Store Event Name = PaymentCaptured
Store Event Id = 105, Store Event Name = PaymentCaptureFailed
Store Event Id = 106, Store Event Name = OrderPaid
Store Event Id = 107, Store Event Name = OrderPaidPartial
Store Event Id = 108, Store Event Name = OrderPaidCreditBalance
Store Event Id = 109, Store Event Name = OrderShipped
Store Event Id = 110, Store Event Name = OrderShippedPartial
Store Event Id = 111, Store Event Name = ShipmentShipped
Store Event Id = 112, Store Event Name = OrderNoteAddedByMerchant
Store Event Id = 113, Store Event Name = OrderNoteAddedByCustomer
Store Event Id = 114, Store Event Name = OrderStatusUpdated
Store Event Id = 115, Store Event Name = OrderCancelled
Store Event Id = 116, Store Event Name = GiftCertificateValidated
Store Event Id = 117, Store Event Name = OrderPaidNoShipments
Store Event Id = 200, Store Event Name = CustomerPasswordRequest
Store Event Id = 300, Store Event Name = LowInventoryItemPurchased
Actually this information is coded as Enum. Here is the code I used to get this info

Code: Select all

Dictionary<string,int> nameValueDictionary = PageHelper.EnumToDictionary(typeof(StoreEvent));
foreach(string name in nameValueDictionary.Keys)
{
            Response.Write(string.Format(" Store Event Id = {0}, Store Event Name = {1}",nameValueDictionary[name],name));
            Response.Write("<br />");
}

WebDev7
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 49
Joined: Thu Oct 14, 2010 7:25 am

Re: StoreEvent ID

Post by WebDev7 » Thu Jan 06, 2011 9:24 am

Thank you for the information.

Post Reply