Page 1 of 1

need to reference low stock level value in code

Posted: Tue Aug 18, 2009 3:13 pm
by ksolito
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?

Re: need to reference low stock level value in code

Posted: Tue Aug 18, 2009 3:59 pm
by jmestep
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

Re: need to reference low stock level value in code

Posted: Wed Aug 19, 2009 1:46 am
by mazhar

Re: need to reference low stock level value in code

Posted: Wed Aug 19, 2009 5:04 am
by ksolito
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.

Re: need to reference low stock level value in code

Posted: Wed Aug 19, 2009 5:43 am
by ZLA
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.

Re: need to reference low stock level value in code

Posted: Wed Aug 19, 2009 6:35 am
by ksolito
Thanks ZLA, that's what I needed.