on 08-28-2017 12:41 PM
Estimados.
Puedo a travez de TransactionNotification guardar los datos de cabecera de la factura guardarlo en otra tabla externa al momento de guardar y crear la factura.
Solo quiero grabar los datos de la cabecera (OINV).
Hola José Manuel:
Efectivamente es posible realizar lo que usted plantea, para ello solo bastaría ocupar post transaction y las condiciones que debieran cumplirse.
Atento a sus comentarios.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hola,
Probablemente sería más seguro crear un trabajo SQL independiente que seleccione los datos de OINV e insertarlos en la tabla externa. Algo como esto:
INSERT INTO ExternalDatabase.dbo.ExternalTable
SELECT DocNum, CardCode, CardName /*etcetera */
FROM B1Database.dbo.OINV
WHERE NOT DocNum IN (select DocNum from ExternalDatabase.dbo.ExternalTable)
Saludos,
Johan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.