comment
This commit is contained in:
@@ -37,7 +37,7 @@ module.exports = cds.service.impl(async () => {
|
|||||||
bupa.on('BusinessPartner/Changed', async msg => {
|
bupa.on('BusinessPartner/Changed', async msg => {
|
||||||
console.log('>> received:', msg.data)
|
console.log('>> received:', msg.data)
|
||||||
|
|
||||||
const contact = msg.data.KEY[0].BUSINESSPARTNER
|
const contact = msg.data.KEY[0].BUSINESSPARTNER //> S/4HANA's weird payload format
|
||||||
const { SELECT, UPDATE } = cds.ql(msg) //> convenient alternative to <srv>.transaction(req).run(SELECT...)
|
const { SELECT, UPDATE } = cds.ql(msg) //> convenient alternative to <srv>.transaction(req).run(SELECT...)
|
||||||
|
|
||||||
// fetch affected entries from local replicas
|
// fetch affected entries from local replicas
|
||||||
|
|||||||
Reference in New Issue
Block a user