Orders and OrderItems Data Layer

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
heinscott
Captain (CAPT)
Captain (CAPT)
Posts: 375
Joined: Thu May 01, 2008 12:37 pm

Orders and OrderItems Data Layer

Post by heinscott » Tue Aug 05, 2008 1:17 pm

Hello! I was wondering if I could get some information, if it's possible.
My boss would like me to create a separate table for storing Refund information when items are returned to us. Now, the easiest way I could think of to accomplish this was to just copy the Orders and OrderItems data layers and tables to a new Refunds and RefundItems data layer/tables, and write to those objects every time an order is processed.
Would it be possible to get the code for these layers/objects? If possible, I would love to be able to see the main class, as well as Collection and DataSource for each of these. I have already, in the past, created data layers for PurchaseOrders and Recieving reports, and would love it if I didn't have to go through that incredible tedious process this time...
Thanks for any help you can give me!

Scott

User avatar
heinscott
Captain (CAPT)
Captain (CAPT)
Posts: 375
Joined: Thu May 01, 2008 12:37 pm

Re: Orders and OrderItems Data Layer

Post by heinscott » Wed Aug 06, 2008 9:36 am

Is it going to be possible to get this information, or should I get started creating it all from scratch?
Thanks,

Scott

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Orders and OrderItems Data Layer

Post by AbleMods » Fri Aug 08, 2008 12:25 am

I recall seeing some example code (for Affiliates if memory serves) in the Able Wiki that shows source code for how the base data classes are coded. It might not tell you everything, but it should at least give you a starting point.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

User avatar
heinscott
Captain (CAPT)
Captain (CAPT)
Posts: 375
Joined: Thu May 01, 2008 12:37 pm

Re: Orders and OrderItems Data Layer

Post by heinscott » Fri Aug 08, 2008 7:25 am

Yeah, I saw that as well...
I can recreate, but would rather not if possible.
Are there any developers out there that could let me know if I am waiting in vain?
Any help would be appreciated.

Scott

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Orders and OrderItems Data Layer

Post by AbleMods » Fri Aug 08, 2008 7:36 am

I don't think anybody has access to the base data classes yet because full source code hasn't been released. Only Able could provide what you need.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

User avatar
heinscott
Captain (CAPT)
Captain (CAPT)
Posts: 375
Joined: Thu May 01, 2008 12:37 pm

Re: Orders and OrderItems Data Layer

Post by heinscott » Fri Aug 08, 2008 8:27 am

Absolutely. That is what I was hoping for. I guess I should have made it clear that I was hoping for a response from one of the Able Commerce admins. I just didn't know whether they would allow me to see a small portion of the source without having purchased the source code, strictly for the purposes of creating my own data class.
I had to write my own for PO, POItems, PODataSource, Recieving, RecievingItems, RecievingDataSource for doing inventory recieving and ordering reports. It just took a while, and I'd rather have objects that would work seamlessly with the Able core, too.
Thanks again. Any additional response would be appreciated.

Scott

User avatar
heinscott
Captain (CAPT)
Captain (CAPT)
Posts: 375
Joined: Thu May 01, 2008 12:37 pm

Re: Orders and OrderItems Data Layer

Post by heinscott » Fri Aug 08, 2008 10:34 am

I read that the DAL generator would soon be made available. Is there a status on that?
Thanks,

Scott

Post Reply