Class ReWS
- Namespace
- PHCWS
- Assembly
- PHCWS.dll
Receipts Services (ReVO).
[WebService(Namespace = "http://www.phcgo.net/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[DesignerGenerated]
public class ReWS : PHCTypedWS<ReVO>, IComponent, IDisposable, IServiceProvider
- Inheritance
-
ReWS
Methods
DeleteProcess(ProcessID)
[WebMethod]
public PHCResult DeleteProcess(ProcessID taskId)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
taskId |
ProcessID |
Returns
ExecuteProcess(bool, ProcessVO<ReIssuanceConfig>)
[WebMethod]
public PHCResult ExecuteProcess(bool useAsync, ProcessVO<ReIssuanceConfig> task)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
useAsync |
bool | |
task |
ProcessVO<ReIssuanceConfig> |
Returns
PreviewProcess(ProcessVO<ReIssuanceConfig>)
[WebMethod]
public PHCResult PreviewProcess(ProcessVO<ReIssuanceConfig> task)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
task |
ProcessVO<ReIssuanceConfig> |
Returns
PreviewProcessLines(string, ProcessVO<ReIssuanceConfig>)
[WebMethod]
public PHCResult PreviewProcessLines(string stampID, ProcessVO<ReIssuanceConfig> task)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
stampID |
string | |
task |
ProcessVO<ReIssuanceConfig> |
Returns
SynchronizeProcess(ProcessVO<ReIssuanceConfig>)
[WebMethod]
public PHCResult SynchronizeProcess(ProcessVO<ReIssuanceConfig> task)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
task |
ProcessVO<ReIssuanceConfig> |
Returns
addNewRLsByCC(string, List<string>)
Add new lines from the accounts receivable.
[WebMethod]
public PHCResult addNewRLsByCC(string IdReStamp, List<string> ccstamps)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
IdReStamp |
string | Identifies the record that owns the lines that you want to add, corresponds to the value stored in the field restamp ofReVO. |
ccstamps |
List<string> | It is a list of identifiers of the current accounts of customers who want to add, each list item corresponds to the value stored in the field ccstamp of RlVO. |
Returns
- PHCResult
PHCResult containg the lines RlVO added or error messages produced by this process of updating rows. The returned value may only contain the added lines or contain an ReVO where in your collection rls contain the added lines and / or other additional lines. The return type depends so the changes that have been applied to the entity RE in this process.
Remarks
The update is stored in memory, the final recording in the database should be done by the 'Save' service.
anularDocumento(string, string, bool)
Cancel a record in the database.
[WebMethod]
public PHCResult anularDocumento(string restamp, string nullifyReason, bool runWarningRules)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
restamp |
string | ReVO that corresponds to the record that you want to undo the database. |
nullifyReason |
string | |
runWarningRules |
bool | Indicates whether to run the rules of 'warning' user / system when recording. |
Returns
- PHCResult
-
PHCResult containing a ReVO recorded in the database with the totals of receipt value 0 and the erased lines.
More changes of user rules / system that may exist and are set to run when recording, or error / warning messages produced by user rules / system and / or errors returned by the database engine that may have been generated in this recording process.
You can also send an error message saying that the document has already been processed, if you try to cancel a receipt already processed. "errors.Re.ReciboJaProcessado".
cancelDocumentAtDate(string, string, bool, DateTime)
Cancels a document at a given date.
[WebMethod]
public PHCResult cancelDocumentAtDate(string restamp, string nullifyReason, bool runWarningRules, DateTime nullifyDate)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
restamp |
string | |
nullifyReason |
string | |
runWarningRules |
bool | |
nullifyDate |
DateTime |