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

#include <creditMemo.h>

Inheritance diagram for creditMemo:
XWidget Ui::creditMemo QWidget ScriptablePrivate Ui_creditMemo ScriptableWidget

Public Slots

virtual void closeEvent (QCloseEvent *pEvent)
 
virtual void populate ()
 
virtual void populateShipto (int pShiptoid)
 
virtual void sCalculateSubtotal ()
 
virtual void sCalculateTotal ()
 
virtual void sCheckCreditMemoNumber ()
 
virtual void sConvertShipto ()
 
virtual void sCopyToShipto ()
 
virtual void sDelete ()
 
virtual void sEdit ()
 
virtual SetResponse set (const ParameterList &pParams)
 
virtual void sFillList ()
 
virtual void sFreightChanged ()
 
virtual void sInvoiceList ()
 
virtual void sMiscChargeChanged ()
 
virtual void sMiscTaxtypeChanged ()
 
virtual void sNew ()
 
virtual void sPopulateCustomerInfo ()
 
virtual void sReleaseNumber ()
 
virtual void sSave ()
 
virtual void sTaxZoneChanged ()
 
virtual void sView ()
 

Signals

void newId (int)
 
void newMode (int)
 
void populated ()
 

Public Member Functions

 creditMemo (QWidget *parent=0, const char *name=0, Qt::WindowFlags fl=Qt::Window)
 
 ~creditMemo ()
 
virtual Q_INVOKABLE ParameterList get () const
 
virtual Q_INVOKABLE int id () const
 
virtual Q_INVOKABLE int mode () const
 
void retranslateUi (QWidget *creditMemo)
 
virtual void setNumber ()
 
void setupUi (QWidget *creditMemo)
 

Public Attributes

AddressCluster_billToAddr
 
QGroupBox_billToGroup
 
XLineEdit_billtoName
 
QLabel_billtoNameLit
 
QPushButton * _close
 
XTreeWidget_cmitem
 
XTextEdit_comments
 
XLineEdit_commission
 
QLabel_commissionLit
 
QLabel_commissionPrcntLit
 
QPushButton * _copyToShipto
 
QTabWidget * _creditMemoInformation
 
XComboBox_currency
 
QLabel_currencyLit
 
CustCluster_cust
 
XLineEdit_customerPO
 
QLabel_customerPOLit
 
QPushButton * _delete
 
Documents_documents
 
QWidget_documentsTab
 
QPushButton * _edit
 
CurrCluster_freight
 
QLabel_freightLit
 
XComboBox_freightTaxtype
 
QLabel_freightTaxtypeLit
 
QWidget_headerTab
 
QCheckBox_hold
 
QPushButton * _invoiceList
 
InvoiceLineEdit_invoiceNumber
 
QWidget_itemsTab
 
DLineEdit_memoDate
 
QLabel_memoDateLit
 
XLineEdit_memoNumber
 
QLabel_memoNumberLit
 
CurrCluster_miscCharge
 
GLCluster_miscChargeAccount
 
QLabel_miscChargeAccountLit
 
QLabel_miscChargeAmountLit
 
XLineEdit_miscChargeDescription
 
QLabel_miscChargeDescriptionLit
 
XCheckBox_miscChargeDiscount
 
XComboBox_miscChargeTaxtype
 
QLabel_miscChargeTaxtypeLit
 
QPushButton * _new
 
QWidget_notesTab
 
ProjectCluster_project
 
XComboBox_rsnCode
 
QLabel_rsnCodeLit
 
XComboBox_salesRep
 
QLabel_salesRepLit
 
XComboBox_saleType
 
QLabel_saleTypeLit
 
QPushButton * _save
 
XComboBox_shippingZone
 
QLabel_shippingZoneLit
 
ShiptoCluster_shipTo
 
AddressCluster_shipToAddr
 
QGroupBox_shipToGroup
 
XLineEdit_shipToName
 
QLabel_shipToNameLit
 
XComboBox_shipVia
 
QLabel_shipViaLit
 
QLabel_status
 
QLabel_statusLit
 
CurrDisplay_subtotal
 
QLabel_subtotalLit
 
TaxDisplay_tax
 
TaxExemptCluster_taxExempt
 
QLabel_taxExemptLit
 
XLabel_taxLit
 
XComboBox_taxzone
 
QLabel_taxzoneLit
 
CurrCluster_total
 
QLabel_totalLit
 
WComboBox_warehouse
 
QLabel_warehouseLit
 
QGridLayout * gridLayout
 
QGridLayout * gridLayout1
 
QGridLayout * gridLayout2
 
QGridLayout * gridLayout_2
 
QGridLayout * gridLayout_3
 
QGridLayout * gridLayout_4
 
QGridLayout * gridLayout_5
 
QHBoxLayout * hboxLayout
 
QHBoxLayout * hboxLayout1
 
QHBoxLayout * hboxLayout10
 
QHBoxLayout * hboxLayout11
 
QHBoxLayout * hboxLayout12
 
QHBoxLayout * hboxLayout2
 
QHBoxLayout * hboxLayout3
 
QHBoxLayout * hboxLayout4
 
QHBoxLayout * hboxLayout5
 
QHBoxLayout * hboxLayout6
 
QHBoxLayout * hboxLayout7
 
QHBoxLayout * hboxLayout8
 
QHBoxLayout * hboxLayout9
 
QHBoxLayout * horizontalLayout
 
QLabellblApplyToLit
 
QSpacerItem * spacerItem
 
QSpacerItem * spacerItem1
 
QSpacerItem * spacerItem10
 
QSpacerItem * spacerItem11
 
QSpacerItem * spacerItem12
 
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
 

Protected Slots

virtual void languageChange ()
 
virtual enum SetResponse postSet ()
 
virtual bool save (bool, bool=false)
 

Protected Member Functions

virtual void callCloseEvent (QEvent *)
 
virtual enum SetResponse callSet (const ParameterList &)
 
virtual void callShowEvent (QEvent *)
 
virtual QScriptEngine * engine ()
 
virtual void loadScript (const QString &oName)
 
virtual void loadScript (const QStringList &list)
 
virtual void loadScriptEngine ()
 
virtual Q_INVOKABLE bool setScriptableParams (ParameterList &)
 
void showEvent (QShowEvent *event)
 

Protected Attributes

QScriptEngineDebugger * _debugger
 
QScriptEngine * _engine
 
ParameterList _lastSetParams
 
QAction_rememberPos
 
QAction_rememberSize
 
bool _scriptLoaded
 
QWidget_self
 
QAction_showMe
 
bool _shown
 

Static Protected Attributes

static ScriptCache_cache
 
static GuiClientInterface_guiClientInterface
 

Constructor & Destructor Documentation

◆ creditMemo()

creditMemo::creditMemo ( QWidget parent = 0,
const char *  name = 0,
Qt::WindowFlags  fl = Qt::Window 
)

◆ ~creditMemo()

creditMemo::~creditMemo ( )

Member Function Documentation

◆ callCloseEvent()

void ScriptablePrivate::callCloseEvent ( QEvent *  event)
virtualinherited

◆ callSet()

enum SetResponse ScriptablePrivate::callSet ( const ParameterList &  params)
virtualinherited

◆ callShowEvent()

void ScriptablePrivate::callShowEvent ( QEvent *  event)
virtualinherited

◆ closeEvent

void creditMemo::closeEvent ( QCloseEvent *  pEvent)
virtualslot

◆ engine()

QScriptEngine * ScriptablePrivate::engine ( )
virtualinherited

Reimplemented from ScriptableWidget.

◆ get()

ParameterList XWidget::get ( ) const
virtualinherited

Implements ScriptablePrivate.

◆ id()

int creditMemo::id ( ) const
virtual

◆ languageChange

void creditMemo::languageChange ( )
protectedvirtualslot

◆ loadScript() [1/2]

void ScriptableWidget::loadScript ( const QString &  oName)
virtualinherited

◆ loadScript() [2/2]

void ScriptableWidget::loadScript ( const QStringList &  list)
virtualinherited

◆ loadScriptEngine()

void ScriptableWidget::loadScriptEngine ( )
virtualinherited

◆ mode()

int creditMemo::mode ( ) const
virtual

◆ newId

void creditMemo::newId ( int  )
signal

◆ newMode

void creditMemo::newMode ( int  )
signal

◆ populate

void creditMemo::populate ( )
virtualslot

◆ populated

void creditMemo::populated ( )
signal

◆ populateShipto

void creditMemo::populateShipto ( int  pShiptoid)
virtualslot

◆ postSet

enum SetResponse XWidget::postSet ( )
protectedvirtualslotinherited

◆ retranslateUi()

void Ui_creditMemo::retranslateUi ( QWidget creditMemo)
inlineinherited

◆ save

bool creditMemo::save ( bool  partial,
bool  report = false 
)
protectedvirtualslot

◆ sCalculateSubtotal

void creditMemo::sCalculateSubtotal ( )
virtualslot

◆ sCalculateTotal

void creditMemo::sCalculateTotal ( )
virtualslot

◆ sCheckCreditMemoNumber

void creditMemo::sCheckCreditMemoNumber ( )
virtualslot

◆ sConvertShipto

void creditMemo::sConvertShipto ( )
virtualslot

◆ sCopyToShipto

void creditMemo::sCopyToShipto ( )
virtualslot

◆ sDelete

void creditMemo::sDelete ( )
virtualslot

◆ sEdit

void creditMemo::sEdit ( )
virtualslot

◆ set

enum SetResponse creditMemo::set ( const ParameterList &  pParams)
virtualslot

◆ setNumber()

void creditMemo::setNumber ( )
virtual

◆ setScriptableParams()

bool ScriptableWidget::setScriptableParams ( ParameterList &  params)
virtualinherited

◆ setupUi()

void Ui_creditMemo::setupUi ( QWidget creditMemo)
inlineinherited

◆ sFillList

void creditMemo::sFillList ( )
virtualslot

◆ sFreightChanged

void creditMemo::sFreightChanged ( )
virtualslot

◆ showEvent()

void XWidget::showEvent ( QShowEvent *  event)
protectedinherited

◆ sInvoiceList

void creditMemo::sInvoiceList ( )
virtualslot

◆ sMiscChargeChanged

void creditMemo::sMiscChargeChanged ( )
virtualslot

◆ sMiscTaxtypeChanged

void creditMemo::sMiscTaxtypeChanged ( )
virtualslot

◆ sNew

void creditMemo::sNew ( )
virtualslot

◆ sPopulateCustomerInfo

void creditMemo::sPopulateCustomerInfo ( )
virtualslot

◆ sReleaseNumber

void creditMemo::sReleaseNumber ( )
virtualslot

◆ sSave

void creditMemo::sSave ( )
virtualslot

◆ sTaxZoneChanged

void creditMemo::sTaxZoneChanged ( )
virtualslot

◆ sView

void creditMemo::sView ( )
virtualslot

Member Data Documentation

◆ _billToAddr

AddressCluster* Ui_creditMemo::_billToAddr
inherited

◆ _billToGroup

QGroupBox* Ui_creditMemo::_billToGroup
inherited

◆ _billtoName

XLineEdit* Ui_creditMemo::_billtoName
inherited

◆ _billtoNameLit

QLabel* Ui_creditMemo::_billtoNameLit
inherited

◆ _cache

ScriptCache * ScriptableWidget::_cache
staticprotectedinherited

◆ _close

QPushButton* Ui_creditMemo::_close
inherited

◆ _cmitem

XTreeWidget* Ui_creditMemo::_cmitem
inherited

◆ _comments

XTextEdit* Ui_creditMemo::_comments
inherited

◆ _commission

XLineEdit* Ui_creditMemo::_commission
inherited

◆ _commissionLit

QLabel* Ui_creditMemo::_commissionLit
inherited

◆ _commissionPrcntLit

QLabel* Ui_creditMemo::_commissionPrcntLit
inherited

◆ _copyToShipto

QPushButton* Ui_creditMemo::_copyToShipto
inherited

◆ _creditMemoInformation

QTabWidget* Ui_creditMemo::_creditMemoInformation
inherited

◆ _currency

XComboBox* Ui_creditMemo::_currency
inherited

◆ _currencyLit

QLabel* Ui_creditMemo::_currencyLit
inherited

◆ _cust

CustCluster* Ui_creditMemo::_cust
inherited

◆ _customerPO

XLineEdit* Ui_creditMemo::_customerPO
inherited

◆ _customerPOLit

QLabel* Ui_creditMemo::_customerPOLit
inherited

◆ _debugger

QScriptEngineDebugger* ScriptableWidget::_debugger
protectedinherited

◆ _delete

QPushButton* Ui_creditMemo::_delete
inherited

◆ _documents

Documents* Ui_creditMemo::_documents
inherited

◆ _documentsTab

QWidget* Ui_creditMemo::_documentsTab
inherited

◆ _edit

QPushButton* Ui_creditMemo::_edit
inherited

◆ _engine

QScriptEngine* ScriptableWidget::_engine
protectedinherited

◆ _freight

CurrCluster* Ui_creditMemo::_freight
inherited

◆ _freightLit

QLabel* Ui_creditMemo::_freightLit
inherited

◆ _freightTaxtype

XComboBox* Ui_creditMemo::_freightTaxtype
inherited

◆ _freightTaxtypeLit

QLabel* Ui_creditMemo::_freightTaxtypeLit
inherited

◆ _guiClientInterface

GuiClientInterface * ScriptableWidget::_guiClientInterface
staticinherited

◆ _headerTab

QWidget* Ui_creditMemo::_headerTab
inherited

◆ _hold

QCheckBox* Ui_creditMemo::_hold
inherited

◆ _invoiceList

QPushButton* Ui_creditMemo::_invoiceList
inherited

◆ _invoiceNumber

InvoiceLineEdit* Ui_creditMemo::_invoiceNumber
inherited

◆ _itemsTab

QWidget* Ui_creditMemo::_itemsTab
inherited

◆ _lastSetParams

ParameterList ScriptablePrivate::_lastSetParams
inherited

◆ _memoDate

DLineEdit* Ui_creditMemo::_memoDate
inherited

◆ _memoDateLit

QLabel* Ui_creditMemo::_memoDateLit
inherited

◆ _memoNumber

XLineEdit* Ui_creditMemo::_memoNumber
inherited

◆ _memoNumberLit

QLabel* Ui_creditMemo::_memoNumberLit
inherited

◆ _miscCharge

CurrCluster* Ui_creditMemo::_miscCharge
inherited

◆ _miscChargeAccount

GLCluster* Ui_creditMemo::_miscChargeAccount
inherited

◆ _miscChargeAccountLit

QLabel* Ui_creditMemo::_miscChargeAccountLit
inherited

◆ _miscChargeAmountLit

QLabel* Ui_creditMemo::_miscChargeAmountLit
inherited

◆ _miscChargeDescription

XLineEdit* Ui_creditMemo::_miscChargeDescription
inherited

◆ _miscChargeDescriptionLit

QLabel* Ui_creditMemo::_miscChargeDescriptionLit
inherited

◆ _miscChargeDiscount

XCheckBox* Ui_creditMemo::_miscChargeDiscount
inherited

◆ _miscChargeTaxtype

XComboBox* Ui_creditMemo::_miscChargeTaxtype
inherited

◆ _miscChargeTaxtypeLit

QLabel* Ui_creditMemo::_miscChargeTaxtypeLit
inherited

◆ _new

QPushButton* Ui_creditMemo::_new
inherited

◆ _notesTab

QWidget* Ui_creditMemo::_notesTab
inherited

◆ _project

ProjectCluster* Ui_creditMemo::_project
inherited

◆ _rememberPos

QAction* ScriptablePrivate::_rememberPos
inherited

◆ _rememberSize

QAction* ScriptablePrivate::_rememberSize
inherited

◆ _rsnCode

XComboBox* Ui_creditMemo::_rsnCode
inherited

◆ _rsnCodeLit

QLabel* Ui_creditMemo::_rsnCodeLit
inherited

◆ _salesRep

XComboBox* Ui_creditMemo::_salesRep
inherited

◆ _salesRepLit

QLabel* Ui_creditMemo::_salesRepLit
inherited

◆ _saleType

XComboBox* Ui_creditMemo::_saleType
inherited

◆ _saleTypeLit

QLabel* Ui_creditMemo::_saleTypeLit
inherited

◆ _save

QPushButton* Ui_creditMemo::_save
inherited

◆ _scriptLoaded

bool ScriptableWidget::_scriptLoaded
protectedinherited

◆ _self

QWidget* ScriptableWidget::_self
protectedinherited

◆ _shippingZone

XComboBox* Ui_creditMemo::_shippingZone
inherited

◆ _shippingZoneLit

QLabel* Ui_creditMemo::_shippingZoneLit
inherited

◆ _shipTo

ShiptoCluster* Ui_creditMemo::_shipTo
inherited

◆ _shipToAddr

AddressCluster* Ui_creditMemo::_shipToAddr
inherited

◆ _shipToGroup

QGroupBox* Ui_creditMemo::_shipToGroup
inherited

◆ _shipToName

XLineEdit* Ui_creditMemo::_shipToName
inherited

◆ _shipToNameLit

QLabel* Ui_creditMemo::_shipToNameLit
inherited

◆ _shipVia

XComboBox* Ui_creditMemo::_shipVia
inherited

◆ _shipViaLit

QLabel* Ui_creditMemo::_shipViaLit
inherited

◆ _showMe

QAction* ScriptablePrivate::_showMe
inherited

◆ _shown

bool ScriptablePrivate::_shown
inherited

◆ _status

QLabel* Ui_creditMemo::_status
inherited

◆ _statusLit

QLabel* Ui_creditMemo::_statusLit
inherited

◆ _subtotal

CurrDisplay* Ui_creditMemo::_subtotal
inherited

◆ _subtotalLit

QLabel* Ui_creditMemo::_subtotalLit
inherited

◆ _tax

TaxDisplay* Ui_creditMemo::_tax
inherited

◆ _taxExempt

TaxExemptCluster* Ui_creditMemo::_taxExempt
inherited

◆ _taxExemptLit

QLabel* Ui_creditMemo::_taxExemptLit
inherited

◆ _taxLit

XLabel* Ui_creditMemo::_taxLit
inherited

◆ _taxzone

XComboBox* Ui_creditMemo::_taxzone
inherited

◆ _taxzoneLit

QLabel* Ui_creditMemo::_taxzoneLit
inherited

◆ _total

CurrCluster* Ui_creditMemo::_total
inherited

◆ _totalLit

QLabel* Ui_creditMemo::_totalLit
inherited

◆ _warehouse

WComboBox* Ui_creditMemo::_warehouse
inherited

◆ _warehouseLit

QLabel* Ui_creditMemo::_warehouseLit
inherited

◆ gridLayout

QGridLayout* Ui_creditMemo::gridLayout
inherited

◆ gridLayout1

QGridLayout* Ui_creditMemo::gridLayout1
inherited

◆ gridLayout2

QGridLayout* Ui_creditMemo::gridLayout2
inherited

◆ gridLayout_2

QGridLayout* Ui_creditMemo::gridLayout_2
inherited

◆ gridLayout_3

QGridLayout* Ui_creditMemo::gridLayout_3
inherited

◆ gridLayout_4

QGridLayout* Ui_creditMemo::gridLayout_4
inherited

◆ gridLayout_5

QGridLayout* Ui_creditMemo::gridLayout_5
inherited

◆ hboxLayout

QHBoxLayout* Ui_creditMemo::hboxLayout
inherited

◆ hboxLayout1

QHBoxLayout* Ui_creditMemo::hboxLayout1
inherited

◆ hboxLayout10

QHBoxLayout* Ui_creditMemo::hboxLayout10
inherited

◆ hboxLayout11

QHBoxLayout* Ui_creditMemo::hboxLayout11
inherited

◆ hboxLayout12

QHBoxLayout* Ui_creditMemo::hboxLayout12
inherited

◆ hboxLayout2

QHBoxLayout* Ui_creditMemo::hboxLayout2
inherited

◆ hboxLayout3

QHBoxLayout* Ui_creditMemo::hboxLayout3
inherited

◆ hboxLayout4

QHBoxLayout* Ui_creditMemo::hboxLayout4
inherited

◆ hboxLayout5

QHBoxLayout* Ui_creditMemo::hboxLayout5
inherited

◆ hboxLayout6

QHBoxLayout* Ui_creditMemo::hboxLayout6
inherited

◆ hboxLayout7

QHBoxLayout* Ui_creditMemo::hboxLayout7
inherited

◆ hboxLayout8

QHBoxLayout* Ui_creditMemo::hboxLayout8
inherited

◆ hboxLayout9

QHBoxLayout* Ui_creditMemo::hboxLayout9
inherited

◆ horizontalLayout

QHBoxLayout* Ui_creditMemo::horizontalLayout
inherited

◆ lblApplyToLit

QLabel* Ui_creditMemo::lblApplyToLit
inherited

◆ spacerItem

QSpacerItem* Ui_creditMemo::spacerItem
inherited

◆ spacerItem1

QSpacerItem* Ui_creditMemo::spacerItem1
inherited

◆ spacerItem10

QSpacerItem* Ui_creditMemo::spacerItem10
inherited

◆ spacerItem11

QSpacerItem* Ui_creditMemo::spacerItem11
inherited

◆ spacerItem12

QSpacerItem* Ui_creditMemo::spacerItem12
inherited

◆ spacerItem2

QSpacerItem* Ui_creditMemo::spacerItem2
inherited

◆ spacerItem3

QSpacerItem* Ui_creditMemo::spacerItem3
inherited

◆ spacerItem4

QSpacerItem* Ui_creditMemo::spacerItem4
inherited

◆ spacerItem5

QSpacerItem* Ui_creditMemo::spacerItem5
inherited

◆ spacerItem6

QSpacerItem* Ui_creditMemo::spacerItem6
inherited

◆ spacerItem7

QSpacerItem* Ui_creditMemo::spacerItem7
inherited

◆ spacerItem8

QSpacerItem* Ui_creditMemo::spacerItem8
inherited

◆ spacerItem9

QSpacerItem* Ui_creditMemo::spacerItem9
inherited

◆ vboxLayout

QVBoxLayout* Ui_creditMemo::vboxLayout
inherited

◆ vboxLayout1

QVBoxLayout* Ui_creditMemo::vboxLayout1
inherited

◆ vboxLayout2

QVBoxLayout* Ui_creditMemo::vboxLayout2
inherited

◆ vboxLayout3

QVBoxLayout* Ui_creditMemo::vboxLayout3
inherited

◆ vboxLayout4

QVBoxLayout* Ui_creditMemo::vboxLayout4
inherited

◆ verticalLayout

QVBoxLayout* Ui_creditMemo::verticalLayout
inherited

◆ verticalLayout_2

QVBoxLayout* Ui_creditMemo::verticalLayout_2
inherited

◆ verticalLayout_3

QVBoxLayout* Ui_creditMemo::verticalLayout_3
inherited

◆ verticalLayout_4

QVBoxLayout* Ui_creditMemo::verticalLayout_4
inherited

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

Generated on Fri Apr 9 2021 xTuple ERP Programmer Reference, Version 6.0.0 doxygen 1.8.17