This commit is contained in:
2021-11-10 01:22:48 +00:00
parent 92f06ec12f
commit 0acdb752c0
9 changed files with 15 additions and 15 deletions

View File

@@ -7,7 +7,7 @@ namespace AyaNova.DataList
{
internal class PartInventoryTransactionsDataList : DataListProcessingBase, IDataListInternalCriteria
{
public PartInventoryTransactionsDataList()
public PartInventoryTransactionsDataList(long translationId)
{
DefaultListAType = AyaType.PartInventory;
SQLFrom = "from apartinventory "
@@ -28,7 +28,7 @@ namespace AyaNova.DataList
FieldKey = "PartInventoryTransactionSource",
UiFieldDataType = (int)UiFieldDataType.Text,
SqlIdColumnName = "apartinventory.sourceid",
SqlValueColumnName = $"AYGETNAME(apartinventory.sourceid, apartinventory.sourcetype,{CurrentUserTranslationId})",
SqlValueColumnName = $"AYGETNAME(apartinventory.sourceid, apartinventory.sourcetype,{translationId})",
SqlATypeColumnName = "apartinventory.sourcetype",
Translate=true
});