Class HeaderSalesDocument
java.lang.Object
de.hybris.platform.sap.core.bol.businessobject.BusinessObjectBase
de.hybris.platform.sap.sapordermgmtbol.transaction.header.businessobject.impl.SimpleHeaderImpl
de.hybris.platform.sap.sapordermgmtbol.transaction.header.businessobject.impl.HeaderBaseImpl
de.hybris.platform.sap.sapordermgmtbol.transaction.header.businessobject.impl.HeaderSalesDocument
- All Implemented Interfaces:
BackendAware,BusinessObject,MessageListHolder,StatusObject,Header,HeaderBase,SimpleHeader,Serializable,Cloneable
Common Header Information for all objects of the bo layer that are considered to be sales documents.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DatePricing dateprotected StringService recall descriptionprotected StringService recall IDprotected UserStatusListList of user statusFields inherited from class de.hybris.platform.sap.sapordermgmtbol.transaction.header.businessobject.impl.HeaderBaseImpl
changeable, changedAt, createdAt, currency, deliveryPriority, disChannel, division, documentType, freightValue, grossValue, grossValueWOFreight, netValue, netValueWOFreight, partnerList, postingDate, predecessorList, processType, processTypeDesc, purchaseOrderExt, reqDeliveryDate, salesDocNumber, salesDocumentsOrigin, salesOffice, salesOrg, shipCond, successorList, taxValue, totalDiscount, totalValue, validFrom, validToFields inherited from class de.hybris.platform.sap.core.bol.businessobject.BusinessObjectBase
backendObject, backendType, bobMessages, bobState, extensionData, genericFactory, handle, moduleConfigurationAccess, techKeyFields inherited from interface de.hybris.platform.sap.sapordermgmtbol.transaction.header.businessobject.interf.Header
NO_DELIVERY_PRIORITY, NO_OF_ITEMS_UNKNOWNFields inherited from interface de.hybris.platform.sap.sapordermgmtbol.transaction.header.businessobject.interf.HeaderBase
DOCUMENT_COMPLETION_STATUS_COMPLETED, DOCUMENT_COMPLETION_STATUS_INPROCESS, DOCUMENT_COMPLETION_STATUS_OPENFields inherited from interface de.hybris.platform.sap.core.common.message.MessageListHolder
INVALID, VALID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Drops the state of the object.clone()Instead of a shallow-copy this returns a deep-copy of this HeaderBaseImpl instance.Gets the billing status of the Document.Gets the Bill-To-Party of the documentGet DELIVERY status.Get the incoterms1Get the incoterms1 descriptionGet the incoterms2.Get the IPC document id.get the aggregated overall statusReturn the value that has to be deducted of the payment amount.get the payment typesGet the payment terms description.Get the pricing dateReturns the recall descriptionReturns the recall idReturns shipping manual price conditionget the business statusGet the ship to information as an backend layer interface.Returns total manual price conditionbooleanDetermines whether or not, the document's delivery status is COMPLETED.booleanDetermines whether or not, the document's delivery status is INPROCESS.booleanDetermines whether or not, the document's delivery status is OPEN.booleanDetermines whether or not, the document's type is ORDER.booleanDetermines whether or not, the document's type is QUOTATION.booleanDetermines whether or not, the document's type is RFQ.voidsetBillingStatus(BillingStatus billStatus) Set the billing status for this object.voidSets the Bill-To-Party into the the document.voidSet DELIVERY status to completedvoidSet DELIVERY status to in processvoidSet DELIVERY status to openvoidsetIncoTerms1(String incoTerms1) Set the incoterms1.voidsetIncoTerms1Desc(String incoTerms1Desc) Set the incoterms1 descriptionvoidsetIncoTerms2(String incoTerms2) Set the incoterms2.voidsetIpcDocumentId(TechKey ipcDocumentId) Set the IPC document id.voidsetOverallStatus(OverallStatus procStatus) Set the overall status for this object.voidsetPaymentDeduction(BigDecimal value) Set the value that has to be deducted of the payment amount.voidsetPaymentTerms(String paymentTerms) Set the payment terms.voidsetPaymentTermsDesc(String paymentTermsDesc) Set the payment terms descriptionvoidsetPricingDate(Date pricingDate) Set the pricing date.voidsetRecallDesc(String recallDesc) Sets the recall descriptionvoidsetRecallId(String recallId) Sets the recall idvoidsetShippingManualPriceCondition(String priceType) Sets the shipping manual price conditionvoidsetShippingStatus(ShippingStatus shipStatus) Set the shipping status for this object.voidSets the default ship to for the header.voidsetTotalManualPriceCondition(String priceType) Sets the total manual price conditionvoidsetUserStatusList(UserStatusList userStatusList) Sets list of user statusestoString()Returns a simplifies string representation of the object.Methods inherited from class de.hybris.platform.sap.sapordermgmtbol.transaction.header.businessobject.impl.HeaderBaseImpl
addPredecessor, addSuccessor, consolidateDate, createConnectedDocument, createText, getChangedAt, getCreatedAt, getCurrency, getDeliveryPriority, getDisChannel, getDivision, getDocumentType, getFreightValue, getGrossValue, getGrossValueWOFreight, getNetValue, getNetValueWOFreight, getPartnerId, getPartnerKey, getPartnerList, getPostingDate, getPredecessorList, getProcessType, getProcessTypeDesc, getPurchaseOrderExt, getReqDeliveryDate, getSalesDocNumber, getSalesDocumentsOrigin, getSalesOffice, getSalesOrg, getShipCond, getSuccessorList, getTaxValue, getTotalDiscount, getValidFrom, getValidTo, isChangeable, setChangeable, setChangedAt, setCreatedAt, setCurrency, setDeliveryPriority, setDisChannel, setDivision, setDocumentType, setFreightValue, setGrossValue, setGrossValueWOFreight, setNetValue, setNetValueWOFreight, setPartnerList, setPostingDate, setProcessType, setProcessTypeDesc, setPurchaseOrderExt, setReqDeliveryDate, setSalesDocNumber, setSalesDocumentsOrigin, setSalesOffice, setSalesOrg, setShipCond, setTaxValue, setTechKey, setTotalDiscount, setValidFrom, setValidToMethods inherited from class de.hybris.platform.sap.sapordermgmtbol.transaction.header.businessobject.impl.SimpleHeaderImpl
getDescription, getText, getTypedExtensionMap, isDirty, setDescription, setDirty, setTextMethods inherited from class de.hybris.platform.sap.core.bol.businessobject.BusinessObjectBase
addExtensionData, addMessage, clearMessages, clearMessages, clearOwnMessages, copyMessages, copyMessages, createUniqueHandle, destroy, determineBackendObject, equals, getBackendBusinessObject, getBackendBusinessObject, getBackendType, getExtensionData, getExtensionDataValues, getExtensionMap, getHandle, getMessageList, getModuleConfigurationAccess, getOwnMessageList, getSubObjectIterator, getTechKey, hasHandle, hashCode, hasMessages, hasOwnMessages, init, isValid, logMessage, removeExtensionData, removeExtensionDataValues, setBackendObject, setBackendType, setExtensionMap, setGenericFactory, setHandle, setInvalid, setModuleConfigurationAccess, setValidMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface de.hybris.platform.sap.core.bol.businessobject.BusinessObject
addExtensionData, clearMessages, clearOwnMessages, copyMessages, copyMessages, createUniqueHandle, destroy, getExtensionData, getExtensionDataValues, getExtensionMap, getHandle, getOwnMessageList, getSubObjectIterator, getTechKey, hasHandle, hasMessages, hasOwnMessages, init, isValid, logMessage, removeExtensionData, removeExtensionDataValues, setExtensionMap, setHandle, setInvalid, setTechKey, setValidMethods inherited from interface de.hybris.platform.sap.sapordermgmtbol.transaction.header.businessobject.interf.HeaderBase
addPredecessor, addSuccessor, createConnectedDocument, createText, getChangedAt, getCreatedAt, getCurrency, getDeliveryPriority, getDisChannel, getDivision, getDocumentType, getFreightValue, getGrossValue, getGrossValueWOFreight, getNetValue, getNetValueWOFreight, getPartnerId, getPartnerKey, getPartnerList, getPostingDate, getPredecessorList, getProcessType, getProcessTypeDesc, getPurchaseOrderExt, getReqDeliveryDate, getSalesDocNumber, getSalesDocumentsOrigin, getSalesOffice, getSalesOrg, getShipCond, getSuccessorList, getTaxValue, getTotalDiscount, getValidFrom, getValidTo, isChangeable, setChangeable, setChangedAt, setCreatedAt, setCurrency, setDeliveryPriority, setDisChannel, setDivision, setDocumentType, setFreightValue, setGrossValue, setGrossValueWOFreight, setNetValue, setNetValueWOFreight, setPartnerList, setPostingDate, setProcessType, setProcessTypeDesc, setPurchaseOrderExt, setReqDeliveryDate, setSalesDocNumber, setSalesDocumentsOrigin, setSalesOffice, setSalesOrg, setShipCond, setTaxValue, setTotalDiscount, setValidFrom, setValidToMethods inherited from interface de.hybris.platform.sap.core.common.message.MessageListHolder
addMessage, clearMessages, getMessageListMethods inherited from interface de.hybris.platform.sap.sapordermgmtbol.transaction.header.businessobject.interf.SimpleHeader
getDescription, getText, getTypedExtensionMap, isDirty, setDescription, setDirty, setText
-
Field Details
-
recallId
Service recall ID -
recallDesc
Service recall description -
userStatusList
List of user status -
pricingDate
Pricing date
-
-
Constructor Details
-
HeaderSalesDocument
public HeaderSalesDocument()
-
-
Method Details
-
clear
public void clear()Description copied from class:HeaderBaseImplDrops 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:
clearin interfaceSimpleHeader- Overrides:
clearin classHeaderBaseImpl
-
clone
Description copied from class:HeaderBaseImplInstead of a shallow-copy this returns a deep-copy of this HeaderBaseImpl instance.- Specified by:
clonein interfaceHeaderBase- Overrides:
clonein classHeaderBaseImpl- Returns:
- a deep-copy of this HeaderBase
-
getBillingStatus
Description copied from interface:HeaderGets the billing status of the Document.- Specified by:
getBillingStatusin interfaceHeader- Returns:
- Billing status
-
getBillTo
Description copied from interface:HeaderGets the Bill-To-Party of the document -
getDeliveryStatus
Description copied from interface:HeaderGet DELIVERY status. Might be different from OVERALL status.- Specified by:
getDeliveryStatusin interfaceHeader- Returns:
- one of the possible status values represented by the constants defined in this class with the names
DOCUMENT_COMPLETION_*.
-
getIncoTerms1
Description copied from interface:HeaderGet the incoterms1- Specified by:
getIncoTerms1in interfaceHeader- Returns:
- String the incoterms1
-
getIncoTerms1Desc
Description copied from interface:HeaderGet the incoterms1 description- Specified by:
getIncoTerms1Descin interfaceHeader- Returns:
- String the incoterms1 description
-
getIncoTerms2
Description copied from interface:HeaderGet the incoterms2.- Specified by:
getIncoTerms2in interfaceHeader- Returns:
- String the incoterms2.
-
getIpcDocumentId
Description copied from interface:HeaderGet the IPC document id.- Specified by:
getIpcDocumentIdin interfaceHeader- Returns:
- the IPC document id
-
getOverallStatus
Description copied from interface:Headerget the aggregated overall status- Specified by:
getOverallStatusin interfaceHeader- Returns:
- overall status
-
getPaymentTerms
Description copied from interface:Headerget the payment types- Specified by:
getPaymentTermsin interfaceHeader- Returns:
- payment types
-
getPaymentTermsDesc
Description copied from interface:HeaderGet the payment terms description.- Specified by:
getPaymentTermsDescin interfaceHeader- Returns:
- String the payment terms description.
-
getPricingDate
Description copied from interface:HeaderGet the pricing date- Specified by:
getPricingDatein interfaceHeader- Returns:
- the pricing date
-
getRecallDesc
Description copied from interface:HeaderReturns the recall description- Specified by:
getRecallDescin interfaceHeader- Returns:
- the recall description
-
getRecallId
Description copied from interface:HeaderReturns the recall id- Specified by:
getRecallIdin interfaceHeader- Returns:
- the recall id
-
getShippingManualPriceCondition
Description copied from interface:HeaderReturns shipping manual price condition- Specified by:
getShippingManualPriceConditionin interfaceHeader- Returns:
- shipping manual price condition
-
getShippingStatus
Description copied from interface:Headerget the business status- Specified by:
getShippingStatusin interfaceHeader- Returns:
- business status
-
getShipTo
Description copied from interface:HeaderGet the ship to information as an backend layer interface. -
getTotalManualPriceCondition
Description copied from interface:HeaderReturns total manual price condition- Specified by:
getTotalManualPriceConditionin interfaceHeader- Returns:
- total manual price condition
-
isDeliveryStatusCompleted
public boolean isDeliveryStatusCompleted()Description copied from interface:HeaderDetermines whether or not, the document's delivery status is COMPLETED.- Specified by:
isDeliveryStatusCompletedin interfaceHeader- Returns:
trueif the object is in status COMPLETED, otherwisefalse.
-
isDeliveryStatusInProcess
public boolean isDeliveryStatusInProcess()Description copied from interface:HeaderDetermines whether or not, the document's delivery status is INPROCESS.- Specified by:
isDeliveryStatusInProcessin interfaceHeader- Returns:
trueif the object is in status INPROCESS, otherwisefalse.
-
isDeliveryStatusOpen
public boolean isDeliveryStatusOpen()Description copied from interface:HeaderDetermines whether or not, the document's delivery status is OPEN.- Specified by:
isDeliveryStatusOpenin interfaceHeader- Returns:
trueif the object is in status OPEN, otherwisefalse.
-
isDocumentTypeOrder
public boolean isDocumentTypeOrder()Description copied from interface:HeaderDetermines whether or not, the document's type is ORDER.- Specified by:
isDocumentTypeOrderin interfaceHeader- Returns:
trueif the type is ORDER, otherwisefalse.
-
isDocumentTypeQuotation
public boolean isDocumentTypeQuotation()Description copied from interface:HeaderDetermines whether or not, the document's type is QUOTATION.- Specified by:
isDocumentTypeQuotationin interfaceHeader- Returns:
trueif the type is QUOTATION, otherwisefalse.
-
isDocumentTypeRFQ
public boolean isDocumentTypeRFQ()Description copied from interface:HeaderDetermines whether or not, the document's type is RFQ.- Specified by:
isDocumentTypeRFQin interfaceHeader- Returns:
trueif the type is RFQ, otherwisefalse.
-
setBillingStatus
Description copied from interface:StatusObjectSet the billing status for this object.- Specified by:
setBillingStatusin interfaceStatusObject- Parameters:
billStatus- Billing Status
-
setBillTo
Description copied from interface:HeaderSets the Bill-To-Party into the the document. -
setDeliveryStatusCompleted
public void setDeliveryStatusCompleted()Description copied from interface:HeaderSet DELIVERY status to completed- Specified by:
setDeliveryStatusCompletedin interfaceHeader
-
setDeliveryStatusInProcess
public void setDeliveryStatusInProcess()Description copied from interface:HeaderSet DELIVERY status to in process- Specified by:
setDeliveryStatusInProcessin interfaceHeader
-
setDeliveryStatusOpen
public void setDeliveryStatusOpen()Description copied from interface:HeaderSet DELIVERY status to open- Specified by:
setDeliveryStatusOpenin interfaceHeader
-
setIncoTerms1
Description copied from interface:HeaderSet the incoterms1.- Specified by:
setIncoTerms1in interfaceHeader- Parameters:
incoTerms1- the incoterms1 to be set.
-
setIncoTerms1Desc
Description copied from interface:HeaderSet the incoterms1 description- Specified by:
setIncoTerms1Descin interfaceHeader- Parameters:
incoTerms1Desc- the incoterms1 description to be set.
-
setIncoTerms2
Description copied from interface:HeaderSet the incoterms2.- Specified by:
setIncoTerms2in interfaceHeader- Parameters:
incoTerms2- the incoterms2 to be set.
-
setIpcDocumentId
Description copied from interface:HeaderSet the IPC document id.- Specified by:
setIpcDocumentIdin interfaceHeader- Parameters:
ipcDocumentId- the IPC document id to be set
-
setOverallStatus
Description copied from interface:StatusObjectSet the overall status for this object.- Specified by:
setOverallStatusin interfaceStatusObject- Parameters:
procStatus- Overall Status
-
setPaymentTerms
Description copied from interface:HeaderSet the payment terms.- Specified by:
setPaymentTermsin interfaceHeader- Parameters:
paymentTerms- the payment terms to be set.
-
setPaymentTermsDesc
Description copied from interface:HeaderSet the payment terms description- Specified by:
setPaymentTermsDescin interfaceHeader- Parameters:
paymentTermsDesc- the payment terms description to be set.
-
setPricingDate
Description copied from interface:HeaderSet the pricing date.- Specified by:
setPricingDatein interfaceHeader- Parameters:
pricingDate- the pricing date
-
setRecallDesc
Description copied from interface:HeaderSets the recall description- Specified by:
setRecallDescin interfaceHeader- Parameters:
recallDesc- the recall description
-
setRecallId
Description copied from interface:HeaderSets the recall id- Specified by:
setRecallIdin interfaceHeader- Parameters:
recallId- the recall id
-
setShippingManualPriceCondition
Description copied from interface:HeaderSets the shipping manual price condition- Specified by:
setShippingManualPriceConditionin interfaceHeader- Parameters:
priceType- new shipping manual price condition
-
setShippingStatus
Description copied from interface:StatusObjectSet the shipping status for this object.- Specified by:
setShippingStatusin interfaceStatusObject- Parameters:
shipStatus- Shipping Status
-
setShipTo
Description copied from interface:HeaderSets the default ship to for the header. This ship to is used, if no special information is set at the item level. -
setTotalManualPriceCondition
Description copied from interface:HeaderSets the total manual price condition- Specified by:
setTotalManualPriceConditionin interfaceHeader- Parameters:
priceType- manual price conidtion
-
setUserStatusList
Sets list of user statuses- Parameters:
userStatusList-
-
toString
Description copied from class:HeaderBaseImplReturns a simplifies string representation of the object. Useful for debugging/logging purpose, but not for display on the User Interface.- Overrides:
toStringin classHeaderBaseImpl- Returns:
- object as string
-
getPaymentDeduction
Description copied from interface:HeaderReturn the value that has to be deducted of the payment amount.- Specified by:
getPaymentDeductionin interfaceHeader- Returns:
- BigDecimal
-
setPaymentDeduction
Description copied from interface:HeaderSet the value that has to be deducted of the payment amount.- Specified by:
setPaymentDeductionin interfaceHeader- Parameters:
value- amount to be deducted
-