public interface SalesContract extends SalesContract, AbstractContract
SalesContract
Modifier and Type | Method and Description |
---|---|
void |
addPositionModification(boolean idIsPersistent,
String id,
PositionModification positionModification)
Adds the specified element to the set of the values for the reference
positionModification . |
void |
addPositionModification(PositionModification positionModification)
Adds the specified element to the set of the values for the reference
positionModification using an implementation-specific, reassignable qualifier. |
void |
addPositionModification(String id,
PositionModification positionModification)
Adds the specified element to the set of the values for the reference
positionModification using a reassignable qualifier. |
void |
addRemovedPosition(AbstractRemovedPosition removedPosition)
Adds the specified element to the set of the values for the reference
removedPosition using an implementation-specific, reassignable qualifier. |
void |
addRemovedPosition(boolean idIsPersistent,
String id,
AbstractRemovedPosition removedPosition)
Adds the specified element to the set of the values for the reference
removedPosition . |
void |
addRemovedPosition(String id,
AbstractRemovedPosition removedPosition)
Adds the specified element to the set of the values for the reference
removedPosition using a reassignable qualifier. |
CreatePositionResult |
createPosition(CreatePositionParams in) |
Account |
getBroker()
Retrieves the value for the reference
broker . |
CalculationRule |
getCalcRule()
Retrieves the value for the reference
calcRule . |
Account |
getCustomer()
Retrieves the value for the reference
customer . |
PositionModification |
getPositionModification(boolean idIsPersistent,
String id)
Retrieves the value for the reference
positionModification for the specified qualifier attribute value. |
<T extends PositionModification> |
getPositionModification(PositionModificationQuery query)
Retrieves the value for the reference
positionModification for the specified query. |
PositionModification |
getPositionModification(String id)
Retrieves the value for the reference
positionModification for the specified qualifier attribute value. |
PricingRule |
getPricingRule()
Retrieves the value for the reference
pricingRule . |
<T extends AbstractRemovedPosition> |
getRemovedPosition(AbstractRemovedPositionQuery query)
Retrieves the value for the reference
removedPosition for the specified query. |
AbstractRemovedPosition |
getRemovedPosition(boolean idIsPersistent,
String id)
Retrieves the value for the reference
removedPosition for the specified qualifier attribute value. |
AbstractRemovedPosition |
getRemovedPosition(String id)
Retrieves the value for the reference
removedPosition for the specified qualifier attribute value. |
Account |
getSalesRep()
Retrieves the value for the reference
salesRep . |
SalesTaxTypeGroup |
getSalesTaxTypeGroup()
Retrieves the value for the reference
salesTaxTypeGroup . |
Account |
getSupplier()
Retrieves the value for the reference
supplier . |
org.openmdx.base.jmi1.Void |
recalc() |
org.openmdx.base.jmi1.Void |
reprice() |
void |
setBroker(Account broker)
Sets a new value for the reference
broker . |
void |
setCalcRule(CalculationRule calcRule)
Sets a new value for the reference
calcRule . |
void |
setCustomer(Account customer)
Sets a new value for the reference
customer . |
void |
setPricingRule(PricingRule pricingRule)
Sets a new value for the reference
pricingRule . |
void |
setSalesRep(Account salesRep)
Sets a new value for the reference
salesRep . |
void |
setSalesTaxTypeGroup(SalesTaxTypeGroup salesTaxTypeGroup)
Sets a new value for the reference
salesTaxTypeGroup . |
void |
setSupplier(Account supplier)
Sets a new value for the reference
supplier . |
createPosition, getCompetitor, getContractCurrency, getFreightTerms, getInventoryCb, getPaymentTerms, getPositionModification, getPricingDate, getPricingState, getRemovedPosition, getSubmitDate, getSubmitStatus, getSubmitStatusDescription, getTotalAmount, getTotalAmountIncludingTax, getTotalBaseAmount, getTotalDiscountAmount, getTotalSalesCommission, getTotalTaxAmount, isNoAutoRecalc, setContractCurrency, setFreightTerms, setNoAutoRecalc, setPaymentTerms, setPricingDate, setPricingState, setSubmitDate, setSubmitStatus, setSubmitStatusDescription, setTotalAmount, setTotalAmountIncludingTax, setTotalBaseAmount, setTotalDiscountAmount, setTotalSalesCommission, setTotalTaxAmount
addAssignedAccount, addAssignedAccount, addAssignedAccount, addGroupAssignment, addGroupAssignment, addGroupAssignment, addLinkTo, addLinkTo, addLinkTo, getAssignedAccount, getAssignedAccount, getAssignedAccount, getContractRole, getContractType, getGroupAssignment, getGroupAssignment, getGroupAssignment, getLastAppliedCreator, getLinkFrom, getLinkFrom, getLinkFrom, getLinkTo, getLinkTo, getLinkTo, getOrigin, reapplyContractCreator, setContractRole, setContractType, setLastAppliedCreator, setOrigin
getActiveOn, getActivity, getAssignedAccount, getCancelOn, getClosedOn, getContact, getContractLanguage, getContractNumber, getContractState, getDescription, getExpiresOn, getGroupAssignment, getLinkFrom, getLinkTo, getName, getPriority, reapplyContractCreator, setActiveOn, setCancelOn, setClosedOn, setContractLanguage, setContractNumber, setContractRole, setContractState, setDescription, setExpiresOn, setName, setPriority
assignToMe
addAddress, addAddress, addAddress, getAddress, getAddress, getAddress
getAddress
addDeliveryRequest, addDeliveryRequest, addDeliveryRequest, getDeliveryRequest, getDeliveryRequest, getDeliveryRequest
getDeliveryRequest
getCarrier, setCarrier
getGiftMessage, getShippingInstructions, getShippingMethod, getShippingTrackingNumber, isGift, setGift, setGiftMessage, setShippingInstructions, setShippingMethod, setShippingTrackingNumber
addBookingEntry, addBookingEntry, addBookingEntry, addCompoundBooking, addCompoundBooking, addCompoundBooking, getBookingEntry, getBookingEntry, getBookingEntry, getCompoundBooking
getBookingEntry, getCompoundBooking
addDepotReference, addDepotReference, addDepotReference, getDepotReference, getDepotReference, getDepotReference
getDepotReference
addAdditionalExternalLink, addAdditionalExternalLink, addAdditionalExternalLink, addAttachedDocument, addAttachedDocument, addAttachedDocument, addDocumentFolderAssignment, addDocumentFolderAssignment, addDocumentFolderAssignment, addInvolvedObject, addInvolvedObject, addInvolvedObject, addMedia, addMedia, addMedia, addNote, addNote, addNote, addPropertySet, addPropertySet, addPropertySet, addRating, addRating, addRating, disableCrxObject, enableCrxObject, getAdditionalExternalLink, getAdditionalExternalLink, getAdditionalExternalLink, getAssignedTimer, getAssignedTimer, getAssignedTimer, getAttachedDocument, getAttachedDocument, getAttachedDocument, getCategory, getDocumentFolderAssignment, getDocumentFolderAssignment, getDocumentFolderAssignment, getExternalLink, getInvolvedObject, getInvolvedObject, getInvolvedObject, getMedia, getMedia, getMedia, getNote, getNote, getNote, getPropertySet, getPropertySet, getPropertySet, getPropertySetEntry, getPropertySetEntry, getPropertySetEntry, getRating, getRating, getRating, getUserBoolean4, getUserCode4, getUserDate4, getUserDateTime4, getUserNumber4, getUserString4, setCategory, setExternalLink, setUserBoolean4, setUserCode4, setUserDate4, setUserDateTime4, setUserNumber4, setUserString4
disableCrxObject, enableCrxObject, getAdditionalExternalLink, getAssignedTimer, getAttachedDocument, getDisabledReason, getDocumentFolderAssignment, getInvolvedObject, getMedia, getNote, getPropertySet, getPropertySetEntry, getRating, getUserCode0, getUserCode1, getUserCode2, getUserCode3, getUserDate0, getUserDate1, getUserDate2, getUserDate3, getUserDateTime0, getUserDateTime1, getUserDateTime2, getUserDateTime3, getUserNumber0, getUserNumber1, getUserNumber2, getUserNumber3, getUserString0, getUserString1, getUserString2, getUserString3, 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
sendAlert
sendAlert
exportItem
exportItem
importItem
importItem
getIndexEntry, getIndexEntry, getIndexEntry, updateIndex
getIndexEntry, updateIndex
addOwningGroup, checkPermissions, getOwner, getOwningUser, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setOwner, setOwningUser, setOwningUser
addOwningGroup, checkPermissions, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwningGroup, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwner, setOwningUser
addLocalizedField, addLocalizedField, addLocalizedField, getLocalizedField, getLocalizedField, getLocalizedField
getLocalizedField
refDefaultFetchGroup, refDelegate, refGetPath, refGetValue, refInitialize, refInitialize, refSetValue
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
getExtCode0, getExtCode1, getExtCode2, getExtCode3, getExtCode4, getExtDate0, getExtDate1, getExtDate2, getExtDate3, getExtDate4, getExtDateTime0, getExtDateTime1, getExtDateTime2, getExtDateTime3, getExtDateTime4, getExtNumber0, getExtNumber1, getExtNumber2, getExtNumber3, getExtNumber4, getExtString0, getExtString1, getExtString2, getExtString3, getExtString4, isExtBoolean0, isExtBoolean1, isExtBoolean2, isExtBoolean3, isExtBoolean4, setExtBoolean0, setExtBoolean1, setExtBoolean2, setExtBoolean3, setExtBoolean4, setExtCode0, setExtCode1, setExtCode2, setExtCode3, setExtCode4, setExtDate0, setExtDate1, setExtDate2, setExtDate3, setExtDate4, setExtDateTime0, setExtDateTime1, setExtDateTime2, setExtDateTime3, setExtDateTime4, setExtNumber0, setExtNumber1, setExtNumber2, setExtNumber3, setExtNumber4, setExtString0, setExtString1, setExtString2, setExtString3, setExtString4
Account getBroker()
broker
.getBroker
in interface SalesContract
null
– value for this reference.void setBroker(Account broker)
broker
.setBroker
in interface SalesContract
broker
- The new – possibly null
– value for this reference.CalculationRule getCalcRule()
calcRule
.getCalcRule
in interface SalesContract
null
– value for this reference.void setCalcRule(CalculationRule calcRule)
calcRule
.setCalcRule
in interface SalesContract
calcRule
- The new – possibly null
– value for this reference.CreatePositionResult createPosition(CreatePositionParams in)
Account getCustomer()
customer
.getCustomer
in interface SalesContract
null
– value for this reference.void setCustomer(Account customer)
customer
.setCustomer
in interface SalesContract
customer
- The new – possibly null
– value for this reference.<T extends PositionModification> List<T> getPositionModification(PositionModificationQuery query)
positionModification
for the specified query.
Note: This is an extension to the JMI 1 standard.java.jdo.Query
query
- predicate which is applied to the set of referenced objects.true
.PositionModification getPositionModification(boolean idIsPersistent, String id)
positionModification
for the specified qualifier attribute value.
idIsPersistent
- Defines whether value for the qualifier is persistent or notid
- The value for the qualifier attribute that qualifies this reference.PositionModification getPositionModification(String id)
positionModification
for the specified qualifier attribute value.
This method is equivalent to the preferred invocation getPositionModification(false,id)
.
id
- The value for the qualifier attribute that qualifies this reference.void addPositionModification(boolean idIsPersistent, String id, PositionModification positionModification)
positionModification
.
Note: This is an extension to the JMI 1 standard.
idIsPersistent
- true
if id
is persistentid
- The qualifier attribute value that qualifies the reference to get the element to be appended.positionModification
- The element to be appended.void addPositionModification(String id, PositionModification positionModification)
positionModification
using a reassignable qualifier.
Note: This is an extension to the JMI 1 standard.
id
- The qualifier attribute value that qualifies the reference to get the element to be appended.positionModification
- The element to be appended.void addPositionModification(PositionModification positionModification)
positionModification
using an implementation-specific, reassignable qualifier.
Note: This is an extension to the JMI 1 standard.
positionModification
- The element to be appended.PricingRule getPricingRule()
pricingRule
.getPricingRule
in interface SalesContract
null
– value for this reference.void setPricingRule(PricingRule pricingRule)
pricingRule
.setPricingRule
in interface SalesContract
pricingRule
- The new – possibly null
– value for this reference.org.openmdx.base.jmi1.Void recalc()
recalc
in interface SalesContract
<T extends AbstractRemovedPosition> List<T> getRemovedPosition(AbstractRemovedPositionQuery query)
removedPosition
for the specified query.
Note: This is an extension to the JMI 1 standard.java.jdo.Query
query
- predicate which is applied to the set of referenced objects.true
.AbstractRemovedPosition getRemovedPosition(boolean idIsPersistent, String id)
removedPosition
for the specified qualifier attribute value.
idIsPersistent
- Defines whether value for the qualifier is persistent or notid
- The value for the qualifier attribute that qualifies this reference.AbstractRemovedPosition getRemovedPosition(String id)
removedPosition
for the specified qualifier attribute value.
This method is equivalent to the preferred invocation getRemovedPosition(false,id)
.
id
- The value for the qualifier attribute that qualifies this reference.void addRemovedPosition(boolean idIsPersistent, String id, AbstractRemovedPosition removedPosition)
removedPosition
.
Note: This is an extension to the JMI 1 standard.
idIsPersistent
- true
if id
is persistentid
- The qualifier attribute value that qualifies the reference to get the element to be appended.removedPosition
- The element to be appended.void addRemovedPosition(String id, AbstractRemovedPosition removedPosition)
removedPosition
using a reassignable qualifier.
Note: This is an extension to the JMI 1 standard.
id
- The qualifier attribute value that qualifies the reference to get the element to be appended.removedPosition
- The element to be appended.void addRemovedPosition(AbstractRemovedPosition removedPosition)
removedPosition
using an implementation-specific, reassignable qualifier.
Note: This is an extension to the JMI 1 standard.
removedPosition
- The element to be appended.org.openmdx.base.jmi1.Void reprice()
reprice
in interface SalesContract
Account getSalesRep()
salesRep
.getSalesRep
in interface SalesContract
null
– value for this reference.void setSalesRep(Account salesRep)
salesRep
.setSalesRep
in interface SalesContract
salesRep
- The new – possibly null
– value for this reference.SalesTaxTypeGroup getSalesTaxTypeGroup()
salesTaxTypeGroup
.getSalesTaxTypeGroup
in interface SalesContract
null
– value for this reference.void setSalesTaxTypeGroup(SalesTaxTypeGroup salesTaxTypeGroup)
salesTaxTypeGroup
.setSalesTaxTypeGroup
in interface SalesContract
salesTaxTypeGroup
- The new – possibly null
– value for this reference.Account getSupplier()
supplier
.getSupplier
in interface SalesContract
null
– value for this reference.void setSupplier(Account supplier)
supplier
.setSupplier
in interface SalesContract
supplier
- The new – possibly null
– value for this reference.This software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.