Class OrderLinePEHQLTransformer

    • Field Detail


        protected static final String CREATE_INVOICE_LINES_FORM_ORDER_WINDOW
        See Also:
        Constant Field Values
      • isSalesTransaction

        protected boolean isSalesTransaction
    • Constructor Detail

      • OrderLinePEHQLTransformer

        public OrderLinePEHQLTransformer()
    • Method Detail

      • transformHqlQuery

        public String transformHqlQuery​(String _hqlQuery,
                                        Map<String,​String> requestParameters,
                                        Map<String,​Object> queryNamedParameters)
        Description copied from class: HqlQueryTransformer
        Returns the transformed hql query
        Specified by:
        transformHqlQuery in class HqlQueryTransformer
        _hqlQuery - original hql query
        requestParameters - the parameters of the request
        queryNamedParameters - the named parameters of the hql query that will be used to fetch the table data. If the transformed hql query uses named parameters that did not exist in the original hql query, the named parameters must be added to this map
        the transformed hql query
      • getSelectClauseHQL

        protected String getSelectClauseHQL()
      • getFromClauseHQL

        protected String getFromClauseHQL()
      • getWhereClauseHQL

        protected String getWhereClauseHQL()
      • getGroupByHQL

        protected String getGroupByHQL()
      • getOrderByHQL

        protected String getOrderByHQL()
      • getOrderedQuantityHQL

        protected String getOrderedQuantityHQL()
      • getOperativeQuantityHQL

        protected String getOperativeQuantityHQL()
      • getOrderQuantityHQL

        protected String getOrderQuantityHQL()
      • getOperativeUOM

        protected String getOperativeUOM()
      • getDocumentNo

        protected String getDocumentNo()
      • getGrandTotalAmount

        protected String getGrandTotalAmount()
      • getScheduledDeliveryDate

        protected String getScheduledDeliveryDate()
      • getWarehouse

        protected String getWarehouse()
      • getSinceHowManyDaysAgoOrdersShouldBeFiltered

        protected String getSinceHowManyDaysAgoOrdersShouldBeFiltered()
        Returns the value of FilterByDocumentsProcessedSinceNDaysAgo preference to be used to define a starting range date filter to limit the order records to be returned by the query
        The value of the preference if exists for the Create Invoice Lines From Order window, or since one year (365 days) if not or exists any conflict in the preference definition