Histórico da Página
...
Portuguese | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Função: LOJA1156JobPermite efetuar a geração da carga da Venda Assistida Off-Line sem a interação do usuário. Esta função não deve ser colocada diretamente no appserver.ini. Para utilização, deve ser criado um job que faça a abertura do ambiente e chame a função Loja1156Job(). LOJA1156Job ( < oTransferTables> <cTableGroup> ) --> Nil
Nil (Nulo) // Para a criação do objeto oTransferTables, utilizar como exemplo o seguinte código:oTransferTables := LJCInitialLoadTransferTables():New() oTable1 := LJCInitialLoadCompleteTable():New( "SA1", { xFilial( "SA1" ) } )oTable2 := LJCInitialLoadCompleteTable():New( "SB0", { xFilial( "SB0" ) } ) oTable3 := LJCInitialLoadCompleteTable():New( "SB1", { xFilial( "SB1" ) } ) oTable4 := LJCInitialLoadCompleteTable():New( "SLK", { xFilial( "SLK" ) } ) oTable5 := LJCInitialLoadCompleteTable():New( "SAE", { xFilial( "SAE" ) } ) oTable6 := LJCInitialLoadCompleteTable():New( "SE4", { xFilial( "SE4" ) } ) oTable7 := LJCInitialLoadCompleteTable():New( "SF4", { xFilial( "SF4" ) } ) oTable8 := LJCInitialLoadCompleteTable():New( "SA6", { xFilial( "SA6" ) } ) oTable9 := LJCInitialLoadCompleteTable():New( "SLF", { xFilial( "SLF" ) } ) oTable10 := LJCInitialLoadCompleteTable():New( "SA6", { xFilial( "SA6" ) } ) oTable11 := LJCInitialLoadCompleteTable():New( "SLF", { xFilial( "SLF" ) } ) oTable12 := LJCInitialLoadCompleteTable():New( "SA3", { xFilial( "SA3" ) } ) oPTable1 := LJCInitialLoadPartialTable():New( "SX5" )oPTable1:AddRecord( 1, " 23" ) oSTable1 := LJCInitialLoadSpecialTable():New( "SBI", { { xFilial( "SBI" ) }, "" } ) oTransferTables:AddTable( oTable1 )oTransferTables:AddTable( oTable2 ) oTransferTables:AddTable( oTable3 )oTransferTables:AddTable( oTable4 ) oTransferTables:AddTable( oTable5 ) oTransferTables:AddTable( oTable6 ) oTransferTables:AddTable( oTable7 ) oTransferTables:AddTable( oTable8 ) oTransferTables:AddTable( oTable9 ) oTransferTables:AddTable( oTable10 ) oTransferTables:AddTable( oTable11 )oTransferTables:AddTable( oTable12 ) oTransferTables:AddTable( oPTable1 )oTransferTables:AddTable( oSTable1 )
Pré-requisito Para o seu correto funcionamento é necessário efetuar os seguintes passos:
TOTVS Application Server 10 / TOTVS Application Server 11 |