Class TdWS
- Namespace
- PHCWS
- Assembly
- PHCWS.dll
Types of Invoicing Documents Services TdVO).
[WebService(Namespace = "http://www.phcgo.net/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[DesignerGenerated]
public class TdWS : PHCTypedWS<TdVO>, IComponent, IDisposable, IServiceProvider
- Inheritance
-
TdWS
Methods
RequeryByNdoc(int)
Query a record of the database.
[WebMethod]
public PHCResult RequeryByNdoc(int ndoc)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
ndoc |
int | Identifies the record that you want to see, corresponds to the value stored in the field ndoc of TdVO. |
Returns
- PHCResult
PHCResult containing the TdVO object requested or error messages produced by this process.
Remarks
This service allows you to return an entity record TD without making any validations access to the entity or record in the log any activity, as it does for example the service Requery(), so it should be used only in situations where we are working with another entity but need information of TD just for some business logic, such as when working with the entity FT need to consult the TD to see if we will work with an invoice or cash sale, or if some of the extra field is shown FT in its maintenance screen.
getDocumentTypeList()
Get a list of possible ratings assigned to a particular type of billing document
[WebMethod]
public PHCResult getDocumentTypeList()
Returns
- PHCResult
DocumentsTypesVO or error messages produced by this process.