2,743
edits
No edit summary |
No edit summary |
||
Line 1:
==References of AutoCount Accounting version
{{BaseReferenceAC20}}
'''
'''
==Get all tables in the DataSet of Stock Status==
<syntaxhighlight lang="csharp">
public DataSet GetStockStatusDataSet(
{
//No filter, warning without filter will load all data
Line 29:
==Get the Table of Stock Status with filter==
<syntaxhighlight lang="csharp">
public DataTable GetStockStatusTable(
{
//Filter Stock Location
crit.LocationFilter.Type =
crit.LocationFilter.From = "HQ";
crit.LocationFilter.To = "HQ";
Line 49:
This example shows how to add a column "ReadyStock" and calculate the value using two existing values.
<syntaxhighlight lang="csharp">
public DataTable GetStockStatusTableWithColumnExpression(
{
//Filter Stock Location
crit.LocationFilter.Type =
crit.LocationFilter.Add("HQ");
|