Class ProcessConfig
- Namespace
- PHCBusinessLayer
- Assembly
- PHCBusinessLayer.dll
Represents the settings of a particular BaseProcess item.
public class ProcessConfig : IProcessConfig
- Inheritance
-
ProcessConfig
Properties
FileName
public string FileName { get; set; }
Property Value
Methods
Clone()
public ProcessConfig Clone()
Returns
HandleCustomProcessFields(object, string, bool)
public object HandleCustomProcessFields(object fileItem, string columnName, bool isXLSX = false)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
fileItem |
object | |
columnName |
string | |
isXLSX |
bool |
Returns
Explicit Interface Implementations
CallFromViewID
Use: Internal - Owner: Frontend - Note: For now it's only old copy documents view
string CallFromViewID { get; set; }
Returns
CopyOwnerFromSource
Use the same owner of the source in the new target document Use: Internal - Owner: Backend
bool CopyOwnerFromSource { get; set; }
Returns
CurrencyFilter
Currency to filter the source documents Use: UI - Owner: Frontend
ProcessConfigItem<string> CurrencyFilter { get; set; }
Returns
FetchTargetEntity
bool FetchTargetEntity { get; }
Returns
FileData
byte[] FileData { get; set; }
Returns
- byte[]
FileDatasource()
List<object> FileDatasource()
Returns
FileType
int FileType { get; set; }
Returns
FileXml()
XmlDocument FileXml()
Returns
GroupByOwnerEntity
If documents issued are grouped together by the owner entity of the document, in FtVO the owner entity is ClVO, in FoVO is FlVO, in BoVO some are ClVO and anothers are FlVO Use: UI - Owner: Frontend
ProcessConfigItem<bool> GroupByOwnerEntity { get; set; }
Returns
IsOrphansLines
If we are import lines from a CSV for example
bool IsOrphansLines { get; set; }
Returns
Limit
Used to infinite scrolling, is the itens number in the range Use: Internal - Owner: Frontend
int Limit { get; set; }
Returns
Offset
Used to infinite scrolling, is the index range Use: Internal - Owner: Frontend
int Offset { get; set; }
Returns
OnlyOwnerFilter
If documents issued are filter by the owner entity of the document Use: UI - Owner: Frontend - Note: Only when the target document already exist - Old: soDeste
ProcessConfigItem<bool> OnlyOwnerFilter { get; set; }
Returns
OwnerEstabFilter
If OnlyOwnerFilter = True, which is the owner establishment number Use: Internal - Owner: Frontend
int OwnerEstabFilter { get; set; }
Returns
OwnerNumberFilter
If OnlyOwnerFilter = True, which is the owner number Use: Internal - Owner: Frontend
decimal OwnerNumberFilter { get; set; }
Returns
PagedDatasource
bool PagedDatasource { get; set; }
Returns
PreviousLineID
Use: Internal - Owner: Backend
string PreviousLineID { get; set; }
Returns
SearchExpression
It is used to filter the records of the entity defined in 'SelectedSourceEntityName' property by common fields Use: UI - Owner: Frontend
ProcessConfigItem<string> SearchExpression { get; set; }
Returns
SelectedLineID
Use: Internal - Owner: Backend
string SelectedLineID { get; set; }
Returns
SendTargetItemsCollection
If the execute result target items is send on ProcessVO.Result.TargetItemsCollection Use: Internal - Owner: Backend - Note: For now it's only old copy documents view
bool SendTargetItemsCollection { get; set; }
Returns
SerieSourceEntityName
Contains the entity name of the serie that control the entity defined in 'SourceEntityName' property Example: TS - Use: Internal - Owner: Backend
string SerieSourceEntityName { get; set; }
Returns
SerieSourceID
Contains the value of the idField of the item selected in 'SerieSourceCollection' property Example: 20 - Use: UI - Owner: Frontend
ProcessConfigItem<int> SerieSourceID { get; set; }
Returns
SerieTargetEntityName
Contains the entity name of the serie tha control the target entity Example: TD - Use: Internal - Owner: Backend
string SerieTargetEntityName { get; set; }
Returns
SerieTargetID
Contains the value of the idField of the item selected in 'SerieTargetCollection' property Example: 20 - Use: UI - Owner: Frontend
ProcessConfigItem<int> SerieTargetID { get; set; }
Returns
SourceEntityFilter
It is used to filter the records of the entity defined in 'SelectedSourceEntityName' property Use: UI - Owner: Frontend
QueryVO SourceEntityFilter { get; set; }
Returns
SourceEntityName
Contains the entity name from which the documents will be issued Example: BO - Use: Internal - Owner: Frontend
ProcessConfigItem<string> SourceEntityName { get; set; }
Returns
SourceItemsTotal
Used for pagination, it's the total number of source documents Use: Internal - Owner: Frontend
int SourceItemsTotal { get; set; }
Returns
TargetEntity
Optional property to use for TargetStampID Contains the entity for the target record, use in sync because if you use TargetStampID in sync situation the entity return by GetEntityInChangeSession is another pointer then entity from EntityChangeOperation
IGenericVO TargetEntity { get; set; }
Returns
TargetEntityName
Contains the value of the target entity Example: FT - Use: Internal - Owner: Backend - Note: it's set when you call the respective remote service, FT, BO or FO
string TargetEntityName { get; set; }
Returns
TargetFieldsToCopy
Indicates which fields to copy from source to destination, should always include the entity alias, so you can use the same property to define header fields, or which collections you want to mention, including extension aliases. Semicolon-separated fields
Example: "FT.nome;FT.no;FI.ref;FI.design;FI.EXT1.nome;FTRD.ccstamp"List<string> TargetFieldsToCopy { get; set; }
Returns
TargetIssueDate
It is the create date of the target document Use: UI - Owner: Frontend
ProcessConfigItem<DateTime> TargetIssueDate { get; set; }
Returns
TargetStampID
Contains the stamp value for the target record, if empty will make many targets, if specified try to find the record with 'GetEntityInChangeSession' Example: f39-47eb-8dbe-1e4f89fd44f - Use: Internal - Owner: Frontend - Note: Define if the target document already exist "old copy documents"
string TargetStampID { get; set; }
Returns
invoiceRepstamp
TODO
ProcessConfigItem<string> invoiceRepstamp { get; set; }
Returns
invoiceTemplatestamp
TODO
ProcessConfigItem<string> invoiceTemplatestamp { get; set; }
Returns
sendDocByEmail
TODO
ProcessConfigItem<bool> sendDocByEmail { get; set; }
Returns
sendPortalLink
TODO
ProcessConfigItem<bool> sendPortalLink { get; set; }