14.03.2007, 12:25 | #1 |
Участник
|
"while select" и "Query"
Есть запрос:
X++: while select sum(Qty) from inventTrans where inventTrans.StatusIssue == StatusIssue::Sold && inventTrans.StatusReceipt == StatusReceipt::None && inventTrans.TransType == InventTransType::Sales join inventTable group by ItemGroupId where inventTable.ItemId == inventTrans.ItemId join salesTable where salesTable.SalesId == inventTrans.TransRefId && salesTable.SalesResponsible == _emplId В чем может быть причина? |
|