.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
BusinessPartner;BusinessPartnerFullName
|
||||
ACME;A Company Making Everything
|
||||
B4U;Books for You
|
||||
S&C;Shakespeare & Co.
|
||||
WSL;Waterstones
|
||||
TLD;Thalia
|
||||
PNG;Penguin Books
|
||||
|
2
suppliers/test/data/sap.capire.bookshop-Books.csv
Normal file
2
suppliers/test/data/sap.capire.bookshop-Books.csv
Normal file
@@ -0,0 +1,2 @@
|
||||
ID;title;descr;author_ID;stock;price;currency_code;genre_ID;supplier_ID;
|
||||
299;Mobby Dick;"""Moby-Dick""" or """The Whale""" is an 1851 novel by American writer Herman Melville. The book is the sailor Ishmael's narrative of the obsessive quest of Ahab, captain of the whaling ship Pequod, for revenge on Moby Dick, the giant white sperm whale that on the ship's previous voyage bit off Ahab's leg at the knee. A contribution to the literature of the American Renaissance, Moby-Dick was published to mixed reviews, was a commercial failure, and was out of print at the time of the author's death in 1891.;105;99;15.20;GBP;11;ACME
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 30.
|
3
suppliers/test/data/sap.capire.bookshop-Suppliers.csv
Normal file
3
suppliers/test/data/sap.capire.bookshop-Suppliers.csv
Normal file
@@ -0,0 +1,3 @@
|
||||
ID;name
|
||||
ACME;A Company Making Everything (replicated)
|
||||
|
||||
|
1
suppliers/test/index.cds
Normal file
1
suppliers/test/index.cds
Normal file
@@ -0,0 +1 @@
|
||||
using from '../srv/mashup';
|
||||
7
suppliers/test/mocked.js
Normal file
7
suppliers/test/mocked.js
Normal file
@@ -0,0 +1,7 @@
|
||||
let { API_BUSINESS_PARTNER:S4 } = cds.services
|
||||
|
||||
// Mocking event emitter according to:
|
||||
// https://api.sap.com/event/SAPS4HANACloudBusinessEvents_BusinessPartner/resource
|
||||
S4.after ('UPDATE', 'A_BusinessPartner', data =>
|
||||
S4.emit ('BusinessPartner.Changed', { BusinessPartner: data.BusinessPartner })
|
||||
)
|
||||
Reference in New Issue
Block a user