use prefix
This commit is contained in:
@@ -18,7 +18,10 @@
|
||||
"API_BUSINESS_PARTNER": {
|
||||
"kind": "odata",
|
||||
"model": "srv/external/API_BUSINESS_PARTNER",
|
||||
"credentials": { "destination": "cap-api532" }
|
||||
"credentials": {
|
||||
"destination": "cap-api532",
|
||||
"prefix": "sap/S4HANAOD/c532/BO"
|
||||
}
|
||||
},
|
||||
"messaging": {
|
||||
"kind": "enterprise-messaging"
|
||||
|
||||
@@ -32,7 +32,7 @@ const _queriesToUpdateDifferences = (ownAddresses, remoteAddresses) =>
|
||||
})
|
||||
.filter(el => el)
|
||||
|
||||
bupaSrv.on('sap/S4HANAOD/c532/BO/BusinessPartner/Changed', async msg => {
|
||||
bupaSrv.on('Changed', 'BusinessPartner', async msg => {
|
||||
console.log('>> Message:', msg.data)
|
||||
|
||||
const BusinessPartner = msg.data.KEY[0].BUSINESSPARTNER
|
||||
|
||||
Reference in New Issue
Block a user