HI @estebanperalta54 ,
From the DAC Schema Browser you can view the DAC Source Code. You also click on DAC Query to view the SQL query that Acumatica uses to retrieve the data.
Here is the DAC region:
#region QtyOnHand
public abstract class qtyOnHand : PX.Data.BQL.BqlDecimal.Field<qtyOnHand> { }
protected Decimal? _QtyOnHand;
[PXDBQuantity(BqlField = typeof(INLocationStatusByCostCenter.qtyOnHand))]
[PXDefault(TypeCode.Decimal,"0.0")]
[PXUIField(DisplayName="Qty. On Hand")]
public virtual Decimal? QtyOnHand
{
get
{
return this._QtyOnHand;
}
set
{
this._QtyOnHand = value;
}
}
#endregion
And here is the SQL query:
SELECT
[INLocationStatus_INLocationStatusByCostCenter].[InventoryID] AS [InventoryID],
[INLocationStatus_INLocationStatusByCostCenter].[QtyOnHand] AS [QtyOnHand]
...
FROM
[INLocationStatusByCostCenter] [INLocationStatus_INLocationStatusByCostCenter]
WHERE
([INLocationStatus_INLocationStatusByCostCenter].[CostCenterID] = 0)
Based on this you can see tha tINLocationStatus is actually a projection of INLocationStatusByCostCenter in the underlying database.
Hope this helps!
Laura