dspTax1099 Class Reference

#include <dspTax1099.h>

Public Slots

virtual void sChg1099 ()
 
virtual enum SetResponse set (const ParameterList &)
 
virtual void setParams (ParameterList &)
 
virtual void sFillList ()
 
virtual void sPrint ()
 
virtual void sPrint1096 ()
 
virtual void sPrint1099 ()
 
virtual void sSetAccount ()
 

Public Member Functions

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

Public Attributes

ContactCluster_1096contact
 
QPushButton * _chg1099
 
QPushButton * _close
 
QRadioButton * _detail1099
 
QRadioButton * _detailall
 
DLineEdit_fromdate
 
XTreeWidget_list
 
QLabel_listLit
 
QPushButton * _p1096
 
QPushButton * _p1099
 
QPushButton * _print
 
XCheckBox_promptByYear
 
QPushButton * _query
 
QPushButton * _setaccnt
 
QRadioButton * _sum1099
 
QRadioButton * _sumall
 
DLineEdit_todate
 
QGridLayout * gridLayout
 
QSpacerItem * horizontalSpacer
 
QLabellabel
 
QLabellabel_2
 
QVBoxLayout * verticalLayout
 
QSpacerItem * verticalSpacer
 
QSpacerItem * verticalSpacer_2
 
QSpacerItem * verticalSpacer_3
 
QSpacerItem * verticalSpacer_4
 
QWidgetwidget_2
 

Protected Slots

virtual void languageChange ()
 
virtual enum SetResponse postSet ()
 

Protected Member Functions

virtual void callCloseEvent (QEvent *)
 
virtual enum SetResponse callSet (const ParameterList &)
 
virtual void callShowEvent (QEvent *)
 
virtual void closeEvent (QCloseEvent *pEvent)
 
virtual QScriptEngine * engine ()
 
virtual void loadScript (const QString &oName)
 
virtual void loadScript (const QStringList &list)
 
virtual void loadScriptEngine ()
 
virtual void printSpecificForm (QString pForm, bool pMultiPrint)
 Print a specific form, as there are several to choose from.
 
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

◆ dspTax1099()

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

◆ ~dspTax1099()

dspTax1099::~dspTax1099 ( )

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 dspTax1099::closeEvent ( QCloseEvent * pEvent)
protectedvirtual

◆ engine()

QScriptEngine * ScriptablePrivate::engine ( )
virtualinherited

Reimplemented from ScriptableWidget.

◆ get()

ParameterList XWidget::get ( ) const
virtualinherited

Implements ScriptablePrivate.

◆ languageChange

void dspTax1099::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

◆ postSet

enum SetResponse XWidget::postSet ( )
protectedvirtualslotinherited

◆ printSpecificForm()

void dspTax1099::printSpecificForm ( QString pFormName,
bool pMultiPrint )
protectedvirtual

Print a specific form, as there are several to choose from.

The IRS changes tax forms each year. Sometimes the layout of the form changes and sometimes the difference is just the pre-printed tax year. This function allows for layout changes by looking for year-stamped report names. If there is no matching report, it uses the last known report name.

For example, form 1096 changed for the 2020 tax year. Prior versions of xTuple's 1099 printing feature always used the report named 1096Form. If the user enters dates between 2019 and 2021 and the caller of this function requests 1096 , this function will try to print 3 pages: 2019 data on 1096Form, 2020 data on 1096_2020, and 2021 data on 1096_2021 if it exists and on 1096_2020 if 1096_2021 does not exist.

@params pFormName This is the prefix of the report to run and must also match the MetaSQL parameter in 1099-summary for that specific form. Known values: 1099NEC , 1099MISC , and 1096 .

@params pMultiPrint If true then print all years of the given pFormName in one print job. If false then prompt the user to change the paper in the printer before each year's data and create a separate print job for each year.

◆ retranslateUi()

void Ui_dspTax1099::retranslateUi ( QWidget * dspTax1099)
inlineinherited

◆ sChg1099

void dspTax1099::sChg1099 ( )
virtualslot

◆ set

enum SetResponse XWidget::set ( const ParameterList & pParams)
virtualslotinherited

◆ setParams

void dspTax1099::setParams ( ParameterList & params)
virtualslot

◆ setScriptableParams()

bool ScriptableWidget::setScriptableParams ( ParameterList & params)
virtualinherited

◆ setupUi()

void Ui_dspTax1099::setupUi ( QWidget * dspTax1099)
inlineinherited

◆ sFillList

void dspTax1099::sFillList ( )
virtualslot

◆ showEvent()

void XWidget::showEvent ( QShowEvent * event)
protectedinherited

◆ sPrint

void dspTax1099::sPrint ( )
virtualslot

◆ sPrint1096

void dspTax1099::sPrint1096 ( )
virtualslot

◆ sPrint1099

void dspTax1099::sPrint1099 ( )
virtualslot

◆ sSetAccount

void dspTax1099::sSetAccount ( )
virtualslot

Member Data Documentation

◆ _1096contact

ContactCluster* Ui_dspTax1099::_1096contact
inherited

◆ _cache

ScriptCache * ScriptableWidget::_cache
staticprotectedinherited

◆ _chg1099

QPushButton* Ui_dspTax1099::_chg1099
inherited

◆ _close

QPushButton* Ui_dspTax1099::_close
inherited

◆ _debugger

QScriptEngineDebugger* ScriptableWidget::_debugger
protectedinherited

◆ _detail1099

QRadioButton* Ui_dspTax1099::_detail1099
inherited

◆ _detailall

QRadioButton* Ui_dspTax1099::_detailall
inherited

◆ _engine

QScriptEngine* ScriptableWidget::_engine
protectedinherited

◆ _fromdate

DLineEdit* Ui_dspTax1099::_fromdate
inherited

◆ _guiClientInterface

GuiClientInterface * ScriptableWidget::_guiClientInterface
staticinherited

◆ _lastSetParams

ParameterList ScriptablePrivate::_lastSetParams
inherited

◆ _list

XTreeWidget* Ui_dspTax1099::_list
inherited

◆ _listLit

QLabel* Ui_dspTax1099::_listLit
inherited

◆ _p1096

QPushButton* Ui_dspTax1099::_p1096
inherited

◆ _p1099

QPushButton* Ui_dspTax1099::_p1099
inherited

◆ _print

QPushButton* Ui_dspTax1099::_print
inherited

◆ _promptByYear

XCheckBox* Ui_dspTax1099::_promptByYear
inherited

◆ _query

QPushButton* Ui_dspTax1099::_query
inherited

◆ _rememberPos

QAction* ScriptablePrivate::_rememberPos
inherited

◆ _rememberSize

QAction* ScriptablePrivate::_rememberSize
inherited

◆ _scriptLoaded

bool ScriptableWidget::_scriptLoaded
protectedinherited

◆ _self

QWidget* ScriptableWidget::_self
protectedinherited

◆ _setaccnt

QPushButton* Ui_dspTax1099::_setaccnt
inherited

◆ _showMe

QAction* ScriptablePrivate::_showMe
inherited

◆ _shown

bool ScriptablePrivate::_shown
inherited

◆ _sum1099

QRadioButton* Ui_dspTax1099::_sum1099
inherited

◆ _sumall

QRadioButton* Ui_dspTax1099::_sumall
inherited

◆ _todate

DLineEdit* Ui_dspTax1099::_todate
inherited

◆ gridLayout

QGridLayout* Ui_dspTax1099::gridLayout
inherited

◆ horizontalSpacer

QSpacerItem* Ui_dspTax1099::horizontalSpacer
inherited

◆ label

QLabel* Ui_dspTax1099::label
inherited

◆ label_2

QLabel* Ui_dspTax1099::label_2
inherited

◆ verticalLayout

QVBoxLayout* Ui_dspTax1099::verticalLayout
inherited

◆ verticalSpacer

QSpacerItem* Ui_dspTax1099::verticalSpacer
inherited

◆ verticalSpacer_2

QSpacerItem* Ui_dspTax1099::verticalSpacer_2
inherited

◆ verticalSpacer_3

QSpacerItem* Ui_dspTax1099::verticalSpacer_3
inherited

◆ verticalSpacer_4

QSpacerItem* Ui_dspTax1099::verticalSpacer_4
inherited

◆ widget_2

QWidget* Ui_dspTax1099::widget_2
inherited

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

Generated on Mon Feb 17 2025 xTuple ERP Programmer Reference, Version 6.2.0 doxygen 1.11.0