Index: AX/Uitgaand/EC/DataAX/impl/AxFactuurLijnIterator.cls.xml =================================================================== diff -u -r53805 -r53927 --- AX/Uitgaand/EC/DataAX/impl/AxFactuurLijnIterator.cls.xml (.../AxFactuurLijnIterator.cls.xml) (revision 53805) +++ AX/Uitgaand/EC/DataAX/impl/AxFactuurLijnIterator.cls.xml (.../AxFactuurLijnIterator.cls.xml) (revision 53927) @@ -30,7 +30,7 @@ CustomerID:%String,VanafDatum:%Date ? and INVOICEAMOUNT<>0" + Set SqlStatement = ..GeefSQLVoorFactuurHoofding()_" and INV.INVOICEACCOUNT=? and INV.INVOICEDATE>? and INVOICEAMOUNT<>0" Set ..ResultSet = ..SqlQueryConnection.GetResultSetWithoutExecute(SqlStatement) Set sc=..ResultSet.Execute(CustomerID,$ZD(VanafDatum,3)) ]]> @@ -40,7 +40,7 @@ CustomerID:%String 0" + Set SqlStatement = ..GeefSQLVoorFactuurHoofding()_" and INV.INVOICEACCOUNT=? and TRANS.CLOSED='1900-01-01' and INVOICEAMOUNT<>0" Set ..ResultSet = ..SqlQueryConnection.GetResultSetWithoutExecute(SqlStatement) Set sc=..ResultSet.Execute(CustomerID) ]]> @@ -61,6 +61,7 @@ _" and TRANS.VOUCHER = INV.LEDGERVOUCHER " _" and TRANS.DATAAREAID = INV.DATAAREAID " _" and TRANS.PARTITION = INV.PARTITION " + _" WHERE INV.Partition = 5637144576 and INV.DataAreaId = 'vhbe' " Quit SqlStatement ]]> @@ -83,8 +84,8 @@ _" left outer join ADUEcoResAttributeCombination as Kenmerk on InventDim.ConfigId=Kenmerk.ConfigId " _" and SalesLine.ITEMID=Kenmerk.ITEMID " _" and InventDim.ConfigId<>'' and SalesLine.Partition=Kenmerk.Partition " - _" left outer join AduCustomerFormNotes as ProdNotes on ProdNotes.REFTABLEID=359 and ProdNotes.REFRECID=SalesLine.RECID and ADUBODYTYPE=5 and ProdNotes.Partition=SalesLine.Partition" - _" where InvLine.DataAreaID='vhbe' and InvLine.INVOICEID = ? " ; specifieke factuur + _" left outer join AduCustomerFormNotes as ProdNotes on ProdNotes.REFTABLEID=359 and ProdNotes.REFRECID=SalesLine.RECID and ADUBODYTYPE=5 and ProdNotes.Partition=SalesLine.Partition and prodnotes.DATAAREAID = salesline.DATAAREAID" + _" where InvLine.DataAreaID='vhbe' and InvLine.Partition = 5637144576 and InvLine.INVOICEID = ? " ; specifieke factuur Set ..ResultSet = ..SqlQueryConnection.GetResultSetWithoutExecute(SqlStatement) Set sc=..ResultSet.Execute(FactuurID) ]]>