Protheus - Guia Cloud TOTVS - TDN   

1. VISÃO GERAL

Implementada a funcionalidade de Integração BackOffice do sistema Microsiga Protheus® (Importante: para release 12.1.25 ou superior) com o sistema  E-Commerce da VTEX®, possibilitando a troca de informações e processos detalhados abaixo.

Os dados são enviados/recebidos por meio da mensagem padronizada TOTVS com a funcionalidade EAI (Enterprise Application Integration), disponível no módulo Configurador.

Nesse modelo as integrações serão direcionandas diretamente a rotina FINA040 (Titulos a Receber). 


2. DETALHAMENTO


{
    "Header": {
        "Version""1.000",
        "CompanyId""T1",
        "BranchId""D MG 01",
        "BusinessUnit""MG ",
        "GeneratedOn""2021-06-09T11:53:47Z",
        "Enterprise""T1",
        "ProductVersion""12",
        "SourceApplication""VTEX",
        "ProductName""VTEX",
        "Transaction""FINANCEVTEX",
        "StandardVersion""1.000",
        "UUID""000000000000000860",
        "SubType""event",
        "Type""BusinessMessage",
        "DeliveryType""async"
    },
    "Content": {
        "Event""upsert",
        "Documents": [
            {
                "Prefix""001",
                "DocumentCode""000001",
                "CustomerVendorInternalId""",
                "ECommerceOrder""000001",
                "TotalPrice"200.00,
                "CurrencyCode""1",
                "CustomerCode""000001",
                "CustomerStore""01",
                "FinanceNature""999999",
                "IssueDate""24/06/2021",
                "RealDate""24/06/2021",
                "Observation""OBSERVACAO",
                "PaymentMethodCode""CC",
                "BankCode""237",
                "AgencyCode""00000",
                "AccountCode""0000000000",
                "PaymentDetail": [
                    {
                        "FinancialManagerCode""001",
                        "UniqueSerialNumber""123456",
                        "DateOfPayment""2020-11-26T00:00:00",
                        "PaymentValue"100,
                        "Parcel""2"
                    }
                ]
            }
        ]
    }
}



<!-- esconder o menu --> 


<style>
div.theme-default .ia-splitter #main {
    margin-left: 0px;
}
.ia-fixed-sidebar, .ia-splitter-left {
    display: none;
}
#main {
    padding-left: 10px;
    padding-right: 10px;
    overflow-x: hidden;
}

.aui-header-primary .aui-nav,  .aui-page-panel {
    margin-left: 0px !important;
}
.aui-header-primary .aui-nav {
    margin-left: 0px !important;
}
</style>