Class AvencaWS
- Namespace
- PHCWS
- Assembly
- PHCWS.dll
Recurring Invoices (AvencaVO).
[WebService(Namespace = "http://www.phcgo.net/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[DesignerGenerated]
public class AvencaWS : PHCTypedWS<AvencaVO>, IComponent, IDisposable, IServiceProvider
- Inheritance
-
AvencaWS
Methods
GetFtPrev(QueryVO, List<string>, int, DateTime, DateTime, int, bool, bool)
Returns preparation list of AvencaFtAutoVO from AvencaVO selected
[WebMethod]
public PHCResult GetFtPrev(QueryVO query, List<string> avencastamps, int ndoc, DateTime selectedEmitDate, DateTime limitDate, int groupOption, bool selectMantendo, bool ApplyPromotion)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
query |
QueryVO | |
avencastamps |
List<string> | It is a list of identifiers of the AvencaVO that want to use for preparation FtVO. |
ndoc |
int | Indicates the corresponding internal number to the type of FtVO. |
selectedEmitDate |
DateTime | Indicates the billing issued. |
limitDate |
DateTime | Indicates the deadline by which it intends to issue invoices if the final validity of the recurring invoice is not set. |
groupOption |
int | Indicates the grouping option (1 = Separate documents; 2 = Grouped by Customer; 3 = Grouped by Recurring Invoice) |
selectMantendo |
bool | Indicates if keeps a previous preparation. |
ApplyPromotion |
bool |
Returns
avencaAuto(List<string>, int, DateTime, DateTime, int)
Invoice one or more recurring invoices that were previously calculated by the method GetFtPrev.
[WebMethod(EnableSession = true)]
public PHCResult avencaAuto(List<string> avencastamps, int ndoc, DateTime selectedEmitDate, DateTime limitDate, int groupOption)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
avencastamps |
List<string> | |
ndoc |
int | |
selectedEmitDate |
DateTime | |
limitDate |
DateTime | |
groupOption |
int |
Returns
- PHCResult
PHCResult containing the AvencaFtAutoResultVO, or error messages produced in this process.
avencaFtAuto(List<SelectedAvencaFtAutoVO>, bool, bool, string, string, bool)
Invoice one or more recurring invoices that were previously calculated by the method GetFtPrev.
[WebMethod]
public PHCResult avencaFtAuto(List<SelectedAvencaFtAutoVO> selectedAvencaFtAuto, bool undraftOnSave, bool sendToEmail, string repStamp, string templatestamp, bool portalLink)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
selectedAvencaFtAuto |
List<SelectedAvencaFtAutoVO> | Identifies the recurring invoices list to invoice. |
undraftOnSave |
bool | |
sendToEmail |
bool | |
repStamp |
string | |
templatestamp |
string | |
portalLink |
bool |
Returns
- PHCResult
PHCResult containing the AvencaFtAutoResultVO, or error messages produced in this process.
printMultipleRecords(ReportPrintOptionsVO)
Send multiple invoices to client email.
[WebMethod]
public PHCResult printMultipleRecords(ReportPrintOptionsVO printOptions)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
printOptions |
ReportPrintOptionsVO | configuration of the printjob |
Returns
- PHCResult
PHCResult containing the ReportPrintOptionsVO, or error messages produced in this process.
searchAvencasMonitor(QueryVO, DateTime, DateTime, bool)
Query to monitor multiple recurring invoice filtered on certain conditions, and is added by a filter to monitor the backend.
[WebMethod]
public PHCResult searchAvencasMonitor(QueryVO itemQuery, DateTime data, DateTime issueDate, bool undraftOnSave)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
itemQuery |
QueryVO | Indicates the filter conditions will apply to query. |
data |
DateTime | Indicates the date to filter recurring invoices. |
issueDate |
DateTime | |
undraftOnSave |
bool |
Returns
Remarks
Query SelectItems one or more records, the search being determined based on
FilterItem,
that can be set in itemQuery.
This parameter can also set JoinEntity,
GroupByItem and OrderByItem.