Class HeaderSalesDocument

    • Field Detail

      • recallId

        protected java.lang.String recallId
        Service recall ID
      • recallDesc

        protected java.lang.String recallDesc
        Service recall description
      • userStatusList

        protected UserStatusList userStatusList
        List of user status
      • pricingDate

        protected java.util.Date pricingDate
        Pricing date
    • Constructor Detail

      • HeaderSalesDocument

        public HeaderSalesDocument()
    • Method Detail

      • clear

        public void clear()
        Description copied from class: HeaderBaseImpl
        Drops the state of the object. All reference fields, except partnerList, are set to null, all primitive types are set to the default values they would have after the creation of a new instance. Use this method to reset the state to the state a newly created object would have. The advantage is, that the overhead caused by the normal object creation is omitted.
        Specified by:
        clear in interface SimpleHeader
        Overrides:
        clear in class HeaderBaseImpl
      • clone

        public java.lang.Object clone()
        Description copied from class: HeaderBaseImpl
        Instead of a shallow-copy this returns a deep-copy of this HeaderBaseImpl instance.
        Specified by:
        clone in interface HeaderBase
        Overrides:
        clone in class HeaderBaseImpl
        Returns:
        a deep-copy of this HeaderBase
      • getBillingStatus

        public BusinessStatus getBillingStatus()
        Description copied from interface: Header
        Gets the billing status of the Document.
        Specified by:
        getBillingStatus in interface Header
        Returns:
        Billing status
      • getBillTo

        public BillTo getBillTo()
        Description copied from interface: Header
        Gets the Bill-To-Party of the document
        Specified by:
        getBillTo in interface Header
        Returns:
        Bill-To-Party
      • getDeliveryStatus

        public java.lang.String getDeliveryStatus()
        Description copied from interface: Header
        Get DELIVERY status. Might be different from OVERALL status.
        Specified by:
        getDeliveryStatus in interface Header
        Returns:
        one of the possible status values represented by the constants defined in this class with the names DOCUMENT_COMPLETION_*.
      • getIncoTerms1

        public java.lang.String getIncoTerms1()
        Description copied from interface: Header
        Get the incoterms1
        Specified by:
        getIncoTerms1 in interface Header
        Returns:
        String the incoterms1
      • getIncoTerms1Desc

        public java.lang.String getIncoTerms1Desc()
        Description copied from interface: Header
        Get the incoterms1 description
        Specified by:
        getIncoTerms1Desc in interface Header
        Returns:
        String the incoterms1 description
      • getIncoTerms2

        public java.lang.String getIncoTerms2()
        Description copied from interface: Header
        Get the incoterms2.
        Specified by:
        getIncoTerms2 in interface Header
        Returns:
        String the incoterms2.
      • getIpcDocumentId

        public TechKey getIpcDocumentId()
        Description copied from interface: Header
        Get the IPC document id.
        Specified by:
        getIpcDocumentId in interface Header
        Returns:
        the IPC document id
      • getOverallStatus

        public OverallStatus getOverallStatus()
        Description copied from interface: Header
        get the aggregated overall status
        Specified by:
        getOverallStatus in interface Header
        Returns:
        overall status
      • getPaymentTerms

        public java.lang.String getPaymentTerms()
        Description copied from interface: Header
        get the payment types
        Specified by:
        getPaymentTerms in interface Header
        Returns:
        payment types
      • getPaymentTermsDesc

        public java.lang.String getPaymentTermsDesc()
        Description copied from interface: Header
        Get the payment terms description.
        Specified by:
        getPaymentTermsDesc in interface Header
        Returns:
        String the payment terms description.
      • getPricingDate

        public java.util.Date getPricingDate()
        Description copied from interface: Header
        Get the pricing date
        Specified by:
        getPricingDate in interface Header
        Returns:
        the pricing date
      • getRecallDesc

        public java.lang.String getRecallDesc()
        Description copied from interface: Header
        Returns the recall description
        Specified by:
        getRecallDesc in interface Header
        Returns:
        the recall description
      • getRecallId

        public java.lang.String getRecallId()
        Description copied from interface: Header
        Returns the recall id
        Specified by:
        getRecallId in interface Header
        Returns:
        the recall id
      • getShippingManualPriceCondition

        public java.lang.String getShippingManualPriceCondition()
        Description copied from interface: Header
        Returns shipping manual price condition
        Specified by:
        getShippingManualPriceCondition in interface Header
        Returns:
        shipping manual price condition
      • getShipTo

        public ShipTo getShipTo()
        Description copied from interface: Header
        Get the ship to information as an backend layer interface.
        Specified by:
        getShipTo in interface Header
        Returns:
        the ship to information
      • getTotalManualPriceCondition

        public java.lang.String getTotalManualPriceCondition()
        Description copied from interface: Header
        Returns total manual price condition
        Specified by:
        getTotalManualPriceCondition in interface Header
        Returns:
        total manual price condition
      • isDeliveryStatusCompleted

        public boolean isDeliveryStatusCompleted()
        Description copied from interface: Header
        Determines whether or not, the document's delivery status is COMPLETED.
        Specified by:
        isDeliveryStatusCompleted in interface Header
        Returns:
        true if the object is in status COMPLETED, otherwise false.
      • isDeliveryStatusInProcess

        public boolean isDeliveryStatusInProcess()
        Description copied from interface: Header
        Determines whether or not, the document's delivery status is INPROCESS.
        Specified by:
        isDeliveryStatusInProcess in interface Header
        Returns:
        true if the object is in status INPROCESS, otherwise false.
      • isDeliveryStatusOpen

        public boolean isDeliveryStatusOpen()
        Description copied from interface: Header
        Determines whether or not, the document's delivery status is OPEN.
        Specified by:
        isDeliveryStatusOpen in interface Header
        Returns:
        true if the object is in status OPEN, otherwise false.
      • isDocumentTypeOrder

        public boolean isDocumentTypeOrder()
        Description copied from interface: Header
        Determines whether or not, the document's type is ORDER.
        Specified by:
        isDocumentTypeOrder in interface Header
        Returns:
        true if the type is ORDER, otherwise false.
      • isDocumentTypeQuotation

        public boolean isDocumentTypeQuotation()
        Description copied from interface: Header
        Determines whether or not, the document's type is QUOTATION.
        Specified by:
        isDocumentTypeQuotation in interface Header
        Returns:
        true if the type is QUOTATION, otherwise false.
      • isDocumentTypeRFQ

        public boolean isDocumentTypeRFQ()
        Description copied from interface: Header
        Determines whether or not, the document's type is RFQ.
        Specified by:
        isDocumentTypeRFQ in interface Header
        Returns:
        true if the type is RFQ, otherwise false.
      • setBillingStatus

        public void setBillingStatus​(BillingStatus billStatus)
        Description copied from interface: StatusObject
        Set the billing status for this object.
        Specified by:
        setBillingStatus in interface StatusObject
        Parameters:
        billStatus - Billing Status
      • setBillTo

        public void setBillTo​(BillTo billTo)
        Description copied from interface: Header
        Sets the Bill-To-Party into the the document.
        Specified by:
        setBillTo in interface Header
        Parameters:
        billTo - bill-to party
      • setDeliveryStatusCompleted

        public void setDeliveryStatusCompleted()
        Description copied from interface: Header
        Set DELIVERY status to completed
        Specified by:
        setDeliveryStatusCompleted in interface Header
      • setDeliveryStatusInProcess

        public void setDeliveryStatusInProcess()
        Description copied from interface: Header
        Set DELIVERY status to in process
        Specified by:
        setDeliveryStatusInProcess in interface Header
      • setDeliveryStatusOpen

        public void setDeliveryStatusOpen()
        Description copied from interface: Header
        Set DELIVERY status to open
        Specified by:
        setDeliveryStatusOpen in interface Header
      • setIncoTerms1

        public void setIncoTerms1​(java.lang.String incoTerms1)
        Description copied from interface: Header
        Set the incoterms1.
        Specified by:
        setIncoTerms1 in interface Header
        Parameters:
        incoTerms1 - the incoterms1 to be set.
      • setIncoTerms1Desc

        public void setIncoTerms1Desc​(java.lang.String incoTerms1Desc)
        Description copied from interface: Header
        Set the incoterms1 description
        Specified by:
        setIncoTerms1Desc in interface Header
        Parameters:
        incoTerms1Desc - the incoterms1 description to be set.
      • setIncoTerms2

        public void setIncoTerms2​(java.lang.String incoTerms2)
        Description copied from interface: Header
        Set the incoterms2.
        Specified by:
        setIncoTerms2 in interface Header
        Parameters:
        incoTerms2 - the incoterms2 to be set.
      • setIpcDocumentId

        public void setIpcDocumentId​(TechKey ipcDocumentId)
        Description copied from interface: Header
        Set the IPC document id.
        Specified by:
        setIpcDocumentId in interface Header
        Parameters:
        ipcDocumentId - the IPC document id to be set
      • setOverallStatus

        public void setOverallStatus​(OverallStatus procStatus)
        Description copied from interface: StatusObject
        Set the overall status for this object.
        Specified by:
        setOverallStatus in interface StatusObject
        Parameters:
        procStatus - Overall Status
      • setPaymentTerms

        public void setPaymentTerms​(java.lang.String paymentTerms)
        Description copied from interface: Header
        Set the payment terms.
        Specified by:
        setPaymentTerms in interface Header
        Parameters:
        paymentTerms - the payment terms to be set.
      • setPaymentTermsDesc

        public void setPaymentTermsDesc​(java.lang.String paymentTermsDesc)
        Description copied from interface: Header
        Set the payment terms description
        Specified by:
        setPaymentTermsDesc in interface Header
        Parameters:
        paymentTermsDesc - the payment terms description to be set.
      • setPricingDate

        public void setPricingDate​(java.util.Date pricingDate)
        Description copied from interface: Header
        Set the pricing date.
        Specified by:
        setPricingDate in interface Header
        Parameters:
        pricingDate - the pricing date
      • setRecallDesc

        public void setRecallDesc​(java.lang.String recallDesc)
        Description copied from interface: Header
        Sets the recall description
        Specified by:
        setRecallDesc in interface Header
        Parameters:
        recallDesc - the recall description
      • setRecallId

        public void setRecallId​(java.lang.String recallId)
        Description copied from interface: Header
        Sets the recall id
        Specified by:
        setRecallId in interface Header
        Parameters:
        recallId - the recall id
      • setShippingManualPriceCondition

        public void setShippingManualPriceCondition​(java.lang.String priceType)
        Description copied from interface: Header
        Sets the shipping manual price condition
        Specified by:
        setShippingManualPriceCondition in interface Header
        Parameters:
        priceType - new shipping manual price condition
      • setShipTo

        public void setShipTo​(ShipTo shipTo)
        Description copied from interface: Header
        Sets the default ship to for the header. This ship to is used, if no special information is set at the item level.
        Specified by:
        setShipTo in interface Header
        Parameters:
        shipTo - The ship to, to be set
      • setTotalManualPriceCondition

        public void setTotalManualPriceCondition​(java.lang.String priceType)
        Description copied from interface: Header
        Sets the total manual price condition
        Specified by:
        setTotalManualPriceCondition in interface Header
        Parameters:
        priceType - manual price conidtion
      • setUserStatusList

        public void setUserStatusList​(UserStatusList userStatusList)
        Sets list of user statuses
        Parameters:
        userStatusList -
      • toString

        public java.lang.String toString()
        Description copied from class: HeaderBaseImpl
        Returns a simplifies string representation of the object. Useful for debugging/logging purpose, but not for display on the User Interface.
        Overrides:
        toString in class HeaderBaseImpl
        Returns:
        object as string
      • getPaymentDeduction

        public java.math.BigDecimal getPaymentDeduction()
        Description copied from interface: Header
        Return the value that has to be deducted of the payment amount.
        Specified by:
        getPaymentDeduction in interface Header
        Returns:
        BigDecimal
      • setPaymentDeduction

        public void setPaymentDeduction​(java.math.BigDecimal value)
        Description copied from interface: Header
        Set the value that has to be deducted of the payment amount.
        Specified by:
        setPaymentDeduction in interface Header
        Parameters:
        value - amount to be deducted