List of all members | Public Member Functions | Public Slots | Signals | Static Public Member Functions | Protected Attributes | Protected Slots
salesOrder Class Reference

#include <salesOrder.h>

Public Member Functions

 salesOrder (QWidget *parent=0, const char *name=0, Qt::WFlags fl=Qt::Window)
 
 ~salesOrder ()
 
virtual Q_INVOKABLE int id ()
 
virtual Q_INVOKABLE int modeState () const
 
virtual Q_INVOKABLE int modeType () const
 
virtual Q_INVOKABLE bool save (bool partial)
 
virtual Q_INVOKABLE void setViewMode ()
 
- Public Member Functions inherited from XWidget
 XWidget (QWidget *parent=0, Qt::WindowFlags flags=0)
 
 XWidget (QWidget *parent, const char *name, Qt::WindowFlags flags=0)
 
 ~XWidget ()
 
virtual Q_INVOKABLE ParameterList get () const
 
- Public Member Functions inherited from Ui_salesOrder
void retranslateUi (QWidget *salesOrder)
 
void setupUi (QWidget *salesOrder)
 

Public Slots

virtual void clear ()
 
virtual void closeEvent (QCloseEvent *pEvent)
 
virtual void populate ()
 
virtual void populateCCInfo ()
 
virtual void populateCMInfo ()
 
virtual void populateOrderNumber ()
 
virtual void populateShipto (int pShiptoid)
 
virtual void sAction ()
 
virtual void sAllocateCreditMemos ()
 
virtual void sAuthorizeCC ()
 
virtual void sCalculateTax ()
 
virtual void sCalculateTotal ()
 
virtual void sChargeCC ()
 
virtual void sCheckValidContacts ()
 
virtual void sClear ()
 
virtual void sConvertShipTo ()
 
virtual void sCopyToShipto ()
 
virtual void sCreditAllocate ()
 
virtual void sDelete ()
 
virtual void sDeleteCharacteristic ()
 
virtual void sEdit ()
 
virtual void sEditCharacteristic ()
 
virtual void sEditCreditCard ()
 
virtual void sEnterCashPayment ()
 
virtual SetResponse set (const ParameterList &pParams)
 
virtual void setFreeFormShipto (bool pFreeForm)
 
virtual void sFillCcardList ()
 
virtual void sFillCharacteristic ()
 
virtual void sFillItemList ()
 
virtual void sFirm ()
 
virtual void sFreightChanged ()
 
virtual void sFreightDetail ()
 
virtual void sHandleButtons ()
 
virtual void sHandleMore ()
 
virtual void sHandleOrderNumber ()
 
virtual void sHandleSalesOrderEvent (int pSoheadid, bool)
 
virtual void sHandleShipchrg (int pShipchrgid)
 
virtual void sIssueLineBalance ()
 
virtual void sIssueStock ()
 
virtual void sMaintainPO ()
 
virtual void sMaintainWO ()
 
virtual void sMoveDown ()
 
virtual void sMoveUp ()
 
virtual void sNew ()
 
virtual void sNewCharacteristic ()
 
virtual void sNewCreditCard ()
 
virtual void sOrderDateChanged ()
 
virtual void sParseShipToNumber ()
 
virtual void sPopulateCustomerInfo (int pCustid)
 
virtual void sPopulateFOB (int pWarehousid)
 
virtual void sPopulateMenu (QMenu *pMenu)
 
virtual void sPopulateShipments ()
 
virtual void sRecalculatePrice ()
 
virtual void sReleasePR ()
 
virtual void sReserveLineBalance ()
 
virtual void sReserveStock ()
 
virtual void sReturnStock ()
 
virtual void sSave ()
 
virtual void sSaveAndAdd ()
 
virtual void sSetUserEnteredOrderNumber ()
 
virtual void sShipDateChanged ()
 
virtual void sShowReservations ()
 
virtual void sSoften ()
 
virtual void sTaxDetail ()
 
virtual void sTaxZoneChanged ()
 
virtual void sUnreserveStock ()
 
virtual void sViewCreditCard ()
 
virtual void sViewItemWorkbench ()
 
virtual void sViewPO ()
 
virtual void sViewPR ()
 
virtual void sViewWO ()
 
- Public Slots inherited from XWidget
virtual enum SetResponse set (const ParameterList &)
 

Signals

void newId (int)
 
void newModeState (int)
 
void newModeType (int)
 
void populated ()
 
void saved (int)
 

Static Public Member Functions

static Q_INVOKABLE bool deleteSalesOrder (int pId, QWidget *parent=0)
 Delete a Sales Order by internal id. More...
 
static Q_INVOKABLE void editSalesOrder (int pId, bool enableSaveAndAdd, QWidget *parent=0)
 
static Q_INVOKABLE void newSalesOrder (int pCustid, QWidget *parent=0)
 
static Q_INVOKABLE void viewSalesOrder (int pId, QWidget *parent=0)
 

Protected Attributes

dspShipmentsBySalesOrder_dspShipmentsBySalesOrder
 

Protected Slots

virtual void languageChange ()
 
virtual bool okToProcessCC ()
 
- Protected Slots inherited from XWidget
virtual enum SetResponse postSet ()
 

Additional Inherited Members

- Public Attributes inherited from Ui_salesOrder
QGridLayout * _2
 
QHBoxLayout * _3
 
QHBoxLayout * _4
 
QHBoxLayout * _5
 
QHBoxLayout * _6
 
QHBoxLayout * _7
 
QGridLayout * _8
 
QVBoxLayout * _9
 
QPushButton * _action
 
CurrDisplay_allocatedCM
 
XURLLabel_allocatedCMLit
 
QGroupBox_altAccnt
 
CurrDisplay_amountAtShipping
 
QLabel_amountAtShippingLit
 
DLineEdit_applDate
 
QLabel_applDateLit
 
CurrDisplay_authCC
 
QLabel_authCCLit
 
QPushButton * _authorize
 
CurrCluster_balance
 
QLabel_balanceLit
 
XComboBox_bankaccnt
 
AddressCluster_billToAddr
 
QGroupBox_billtoAddrGroup
 
ContactCluster_billToCntct
 
QGroupBox_billtoCntctGroup
 
XLineEdit_billToName
 
QLabel_billToNameLit
 
CurrCluster_cashBalance
 
QLabel_cashBalanceLit
 
QGroupBox_cashGroup
 
QWidget_cashPage
 
CurrCluster_cashReceived
 
QLabel_cashReceivedLit
 
CurrCluster_cashTotal
 
QLabel_cashTotalLit
 
XTreeWidget_cc
 
CurrCluster_CCAmount
 
QLabel_CCAmountLit
 
XLineEdit_CCCVV
 
QLabel_CCCVVLit
 
QWidget_characteristicsPage
 
XTreeWidget_charass
 
QPushButton * _charge
 
QPushButton * _clear
 
QPushButton * _close
 
Comments_comments
 
QWidget_commentsPage
 
XLineEdit_commission
 
QLabel_commissionLit
 
QLabel_commissionPrcntLit
 
QPushButton * _copyToShipto
 
QWidget_creditCardPage
 
CustCluster_cust
 
QFrame * _custFrame
 
QLabel_customerPOLit
 
XLineEdit_custPONumber
 
QPushButton * _delete
 
QPushButton * _deleteCharacteristic
 
DLineEdit_distDate
 
QLabel_distDateLit
 
DLineEdit_docDate
 
QGroupBox_docGroup
 
XLineEdit_docNumber
 
Documents_documents
 
QWidget_documentsTab
 
QLabel_doumentDateLit
 
QLabel_doumentNumberLit
 
QPushButton * _downCC
 
QPushButton * _edit
 
QPushButton * _editCC
 
QPushButton * _editCharacteristic
 
DLineEdit_expire
 
QLabel_expireLit
 
XLineEdit_fob
 
QLabel_fobLit
 
CurrCluster_freight
 
XURLLabel_freightLit
 
QLabel_fromQuote
 
QLabel_fromQuoteLit
 
XComboBox_fundsType
 
QWidget_headerPage
 
XComboBox_holdType
 
QLabel_holdTypeLit
 
QPushButton * _issueLineBalance
 
QPushButton * _issueStock
 
QWidget_lineItemsPage
 
CurrCluster_margin
 
QLabel_marginLit
 
CurrCluster_miscCharge
 
GLCluster_miscChargeAccount
 
QLabel_miscChargeAccountLit
 
QLabel_miscChargeAmountLit
 
XLineEdit_miscChargeDescription
 
QLabel_miscChargeDescriptionLit
 
QPushButton * _more
 
QPushButton * _new
 
QPushButton * _newCC
 
QPushButton * _newCharacteristic
 
QWidget_notesPage
 
OpportunityCluster_opportunity
 
QLabel_opportunityLit
 
XTextEdit_orderComments
 
QLabel_orderCommentsLit
 
XComboBox_orderCurrency
 
QLabel_orderCurrencyLit
 
DLineEdit_orderDate
 
QLabel_orderDateLit
 
XLineEdit_orderNumber
 
QLabel_orderNumberExtra
 
QLabel_orderNumberExtraLit
 
QLabel_orderNumberLit
 
CurrDisplay_outstandingCM
 
QLabel_outstandingCMLit
 
DLineEdit_packDate
 
QLabel_packDateLit
 
QTabWidget * _paymentInformation
 
QWidget_paymentPage
 
QPushButton * _postCash
 
QLabel_postToLit
 
QCheckBox_printSO
 
ProjectCluster_project
 
QLabel_projectLit
 
QLabel_quotestatusLit
 
XLineEdit_quotestaus
 
QWidget_relationshipsTab
 
QCheckBox_requireInventory
 
QPushButton * _reserveLineBalance
 
QPushButton * _reserveStock
 
XComboBox_salescat
 
QLabel_salescatLit
 
QTabWidget * _salesOrderInformation
 
XComboBox_salesRep
 
QLabel_salesRepLit
 
XComboBox_saleType
 
QLabel_saleTypeLit
 
QPushButton * _save
 
QPushButton * _saveAndAdd
 
QCheckBox_shipComplete
 
DLineEdit_shipDate
 
QLabel_shipDateLit
 
QWidget_shipmentsPage
 
XComboBox_shippingCharges
 
QLabel_shippingChargesLit
 
XTextEdit_shippingComments
 
QLabel_shippingCommentsLit
 
XComboBox_shippingForm
 
QLabel_shippingFormLit
 
QLabel_shippingWhseLit
 
XComboBox_shippingZone
 
QLabel_shippingZoneLit
 
ShiptoCluster_shipTo
 
AddressCluster_shipToAddr
 
ContactCluster_shipToCntct
 
QGroupBox_shiptoCntctGroup
 
QFrame * _shiptoFrame
 
XLineEdit_shipToName
 
QLabel_shipToNameLit
 
XComboBox_shipVia
 
QLabel_shipViaLit
 
QCheckBox_showCanceled
 
XTreeWidget_soitem
 
CurrDisplay_subtotal
 
QLabel_subtotalLit
 
CurrDisplay_tax
 
XURLLabel_taxLit
 
XComboBox_taxZone
 
QLabel_taxZoneLit
 
XComboBox_terms
 
QLabel_termsLit
 
CurrCluster_total
 
QLabel_totalLit
 
QLabel_typeLit
 
QPushButton * _upCC
 
QPushButton * _viewCC
 
WComboBox_warehouse
 
XLineEdit_weight
 
QLabel_weightLit
 
QGridLayout * gridLayout
 
QGridLayout * gridLayout1
 
QGridLayout * gridLayout2
 
QGridLayout * gridLayout3
 
QGridLayout * gridLayout4
 
QGridLayout * gridLayout5
 
QGridLayout * gridLayout6
 
QGridLayout * gridLayout7
 
QGridLayout * gridLayout8
 
QGridLayout * gridLayout_10
 
QGridLayout * gridLayout_11
 
QGridLayout * gridLayout_2
 
QGridLayout * gridLayout_3
 
QGridLayout * gridLayout_4
 
QGridLayout * gridLayout_5
 
QGridLayout * gridLayout_6
 
QGridLayout * gridLayout_7
 
QGridLayout * gridLayout_8
 
QGridLayout * gridLayout_9
 
QGroupBoxgroupBox_3
 
QHBoxLayout * hboxLayout
 
QHBoxLayout * hboxLayout1
 
QHBoxLayout * hboxLayout2
 
QHBoxLayout * hboxLayout3
 
QHBoxLayout * hboxLayout4
 
QHBoxLayout * hboxLayout5
 
QHBoxLayout * hboxLayout6
 
QHBoxLayout * horizontalLayout
 
QHBoxLayout * horizontalLayout_10
 
QHBoxLayout * horizontalLayout_2
 
QHBoxLayout * horizontalLayout_3
 
QHBoxLayout * horizontalLayout_4
 
QHBoxLayout * horizontalLayout_5
 
QHBoxLayout * horizontalLayout_6
 
QHBoxLayout * horizontalLayout_8
 
QHBoxLayout * horizontalLayout_9
 
QSpacerItem * horizontalSpacer
 
QSpacerItem * horizontalSpacer_2
 
QSpacerItem * horizontalSpacer_3
 
QSpacerItem * horizontalSpacer_4
 
QSpacerItem * spacerItem
 
QSpacerItem * spacerItem1
 
QSpacerItem * spacerItem10
 
QSpacerItem * spacerItem11
 
QSpacerItem * spacerItem12
 
QSpacerItem * spacerItem13
 
QSpacerItem * spacerItem14
 
QSpacerItem * spacerItem15
 
QSpacerItem * spacerItem16
 
QSpacerItem * spacerItem17
 
QSpacerItem * spacerItem18
 
QSpacerItem * spacerItem19
 
QSpacerItem * spacerItem2
 
QSpacerItem * spacerItem3
 
QSpacerItem * spacerItem4
 
QSpacerItem * spacerItem5
 
QSpacerItem * spacerItem6
 
QSpacerItem * spacerItem7
 
QSpacerItem * spacerItem8
 
QSpacerItem * spacerItem9
 
QVBoxLayout * vboxLayout
 
QVBoxLayout * vboxLayout1
 
QVBoxLayout * vboxLayout2
 
QVBoxLayout * vboxLayout3
 
QVBoxLayout * vboxLayout4
 
QVBoxLayout * verticalLayout
 
QVBoxLayout * verticalLayout_2
 
QVBoxLayout * verticalLayout_3
 
QVBoxLayout * verticalLayout_4
 
QVBoxLayout * verticalLayout_5
 
QSpacerItem * verticalSpacer
 
QSpacerItem * verticalSpacer_2
 
QSpacerItem * verticalSpacer_3
 
- Protected Member Functions inherited from XWidget
void closeEvent (QCloseEvent *event)
 
QScriptEngine * engine ()
 
void showEvent (QShowEvent *event)
 

Constructor & Destructor Documentation

salesOrder::salesOrder ( QWidget parent = 0,
const char *  name = 0,
Qt::WFlags  fl = Qt::Window 
)
salesOrder::~salesOrder ( )

Member Function Documentation

void salesOrder::clear ( )
virtualslot
void salesOrder::closeEvent ( QCloseEvent *  pEvent)
virtualslot
bool salesOrder::deleteSalesOrder ( int  pId,
QWidget parent = 0 
)
static

Delete a Sales Order by internal id.

deleteSalesOrder method deletes a single sales order given its id. This enforces the common rules of the user interface, such as asking whether the user really wants to delete the order and providing alternatives if the order cannot be deleted for business reasons.

Parameters
pIdThe internal id of the sales order to delete
parentThe parent window, if any, requesting the delete
Returns
true if the sales order was deleted or closed, otherwise false
void salesOrder::editSalesOrder ( int  pId,
bool  enableSaveAndAdd,
QWidget parent = 0 
)
static
virtual Q_INVOKABLE int salesOrder::id ( )
inlinevirtual
void salesOrder::languageChange ( )
protectedvirtualslot
int salesOrder::modeState ( ) const
virtual
Returns
one of cNew, cEdit, cView, ...
Todo:
change possible modes to an enum in guiclient.h (and add cUnknown?)
int salesOrder::modeType ( ) const
virtual
Returns
one of isOrder, isQuote, ...
void salesOrder::newId ( int  )
signal
void salesOrder::newModeState ( int  )
signal
void salesOrder::newModeType ( int  )
signal
void salesOrder::newSalesOrder ( int  pCustid,
QWidget parent = 0 
)
static
bool salesOrder::okToProcessCC ( )
protectedvirtualslot
void salesOrder::populate ( )
virtualslot
void salesOrder::populateCCInfo ( )
virtualslot
void salesOrder::populateCMInfo ( )
virtualslot
void salesOrder::populated ( )
signal
void salesOrder::populateOrderNumber ( )
virtualslot
void salesOrder::populateShipto ( int  pShiptoid)
virtualslot
void salesOrder::sAction ( )
virtualslot
void salesOrder::sAllocateCreditMemos ( )
virtualslot
void salesOrder::sAuthorizeCC ( )
virtualslot
bool salesOrder::save ( bool  partial)
virtual
void salesOrder::saved ( int  )
signal
void salesOrder::sCalculateTax ( )
virtualslot
void salesOrder::sCalculateTotal ( )
virtualslot
void salesOrder::sChargeCC ( )
virtualslot
void salesOrder::sCheckValidContacts ( )
virtualslot
void salesOrder::sClear ( )
virtualslot
void salesOrder::sConvertShipTo ( )
virtualslot
void salesOrder::sCopyToShipto ( )
virtualslot
void salesOrder::sCreditAllocate ( )
virtualslot
void salesOrder::sDelete ( )
virtualslot
void salesOrder::sDeleteCharacteristic ( )
virtualslot
void salesOrder::sEdit ( )
virtualslot
void salesOrder::sEditCharacteristic ( )
virtualslot
void salesOrder::sEditCreditCard ( )
virtualslot
void salesOrder::sEnterCashPayment ( )
virtualslot
enum SetResponse salesOrder::set ( const ParameterList &  pParams)
virtualslot
void salesOrder::setFreeFormShipto ( bool  pFreeForm)
virtualslot
void salesOrder::setViewMode ( )
virtual
void salesOrder::sFillCcardList ( )
virtualslot
void salesOrder::sFillCharacteristic ( )
virtualslot
void salesOrder::sFillItemList ( )
virtualslot
void salesOrder::sFirm ( )
virtualslot
void salesOrder::sFreightChanged ( )
virtualslot
void salesOrder::sFreightDetail ( )
virtualslot
void salesOrder::sHandleButtons ( )
virtualslot
void salesOrder::sHandleMore ( )
virtualslot
void salesOrder::sHandleOrderNumber ( )
virtualslot
void salesOrder::sHandleSalesOrderEvent ( int  pSoheadid,
bool   
)
virtualslot
void salesOrder::sHandleShipchrg ( int  pShipchrgid)
virtualslot
void salesOrder::sIssueLineBalance ( )
virtualslot
void salesOrder::sIssueStock ( )
virtualslot
void salesOrder::sMaintainPO ( )
virtualslot
void salesOrder::sMaintainWO ( )
virtualslot
void salesOrder::sMoveDown ( )
virtualslot
void salesOrder::sMoveUp ( )
virtualslot
void salesOrder::sNew ( )
virtualslot
void salesOrder::sNewCharacteristic ( )
virtualslot
void salesOrder::sNewCreditCard ( )
virtualslot
void salesOrder::sOrderDateChanged ( )
virtualslot
void salesOrder::sParseShipToNumber ( )
virtualslot
void salesOrder::sPopulateCustomerInfo ( int  pCustid)
virtualslot
void salesOrder::sPopulateFOB ( int  pWarehousid)
virtualslot
void salesOrder::sPopulateMenu ( QMenu *  pMenu)
virtualslot
void salesOrder::sPopulateShipments ( )
virtualslot
void salesOrder::sRecalculatePrice ( )
virtualslot
void salesOrder::sReleasePR ( )
virtualslot
void salesOrder::sReserveLineBalance ( )
virtualslot
void salesOrder::sReserveStock ( )
virtualslot
void salesOrder::sReturnStock ( )
virtualslot
void salesOrder::sSave ( )
virtualslot
void salesOrder::sSaveAndAdd ( )
virtualslot
void salesOrder::sSetUserEnteredOrderNumber ( )
virtualslot
void salesOrder::sShipDateChanged ( )
virtualslot
void salesOrder::sShowReservations ( )
virtualslot
void salesOrder::sSoften ( )
virtualslot
void salesOrder::sTaxDetail ( )
virtualslot
void salesOrder::sTaxZoneChanged ( )
virtualslot
void salesOrder::sUnreserveStock ( )
virtualslot
void salesOrder::sViewCreditCard ( )
virtualslot
void salesOrder::sViewItemWorkbench ( )
virtualslot
void salesOrder::sViewPO ( )
virtualslot
void salesOrder::sViewPR ( )
virtualslot
void salesOrder::sViewWO ( )
virtualslot
void salesOrder::viewSalesOrder ( int  pId,
QWidget parent = 0 
)
static

Member Data Documentation

dspShipmentsBySalesOrder* salesOrder::_dspShipmentsBySalesOrder
protected

The documentation for this class was generated from the following files:

Generated on Fri Oct 7 2016 14:23:32 xTuple ERP Programmer Reference, Version 4.2.0 doxygen 1.8.10