org.opencrx.kernel.contract1.jpa3
Class SalesOrder
java.lang.Object
org.oasisopen.jdo2.Identifiable
org.w3c.jpa3.AbstractObject
org.opencrx.kernel.contract1.jpa3.AbstractContract
org.opencrx.kernel.contract1.jpa3.SalesOrder
- All Implemented Interfaces:
- Serializable, AlertSender, Assignable, Auditee, Cloneable, Exporter, Importer, Indexed, SecureObject, AbstractContract, AddressContainer, DeliveryRequestContainer, SalesOrder, ShippingDetail, DepotReferenceHolder, CrxObject, AspectCapable, BasicObject, ContextCapable, Creatable, ExtentCapable, Modifiable
public class SalesOrder
- extends AbstractContract
- implements SalesOrder
Class SalesOrder
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from class org.w3c.jpa3.AbstractObject |
org.w3c.jpa3.AbstractObject.EmbeddedList<E>, org.w3c.jpa3.AbstractObject.EmbeddedSet<E>, org.w3c.jpa3.AbstractObject.Slice |
| Methods inherited from class org.opencrx.kernel.contract1.jpa3.AbstractContract |
getAccessGrantedByParent_Id, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getActiveOn, getActivity_Id, getActivity, getAdditionalExternalLink, getAddress, getAssignedAccount, getAttachedDocument, getAudit, getBroker_Id, getBroker, getCalcRule_Id, getCalcRule, getCancelOn, getCarrier_Id, getCarrier, getCategory, getClosedOn, getCompetitor_Id, getCompetitor, getContact_Id, getContact, getContext, getContractCurrency, getContractLanguage, getContractNumber, getContractState, getCreatedAt, getCreatedBy, getCustomer_Id, getCustomer, getDeliveryRequest, getDepotReference, getDescription, getDisabledReason, getDocumentFolderAssignment, getExpiresOn, getExternalLink, getGiftMessage, getIdentity, getIndexEntry, getInventoryCb_Id, getInventoryCb, getLinkFrom, getLinkTo, getMedia, getModifiedAt, getModifiedBy, getName, getNote, getOrigin_Id, getOrigin, getOwner, getOwningGroup_Id, getOwningGroup, getOwningUser_Id, getOwningUser, getPaymentTerms, getPositionModification, getPricingDate, getPricingRule_Id, getPricingRule, getPricingState, getPriority, getPropertySet, getPropertySetEntry, getRating, getRemovedPosition, getSalesRep_Id, getSalesRep, getShippingInstructions, getShippingMethod, getShippingTrackingNumber, getSupplier_Id, getSupplier, getTotalAmount, getTotalAmountIncludingTax, getTotalBaseAmount, getTotalDiscountAmount, getTotalSalesCommission, getTotalTaxAmount, getUserBoolean4, getUserCode0, getUserCode1, getUserCode2, getUserCode3, getUserCode4, getUserDate0, getUserDate1, getUserDate2, getUserDate3, getUserDate4, getUserDateTime0, getUserDateTime1, getUserDateTime2, getUserDateTime3, getUserDateTime4, getUserNumber0, getUserNumber1, getUserNumber2, getUserNumber3, getUserNumber4, getUserString0, getUserString1, getUserString2, getUserString3, getUserString4, isDisabled, isGift, isUserBoolean0, isUserBoolean1, isUserBoolean2, isUserBoolean3, newAbstractContract$Slice, openmdxjdoGetObjectId, openmdxjdoGetSlices, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setActiveOn, setBroker_Id, setBroker, setCalcRule_Id, setCalcRule, setCancelOn, setCarrier_Id, setCarrier, setCategory, setClosedOn, setContractCurrency, setContractLanguage, setContractNumber, setContractState, setCustomer_Id, setCustomer, setDescription, setDisabled, setDisabledReason, setExpiresOn, setExternalLink, setGift, setGiftMessage, setName, setOrigin_Id, setOrigin, setOwningUser_Id, setOwningUser, setPaymentTerms, setPricingDate, setPricingRule_Id, setPricingRule, setPriority, setSalesRep_Id, setSalesRep, setShippingInstructions, setShippingMethod, setShippingTrackingNumber, setSupplier_Id, setSupplier, setUserBoolean0, setUserBoolean1, setUserBoolean2, setUserBoolean3, setUserBoolean4, setUserCode0, setUserCode1, setUserCode2, setUserCode3, setUserCode4, setUserDate0, setUserDate1, setUserDate2, setUserDate3, setUserDate4, setUserDateTime0, setUserDateTime1, setUserDateTime2, setUserDateTime3, setUserDateTime4, setUserNumber0, setUserNumber1, setUserNumber2, setUserNumber3, setUserNumber4, setUserString0, setUserString1, setUserString2, setUserString3, setUserString4 |
| Methods inherited from class org.w3c.jpa3.AbstractObject |
openmdxjdoClassName, openmdxjdoGetList, openmdxjdoGetObjectsByParent, openmdxjdoGetSet, openmdxjdoGetSparseArray, openmdxjdoNewMap, openmdxjdoNewSlice, openmdxjdoSetArray, openmdxjdoSetCollection, openmdxjdoToArray, openmdxjdoToArray, openmdxjdoValidateElement |
| Methods inherited from class org.oasisopen.jdo2.Identifiable |
jdoClass, modelClasses, openmdxjdoGetObject, openmdxjdoGetObjectById, openmdxjdoGetObjectId, openmdxjdoGetObjectSet |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.opencrx.kernel.contract1.cci2.AbstractContract |
getActiveOn, getActivity, getAssignedAccount, getBroker, getCalcRule, getCancelOn, getClosedOn, getCompetitor, getContact, getContractCurrency, getContractLanguage, getContractNumber, getContractState, getCustomer, getDescription, getExpiresOn, getInventoryCb, getLinkFrom, getLinkTo, getName, getOrigin, getPaymentTerms, getPositionModification, getPricingDate, getPricingRule, getPricingState, getPriority, getRemovedPosition, getSalesRep, getSupplier, getTotalAmount, getTotalAmountIncludingTax, getTotalBaseAmount, getTotalDiscountAmount, getTotalSalesCommission, getTotalTaxAmount, setActiveOn, setBroker, setCalcRule, setCancelOn, setClosedOn, setContractCurrency, setContractLanguage, setContractNumber, setContractState, setCustomer, setDescription, setExpiresOn, setName, setOrigin, setPaymentTerms, setPricingDate, setPricingRule, setPriority, setSalesRep, setSupplier |
| Methods inherited from interface org.opencrx.kernel.contract1.cci2.ShippingDetail |
getCarrier, getGiftMessage, getShippingInstructions, getShippingMethod, getShippingTrackingNumber, isGift, setCarrier, setGift, setGiftMessage, setShippingInstructions, setShippingMethod, setShippingTrackingNumber |
| Methods inherited from interface org.opencrx.kernel.generic.cci2.CrxObject |
getAdditionalExternalLink, getAttachedDocument, getCategory, getDisabledReason, getDocumentFolderAssignment, getExternalLink, getMedia, getNote, getPropertySet, getPropertySetEntry, getRating, getUserBoolean4, getUserCode0, getUserCode1, getUserCode2, getUserCode3, getUserCode4, getUserDate0, getUserDate1, getUserDate2, getUserDate3, getUserDate4, getUserDateTime0, getUserDateTime1, getUserDateTime2, getUserDateTime3, getUserDateTime4, getUserNumber0, getUserNumber1, getUserNumber2, getUserNumber3, getUserNumber4, getUserString0, getUserString1, getUserString2, getUserString3, getUserString4, isDisabled, isUserBoolean0, isUserBoolean1, isUserBoolean2, isUserBoolean3, setCategory, setDisabled, setDisabledReason, setExternalLink, setUserBoolean0, setUserBoolean1, setUserBoolean2, setUserBoolean3, setUserBoolean4, setUserCode0, setUserCode1, setUserCode2, setUserCode3, setUserCode4, setUserDate0, setUserDate1, setUserDate2, setUserDate3, setUserDate4, setUserDateTime0, setUserDateTime1, setUserDateTime2, setUserDateTime3, setUserDateTime4, setUserNumber0, setUserNumber1, setUserNumber2, setUserNumber3, setUserNumber4, setUserString0, setUserString1, setUserString2, setUserString3, setUserString4 |
| Methods inherited from interface org.opencrx.kernel.base.cci2.Auditee |
getAudit |
| Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject |
getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwner, getOwningGroup, getOwningUser, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser |
CLASS
public static final List<String> CLASS
- Define the model class
org::opencrx::kernel::contract1::SalesOrder
BASE_CLASS
public static final List<String> BASE_CLASS
- Define this class as base class
- See Also:
SalesOrder.CLASS
SalesOrder
public SalesOrder()
- Constructor
updateInventory
public UpdateInventoryResult updateInventory()
- Specified by:
updateInventory in interface AbstractContract- Overrides:
updateInventory in class AbstractContract
removeAllOwningGroup
public ModifySecureObjectResult removeAllOwningGroup(RemoveAllOwningGroupParams in)
- Specified by:
removeAllOwningGroup in interface SecureObject- Overrides:
removeAllOwningGroup in class AbstractContract
setOwningUser
public ModifySecureObjectResult setOwningUser(SetOwningUserParams in)
- Specified by:
setOwningUser in interface SecureObject- Overrides:
setOwningUser in class AbstractContract
clone_
public CloneResult clone_(CloneParams in)
- Specified by:
clone_ in interface Cloneable- Overrides:
clone_ in class AbstractContract
addOwningGroup
public ModifySecureObjectResult addOwningGroup(ModifyOwningGroupParams in)
- Specified by:
addOwningGroup in interface SecureObject- Overrides:
addOwningGroup in class AbstractContract
setAccessLevel
public ModifySecureObjectResult setAccessLevel(SetAccessLevelParams in)
- Specified by:
setAccessLevel in interface SecureObject- Overrides:
setAccessLevel in class AbstractContract
replaceOwningGroup
public ModifySecureObjectResult replaceOwningGroup(ModifyOwningGroupsParams in)
- Specified by:
replaceOwningGroup in interface SecureObject- Overrides:
replaceOwningGroup in class AbstractContract
getPosition
public <T extends AbstractSalesOrderPosition> SalesOrderContainsSalesOrderPosition.Position<T> getPosition()
- Retrieves a set containing all the elements for the reference
position.
- Specified by:
getPosition in interface SalesOrder
- Returns:
- A set containing all the elements for this reference.
createInvoice
public SalesOrderCreateInvoiceResult createInvoice()
- Specified by:
createInvoice in interface SalesOrder
assignToMe
public Void assignToMe()
- Specified by:
assignToMe in interface Assignable- Overrides:
assignToMe in class AbstractContract
getSubmitStatusDescription
public final String getSubmitStatusDescription()
- Retrieves the possibly null value for the optional attribute
submitStatusDescription.
- Specified by:
getSubmitStatusDescription in interface SalesOrder
- Returns:
- The possibly null value for attribute
submitStatusDescription.
setSubmitStatusDescription
public void setSubmitStatusDescription(String submitStatusDescription)
- Sets a new value for the attribute
submitStatusDescription.
- Specified by:
setSubmitStatusDescription in interface SalesOrder
- Parameters:
submitStatusDescription - The possibly null new value for attribute submitStatusDescription.
updateIndex
public UpdateIndexResult updateIndex()
- Specified by:
updateIndex in interface Indexed- Overrides:
updateIndex in class AbstractContract
exportItem
public ExportItemResult exportItem(ExportItemParams in)
- Specified by:
exportItem in interface Exporter- Overrides:
exportItem in class AbstractContract
removePendingInventoryBookings
public Void removePendingInventoryBookings()
- Specified by:
removePendingInventoryBookings in interface AbstractContract- Overrides:
removePendingInventoryBookings in class AbstractContract
getInvoice
public <T extends Invoice> List<T> getInvoice()
- Retrieves the
Collection of objects referenced by invoice.
- Specified by:
getInvoice in interface SalesOrder
- Returns:
- The
Collection of referenced objects.
getInvoice_Id
public List<String> getInvoice_Id()
getSubmitDate
public final Date getSubmitDate()
- Retrieves the possibly null value for the optional attribute
submitDate.
- Specified by:
getSubmitDate in interface SalesOrder
- Returns:
- The possibly null value for attribute
submitDate.
setSubmitDate
public void setSubmitDate(Date submitDate)
- Sets a new value for the attribute
submitDate.
- Specified by:
setSubmitDate in interface SalesOrder
- Parameters:
submitDate - The possibly null new value for attribute submitDate.
importItem
public ImportResult importItem(ImportParams in)
- Specified by:
importItem in interface Importer- Overrides:
importItem in class AbstractContract
removeOwningGroup
public ModifySecureObjectResult removeOwningGroup(ModifyOwningGroupParams in)
- Specified by:
removeOwningGroup in interface SecureObject- Overrides:
removeOwningGroup in class AbstractContract
getFreightTerms
public short getFreightTerms()
- Retrieves the value for the attribute
freightTerms.
- Specified by:
getFreightTerms in interface SalesOrder
- Returns:
- The non-null value for attribute
freightTerms.
setFreightTerms
public void setFreightTerms(short freightTerms)
- Sets a new value for the attribute
freightTerms.
- Specified by:
setFreightTerms in interface SalesOrder
- Parameters:
freightTerms - The non-null new value for attribute freightTerms.
markAsClosed
public Void markAsClosed(SalesOrderMarkAsClosedParams in)
- Specified by:
markAsClosed in interface SalesOrder
getSubmitStatus
public final Short getSubmitStatus()
- Retrieves the possibly null value for the optional attribute
submitStatus.
- Specified by:
getSubmitStatus in interface SalesOrder
- Returns:
- The possibly null value for attribute
submitStatus.
setSubmitStatus
public void setSubmitStatus(Short submitStatus)
- Sets a new value for the attribute
submitStatus.
- Specified by:
setSubmitStatus in interface SalesOrder
- Parameters:
submitStatus - The possibly null new value for attribute submitStatus.
exportItemAdvanced
public ExportItemResult exportItemAdvanced(ExportItemAdvancedParams in)
- Specified by:
exportItemAdvanced in interface Exporter- Overrides:
exportItemAdvanced in class AbstractContract
checkPermissions
public CheckPermissionsResult checkPermissions(CheckPermissionsParams in)
- Specified by:
checkPermissions in interface SecureObject- Overrides:
checkPermissions in class AbstractContract
createPosition
public CreatePositionResult createPosition(CreatePositionParams in)
- Specified by:
createPosition in interface AbstractContract- Overrides:
createPosition in class AbstractContract
reprice
public Void reprice()
- Specified by:
reprice in interface AbstractContract- Overrides:
reprice in class AbstractContract
sendAlert
public Void sendAlert(SendAlertParams in)
- Specified by:
sendAlert in interface AlertSender- Overrides:
sendAlert in class AbstractContract
openmdxjdoGetSize
protected int openmdxjdoGetSize(int field)
- Overrides:
openmdxjdoGetSize in class AbstractContract
openmdxjdoSetSize
protected void openmdxjdoSetSize(int field,
int size)
- Overrides:
openmdxjdoSetSize in class AbstractContract
newSalesOrder$Slice
protected org.w3c.jpa3.AbstractObject.Slice newSalesOrder$Slice(int index)
openmdxjdoGetClass
protected List<String> openmdxjdoGetClass()
- Retrieve the model class
- Overrides:
openmdxjdoGetClass in class AbstractContract
- Returns:
- the model class
- See Also:
SalesOrder.CLASS
setSegment
public void setSegment(Segment segment)
- Sets a new value for the reference
segment.
- Parameters:
segment - The non-null new value for this reference.
setSegment_Id
public void setSegment_Id(String segment)
This software is published under the BSD license. Copyright © 2003-2009, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.