def getDocumentList3(): data = InternetDocument_getDocumentList() data.setDeliveryDateTime('20.03.2015') data.setRecipientDateTime('14.03.2015') data.setDeliveryDateTime('14.03.2015') data.setCreateTime('10.03.2015') data.setSenderRef('f867c762-e66a-11e3-8c4a-0050568002cf') data.setRecipientRef('7da56a9c-f205-11e3-8c4a-0050568002cf') data.setWeightFrom('5') data.setWeightTo('600') data.setCostFrom('5') data.setCostTo('15000') data.setSeatsAmountFrom('5') data.setSeatsAmountTo('15') data.setSeatsAmountFrom('5') data.setSeatsAmountTo('15') data.setCostOnSiteFrom('500') data.setCostOnSiteTo('1500') data.setDateTime('09.03.2015') # константы для сортирования: InternetDocument_getDocumentList.ORDER_FIELD... data.setOrderField(InternetDocument_getDocumentList.ORDER_FIELD_Cost) data.setScanSheetRef('b107a458-c6fe-11e4-ac12-005056801333') data.setPage('1') data.setOrderDirection(InternetDocument_getDocumentList.ORDER_DIRECTION_ASC) data.setIsAfterpayment('true') return InternetDocument.getDocumentList(data)
def getDocumentList4(): data = InternetDocument_getDocumentList() data.setDateTime('24.07.2015') data.setStateIds([1]) return InternetDocument.getDocumentList(data)