S++Business systems language
DEMO SOURCE · SPP / APP / PHYRead the book

inventory.app

inventory/inventory.app

Download original file · Petstore source contents

1domain inventory;23header requestContext {4    unique String globalSerialNumber;5    String callerId;6    String requestSerialNumber;7    String callMode;8    String callOrigin;9}1011header responseContext {12    String status(Default = "OK");13}1415tables roles {16    table SHOP_STOCK_SUPPLY(StockSupply) {17        primarykey(StockSupply.goods.sku);18    }19    table SHOP_STOCK(StockLine) {20        primarykey(StockLine.goods.sku);21    }22}2324scope {25    local(in requestContext, out responseContext) {26    }27}