need to reference low stock level value in code

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
ksolito
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 42
Joined: Tue Nov 25, 2008 3:16 pm

need to reference low stock level value in code

Post by ksolito » Tue Aug 18, 2009 3:13 pm

I took a guess that InStockWarningLevel was part of the InventoryManagerData class but apparently it's not. I'm not using Visual Studio so no IntelliSense available.

I downloaded the class library doc metioned in this thread, viewtopic.php?f=45&t=7559&p=31738&hilit ... ion#p31738 but it displays the index but clicking on any index item just displays "The address is not valid".

So two questions:

1) How can I reference a product's low stock level value in ConLib/BuyProductDialog.ascx.cs?

2) Where can I find docs on the AbleCommerce 7.0 class libraries?

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: need to reference low stock level value in code

Post by jmestep » Tue Aug 18, 2009 3:59 pm

You can use Visual Web Developer to view the class info in the object browser.
You can also use SandCastle HelpFile builder to build a chm file from the dlls in Able - it's free.
http://www.codeplex.com/SHFB
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx


ksolito
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 42
Joined: Tue Nov 25, 2008 3:16 pm

Re: need to reference low stock level value in code

Post by ksolito » Wed Aug 19, 2009 5:04 am

Mazhar,

That document doesn't work. It displays the index but clicking any idex item displays:
The address is not valid

Most likely causes:
There might be a typing error in the address.
If you clicked on a link, it may be out of date.

What you can try:
Retype the address.

Go back to the previous page.


That the same thing that's wrong with the document on wiki.

ZLA
Commodore (COMO)
Commodore (COMO)
Posts: 496
Joined: Fri Mar 13, 2009 2:55 pm

Re: need to reference low stock level value in code

Post by ZLA » Wed Aug 19, 2009 5:43 am

See this on how to see compiled help: http://blogs.technet.com/seanearp/archi ... -2003.aspx:
Method 1
1. Double-click the .chm file.
2. In the Open File-Security Warning dialog box, click to clear the Always ask before opening this file check box.
3. Click Open.

Method 2
1. Right-click the CHM file, and then click Properties.
2. Click Unblock.
3. Double-click the .chm file to open the file.

ksolito
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 42
Joined: Tue Nov 25, 2008 3:16 pm

Re: need to reference low stock level value in code

Post by ksolito » Wed Aug 19, 2009 6:35 am

Thanks ZLA, that's what I needed.

Post Reply