Class AccountingWS
- Namespace
- PHCWS
- Assembly
- PHCWS.dll
Accounting Integration.
[WebService(Namespace = "http://www.phcgo.net/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[DesignerGenerated]
public class AccountingWS : PHCGenericWS, IComponent, IDisposable, IServiceProvider
- Inheritance
-
AccountingWS
Remarks
This Web Service offers several methods to make it possible to integrate the FX data in an external accounting software such as accounting software PHC CS.
Methods
getCl()
Returns a list of customers.
[WebMethod]
public PHCResult getCl()
Returns
- PHCResult
A PHCResult contains a list of ClAccountingVO or messages of error/validation that occured during the execution of this call.
getCm1()
Returns a list of purchasing documents settings.
[WebMethod]
public PHCResult getCm1()
Returns
- PHCResult
A PHCResult contains a list of Cm1AccountingVO or messages of error/validation that occured during the execution of this call.
getCpocBl(int)
Returns data from one account to be integrated in the accounts of CS.
[WebMethod]
public PHCResult getCpocBl(int noconta)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
noconta |
int | Identifies the account number. |
Returns
- PHCResult
A PHCResult contains a list of CpocBlAccountingVO or messages of error/validation that occured during the execution of this call.
getFi(string)
Returns a list of lines of a invoice document.
[WebMethod]
public PHCResult getFi(string ftstamp)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
ftstamp |
string | Identifies the invoice document. |
Returns
- PHCResult
A PHCResult contains a list of FiAccountingVO or messages of error/validation that occured during the execution of this call.
getFl()
Returns a list of suppliers.
[WebMethod]
public PHCResult getFl()
Returns
- PHCResult
A PHCResult contains a list of FlAccountingVO or messages of error/validation that occured during the execution of this call.
getFn(string)
Returns a list of lines of purchase documents.
[WebMethod]
public PHCResult getFn(string fostamp)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
fostamp |
string | Identifies the purchase document. |
Returns
- PHCResult
A PHCResult contains a list of FnAccountingVO or messages of error/validation that occured during the execution of this call.
getFo(int, DateTime, DateTime, bool, bool)
Returns a purchase list.
[WebMethod]
public PHCResult getFo(int tipodoc, DateTime datainicial, DateTime datafinal, bool contabilizado, bool usadocdata)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
tipodoc |
int | Identifies the internal type of document |
datainicial |
DateTime | Date indicating the beginning of research. |
datafinal |
DateTime | Date indicating the ending of research. |
contabilizado |
bool | Identifies whether the Document is posted. |
usadocdata |
bool | Identifies if uses document data. (deprecated) |
Returns
- PHCResult
A PHCResult contains a list of FoAccountingVO or messages of error/validation that occured during the execution of this call.
getFot(string)
Returns a list of VAT lines of a purchase documents.
[WebMethod]
public PHCResult getFot(string fostamp)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
fostamp |
string | Identifies the purchase document. |
Returns
- PHCResult
A PHCResult contains a list of FoTxIvaAccountingVO or messages of error/validation that occured during the execution of this call.
getFt(int, DateTime, DateTime, bool)
Returns a list of invoice documents.
[WebMethod]
public PHCResult getFt(int tipodoc, DateTime datainicial, DateTime datafinal, bool contabilizado)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
tipodoc |
int | Identifies the internal type of an invoice document. |
datainicial |
DateTime | Date indicating the beginning of research. |
datafinal |
DateTime | Date indicating the ending of research. |
contabilizado |
bool | Identifies whether the Document is posted. |
Returns
- PHCResult
A PHCResult contains a list of FtAccountingVO or messages of error/validation that occured during the execution of this call.
getFtt(string)
Returns a list of VAT lines of a invoice document.
[WebMethod]
public PHCResult getFtt(string ftstamp)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
ftstamp |
string | Identifies the invoice document. |
Returns
- PHCResult
A PHCResult contains a list of FtTxIvaAccountingVO or messages of error/validation that occured during the execution of this call.
getOlbb(DateTime, DateTime, bool)
Returns a list of the Intra-Transfers Accounts.
[WebMethod]
public PHCResult getOlbb(DateTime datainicial, DateTime datafinal, bool contabilizado)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
datainicial |
DateTime | Date indicating the beginning of research. |
datafinal |
DateTime | Date indicating the ending of research. |
contabilizado |
bool | Identifies whether the Document is posted. |
Returns
- PHCResult
A PHCResult contains a list of OlbbAccountingVO or messages of error/validation that occured during the execution of this call.
getOx(DateTime, DateTime, bool)
Returns a list of Deposit slips.
[WebMethod]
public PHCResult getOx(DateTime datainicial, DateTime datafinal, bool contabilizado)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
datainicial |
DateTime | Date indicating the beginning of research. |
datafinal |
DateTime | Date indicating the ending of research. |
contabilizado |
bool | Identifies whether the Document is posted. |
Returns
- PHCResult
A PHCResult contains a list of OxAccountingVO or messages of error/validation that occured during the execution of this call.
getOy(string)
Returns a list of lines of a deposit slips.
[WebMethod]
public PHCResult getOy(string oxstamp)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
oxstamp |
string | Identifies the deposit slip. |
Returns
- PHCResult
A PHCResult contains a list of OyAccountingVO or messages of error/validation that occured during the execution of this call.
getPl(string)
Returns a list of lines of a payment.
[WebMethod]
public PHCResult getPl(string postamp)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
postamp |
string | Identifies the payment. |
Returns
- PHCResult
A PHCResult contains a list of PlAccountingVO or messages of error/validation that occured during the execution of this call.
getPo(DateTime, DateTime, bool)
Returns a list of payments.
[WebMethod]
public PHCResult getPo(DateTime datainicial, DateTime datafinal, bool contabilizado)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
datainicial |
DateTime | Date indicating the beginning of research. |
datafinal |
DateTime | Date indicating the ending of research. |
contabilizado |
bool | Identifies whether the Document is posted. |
Returns
- PHCResult
A PHCResult contains a list of PoAccountingVO or messages of error/validation that occured during the execution of this call.
getPoTxIva(string)
Returns a list of VAT lines of a payment.
[WebMethod]
public PHCResult getPoTxIva(string postamp)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
postamp |
string | Identifies the payment. |
Returns
- PHCResult
A PHCResult contains a list of PoTxIvaAccountingVO or messages of error/validation that occured during the execution of this call.
getRe(DateTime, DateTime, bool)
Returns a list of receipts.
[WebMethod]
public PHCResult getRe(DateTime datainicial, DateTime datafinal, bool contabilizado)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
datainicial |
DateTime | Date indicating the beginning of research. |
datafinal |
DateTime | Date indicating the ending of research. |
contabilizado |
bool | Identifies whether the Document is posted. |
Returns
- PHCResult
A PHCResult contains a list of ReAccountingVO or messages of error/validation that occured during the execution of this call.
getReTxIva(string)
Returns a list of VAT lines of a receipt.
[WebMethod]
public PHCResult getReTxIva(string restamp)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
restamp |
string | Identifies the receipt. |
Returns
- PHCResult
A PHCResult contains a list of ReTxIvaAccountingVO or messages of error/validation that occured during the execution of this call.
getRl(string)
Returns a list of lines of a receipt.
[WebMethod]
public PHCResult getRl(string restamp)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
restamp |
string | Identifies the receipt. |
Returns
- PHCResult
A PHCResult contains a list of RlAccountingVO or messages of error/validation that occured during the execution of this call.
getSl(DateTime, DateTime, bool)
Returns a list of stock transactions.
[WebMethod]
public PHCResult getSl(DateTime datainicial, DateTime datafinal, bool contabilizado)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
datainicial |
DateTime | Date indicating the beginning of research. |
datafinal |
DateTime | Date indicating the ending of research. |
contabilizado |
bool | Identifies whether the Document is posted. |
Returns
- PHCResult
A PHCResult contains a list of SlAccountingVO or messages of error/validation that occured during the execution of this call.
getSt(string)
Returns a list of products and services.
[WebMethod]
public PHCResult getSt(string @ref)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
ref |
string | Identifies the product. |
Returns
- PHCResult
A PHCResult contains a list of StAccountingVO or messages of error/validation that occured during the execution of this call.
getTd()
Returns a list of invoice documents settings.
[WebMethod]
public PHCResult getTd()
Returns
- PHCResult
A PHCResult contains a list of TdAccountingVO or messages of error/validation that occured during the execution of this call.
updateFO(List<UpdateAccounting>)
Receives a datatable with the information to update the FO entity.
[WebMethod]
public PHCResult updateFO(List<UpdateAccounting> mData)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
mData |
List<UpdateAccounting> | Identifies the data table of FO entity. |
Returns
- PHCResult
FO entity updated with the data that came from the CS.
updateFT(List<UpdateAccounting>)
Receives a datatable with the information to update the FT entity.
[WebMethod]
public PHCResult updateFT(List<UpdateAccounting> mData)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
mData |
List<UpdateAccounting> | Identifies the data table of FT entity. |
Returns
- PHCResult
FT entity updated with the data that came from the CS.
updateOLBB(List<UpdateAccounting>)
Receives a datatable with the information to update the OLBB entity.
[WebMethod]
public PHCResult updateOLBB(List<UpdateAccounting> mData)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
mData |
List<UpdateAccounting> | Identifies the data table of OLBB entity. |
Returns
- PHCResult
OLBB entity updated with the data that came from the CS.
updateOX(List<UpdateAccounting>)
Receives a datatable with the information to update the OX entity.
[WebMethod]
public PHCResult updateOX(List<UpdateAccounting> mData)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
mData |
List<UpdateAccounting> | Identifies the data table of OX entity. |
Returns
- PHCResult
OX entity updated with the data that came from the CS.
updatePO(List<UpdateAccounting>)
Receives a datatable with the information to update the PO entity.
[WebMethod]
public PHCResult updatePO(List<UpdateAccounting> mData)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
mData |
List<UpdateAccounting> | Identifies the data table of PO entity. |
Returns
- PHCResult
PO entity updated with the data that came from the CS.
updateRE(List<UpdateAccounting>)
Receives a datatable with the information to update the RE entity.
[WebMethod]
public PHCResult updateRE(List<UpdateAccounting> mData)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
mData |
List<UpdateAccounting> | Identifies the data table of RE entity. |
Returns
- PHCResult
RE entity updated with the data that came from the CS.
updateSL(List<UpdateAccounting>)
Receives a datatable with the information to update the SL entity.
[WebMethod]
public PHCResult updateSL(List<UpdateAccounting> mData)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
mData |
List<UpdateAccounting> | Identifies the data table of SL entity. |
Returns
- PHCResult
SL entity updated with the data that came from the CS.