Interface SalesDocumentBase<L extends ItemListBase<I>,​I extends ItemBase,​H extends HeaderBase>

    • Field Detail

      • NO_OF_ITEMS_UNKNOWN

        static final int NO_OF_ITEMS_UNKNOWN
        Constant defining that the number of items of a document is unknown. Thus it must be determined by the size if the itemList.
        See Also:
        Constant Field Values
    • Method Detail

      • getAlternativeShipTos

        java.util.List<ShipTo> getAlternativeShipTos()
        Return the list of all available shipTos of this document. The shipTos contain the address.
        Returns:
        list of shipTos.
      • getAlternativeBillTos

        java.util.List<BillTo> getAlternativeBillTos()
        Return the list of all available shipTos of this document. The billTos contain the address.
        Returns:
        list of billTos.
      • isChangeHeaderOnly

        boolean isChangeHeaderOnly()
        Returns true if only the header should be changed
        Returns:
        boolean true if only the header should be changed, false else
      • isDeterminationRequired

        boolean isDeterminationRequired()
        Determines if manual Product-, Campaign-, ... Determination is necessary for at least one top level item.
        Returns:
        boolean true if there is at least on item that needs manual determination for products, camapigns, etc.
      • setDeterminationRequired

        void setDeterminationRequired​(boolean isDeterminationRequired)
        Sets the isDeterminationRequired flag
        Parameters:
        isDeterminationRequired - true if there are items that need manual determination either for camapigns, substitution products or something similar
      • isPersistentInBackend

        boolean isPersistentInBackend()
        Returns the information, if document is persistent in the back end
        Returns:
        true, if document persists on DB in the back end
      • setPersistentInBackend

        void setPersistentInBackend​(boolean isPersistent)
        Set flag, if document is persistent in the back end
        Parameters:
        isPersistent - if true document is considered persistent