天天看點

hybris impex裡的小括号文法

如下圖所示:

INSERT_UPDATE Product;code[unique=true];$supercategories;manufacturerName;manufacturerAID;unit(code);ean;variantType(code);$catalogVersion;$approved

;23191;1288, brand_5;Sony;ACC-CSPW;pieces;

1

2

預設情況下,ImpEx期望字段值為主鍵primary key. 下圖這串長長的數字,代表 Hybris 機關 “pieces” 的主鍵。

Since primary keys are not usually known externally, ImpEx alternatively allows using attributes of the referenced item for lookup. They’re provided in brackets immediately after the column attribute name: ‘(’(’,’)* ‘)’.

因為主鍵一般來說對于外界消費者不可見,

hybris impex裡的小括号文法

繼續閱讀