Product | Adapter | Receive | Send | ||||
---|---|---|---|---|---|---|---|
Insert | Update | Delete | Insert | Update | Delete | ||
RM | |||||||
PROTHEUS |
Field | documentation | maxLength | Product | FieldERP | Req. | Type | Length | Description |
---|---|---|---|---|---|---|---|---|
CopyDataFromTemporary | Indica se os dados do título original devem ser obtidos a partir do título temporário | |||||||
TemporaryAccountPayableDocument | Título temporário, título a ser substituido | |||||||
OriginalAccountPayableDocument | Título original, título que substituirá o título temporário | |||||||
CompanyId | Empresa | -> RM -> PROTHEUS | -> TMOV.CODCOLIGADA -> Não possui campo físico na tabela | -> sim -> sim | -> integer -> varchar | -> -> 2 | -> -> | |
BranchId | Filial | -> RM -> PROTHEUS | -> TMOV.CODFILIAL -> SE2XX0.E2_FILIAL | -> sim -> Sim | -> integer -> varchar | -> -> 2 | -> -> Pode ter tamanho entre 02 e 12 dependendo da configuração do Protheus | |
CompanyInternalId | InternalId da Empresa | -> RM -> PROTHEUS | -> TMOV.CODCOLIGADA|TMOV.CODFILIAL -> | -> sim -> sim | -> integer|integer -> varchar | -> -> 50 | -> -> O InternalID da empresa é formado por EMPRESA|E2_FILIAL. | |
InternalId | InternalId do Título | -> RM -> PROTHEUS | -> TMOV.CODCOLIGADA|TMOV.IDMOV -> | -> sim -> sim | -> integer|integer -> varchar | -> -> 50 | -> -> O InternalId do Título é formado por E2_FILIAL|E2_PREFIXO|E2_NUM|E2_PARCELA|E2_TIPO|E2_FORNECE|E2_LOJA | |
DocumentPrefix | Prefixo (Série) | 3 | ||||||
DocumentNumber | Número do Título | 9 | ||||||
DocumentParcel | Parcela | 3 | ||||||
DocumentTypeCode | Tipo do Título | 3 | ||||||
VendorCode | Fornecedor | 20 | -> RM -> PROTHEUS | -> TMOV.CODCFO -> SE2XX0.E2_FORNECE | -> sim -> sim | -> string -> varchar | -> -> 6 | -> -> |
VendorInternalId | InternalId do Fornecedor | -> RM -> PROTHEUS | -> TMOV.CODCOLCFO|TMOV.CODCFO -> | -> sim -> sim | -> integer|string -> varchar | -> -> 50 | -> -> O InternalId do Fornecedor é formado por EMPRESA|A2_FILIAL|A2_COD|A2_LOJA | |
StoreId | Loja | 4 | ||||||
IssueDate | Data de Emissão | -> RM -> PROTHEUS | -> TMOV.DATAEMISSAO -> SE2XX0.E2_EMISSAO | -> sim -> sim | -> datetime -> date | -> -> 8 | -> -> | |
DueDate | Data de Vencimento Original. | -> RM -> PROTHEUS | -> TMOV.DATAEXTRA1 -> SE2XX0.E2_VENCTO | -> sim -> sim | -> datetime -> date | -> -> 8 | -> -> | |
RealDueDate | Data de Vencimento Real. | |||||||
NetValue | Valor líquido. | -> RM -> PROTHEUS | -> TMOV.VALORBRUTO -> SE2XX0.E2_VALOR | -> sim -> sim | -> decimal -> decimal | -> -> 16,2 | -> -> | |
GrossValue | Valor Bruto | -> RM -> PROTHEUS | -> TMOV.VALORBRUTO -> | -> sim -> | -> decimal -> | -> -> | -> -> | |
CurrencyCode | Moeda | |||||||
CurrencyInternalID | InternalID da Moeda | |||||||
CurrencyRate | Taxa da Moeda | |||||||
ListOfSourceDocument | Nota Fiscal | |||||||
ListOfTaxes | Impostos | |||||||
ListOfApportion | Estrutura de rateio. | |||||||
Observation | Observação | 200 | ||||||
Origin | Origem | 10 | ||||||
FinancialNatureInternalId | InternalId da Natureza (Protheus) | |||||||
SourceDocument | ||||||||
Tax | ||||||||
Apportion | ||||||||
ListOfInternalId |