Table of Contents

Class RdWS

Namespace
PHCWS
Assembly
PHCWS.dll

Supplier Advance Services (RdVO).

[WebService(Namespace = "http://www.phcgo.net/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[DesignerGenerated]
public class RdWS : PHCTypedWS<RdVO>, IComponent, IDisposable, IServiceProvider
Inheritance
RdWS

Methods

SendCashAdvanceByWebService(string)

Sends a cash advance by webservice to AT.

[WebMethod]
public PHCResult SendCashAdvanceByWebService(string rdstamp)

Parameters

Nome Tipo Descrição
rdstamp string

Returns

PHCResult

addNewFTRDsByCC(string, int, int, List<string>)

Adds new lines from the CcVO.

[WebMethod]
public PHCResult addNewFTRDsByCC(string IdRdStamp, int no, int estab, List<string> ccstamps)

Parameters

Nome Tipo Descrição
IdRdStamp string
no int

Identifies the ClVO, corresponds to the no.

estab int

Identifies the branch of the ClVO, corresponds to the field estab.

ccstamps List<string>

It is a list of identifiers of the current accounts of customers who want to add.

Returns

PHCResult

A PHCResult containing the RdVO on the property
result, or MessageVO on the property messages produced by the server in this process.

Remarks

The update is stored in memory, the final recording in the database should be done by the service 'Save'.

anularDocumento(string, string, bool)

Cancel a record in the database.

[WebMethod]
public PHCResult anularDocumento(string rdstamp, string nullifyReason, bool runWarningRules)

Parameters

Nome Tipo Descrição
rdstamp string

stamp of the Supplier advance that corresponds to the record that you want to override the database.

nullifyReason string
runWarningRules bool

Indicates whether to run the user / system rules of 'warning' to the record.

Returns

PHCResult

PHCResult containing a suppliers advance saved in the database with the totals of supplier advance to 0 and the deleted lines.

More changes of user rules / system that may exist and are set to run when recording, or error / warning messages produced by user/system rules and/or errors returned by the database engine that may have been generated in this recording process.

getBosFromRd(string)

List of documents where a certain Customer Advance is included.

[WebMethod]
public PHCResult getBosFromRd(string rdstamp)

Parameters

Nome Tipo Descrição
rdstamp string

Identifies the Customer Advance

Returns

PHCResult

getCodes4041List()

Get codes 4041 for invoices

[WebMethod]
public PHCResult getCodes4041List()

Returns

PHCResult

getFtsFromRd(string)

List of documents where a certain Customer Advance is included.

[WebMethod]
public PHCResult getFtsFromRd(string rdstamp)

Parameters

Nome Tipo Descrição
rdstamp string

Identifies the Customer Advance

Returns

PHCResult

getRdsFromRd(string)

List of documents where a certain Customer Advance is included.

[WebMethod]
public PHCResult getRdsFromRd(string rdstamp)

Parameters

Nome Tipo Descrição
rdstamp string

Identifies the Customer Advance

Returns

PHCResult