ä»åã¯ãERPã·ã¹ãã ã®ãããã¯ã«æ»ãããšã«ããŸããã SAP補åã©ã€ã³ã«ã¯ãå€åœç±äŒæ¥ããäžå°äŒæ¥ãŸã§ãããŸããŸãªèŠæš¡ã®äŒæ¥åãã®ããŸããŸãªè£œåããããŸãã çµã¿åããããããŸã-äŒæ¥ãè€æ°ã®ã¿ã€ãã®ERPãäžåºŠã«äœ¿çšããå Žåãæ¬ç€Ÿããã³æ¯ç€Ÿçšã ãã®ãããªå Žåã¯2ã¬ãã«ERPãšåŒã°ããSAP Business Oneã¯ã軜éãã·ã¹ãã ãšããŠåªããŠããŸãã ãã®èšäºã§ã¯ã詳现ãšçµ±åã®è©³çŽ°ã«ã€ããŠèª¬æããŸãã
ããããæåã«ã2ã€ã®ã¬ãã«ã®ERPãšã¯äœããšãã質åã«çããŸãããã
ã2ã¬ãã«ERPããšããçšèªã¯å€ãã®äººã«ããç¥ãããŠããŸãã 2ã¬ãã«ã®ERPã·ã¹ãã ã®æŠå¿µã¯ãåäŒç€ŸãŸãã¯æ¯åºã®ã¬ããŒãããã³ããžãã¹ã¢ããªã±ãŒã·ã§ã³ã®çµ±äžãããæšæºãå¿ èŠãšããäŒæ¥ã§äœ¿çšãããŸãã å°èŠæš¡ããžãã¹ãŠãããã§ã¯ãå€ãã®çç±ã§ãä»ã®ããžãã¹ããã»ã¹ãåŸæ¥å¡ã®é©å¿ã®é£ãããå±éã«æéãããããªã©ã倧ããªERPã䜿çšããã®ã¯çŸå®çã§ã¯ãããŸããã ãããŠãããã«ã¹ã¿ãããã¬ãŒãã³ã°ã®ããã®æéãè¿œå ãããšãã·ã¹ãã ãç¶æããããã®ã³ã¹ããããããŸãããããã ãã§40ã®ãã©ã³ãã«äžåºŠã«ã倧ããªããœãªã¥ãŒã·ã§ã³ãå®è£ ããå¿ èŠããããŸãã æ¯èŒã®ããã«ããå°ããªããœãªã¥ãŒã·ã§ã³ãæ°é±éã§å®è£ ã§ããŸãã
2ã¬ãã«ã®ERPã¯ã倧äŒæ¥ã ãã§ãªãããæ¬ç€Ÿ=>æ¯åºããšããé¢ä¿ãæã€ä»æ¥ã§ãé©çšå¯èœã§ãã ãã®æŠç¥ã¯ããµãã©ã€ã€ããã£ã¹ããªãã¥ãŒã¿ããã£ãŒã©ãŒãããã³ãµãŒãã¹çµç¹ãšååãããšãã«å®è¡å¯èœã§ãã
欧å·ã®ã¯ã©ã€ã¢ã³ãã®äŸã¯ãã¹ãã€ã³ã®ãã€ãã±ã³ã§ãã 圌ãã«ã¯ã泚æãåšåº«ç§»åãæ¯æãè«æ±æžã«é¢ãã600ã®æµéæ¥è ãšã¹ãã€ã³ã®ãã€ãã±ã³éã®ããŒã¿äº€æã確ç«ãããã¹ãŠã®ããã»ã¹ãèªååããæ¹æ³ããããŸããã ãã®çµæãå瀟ã¯SAP Business Oneã«åºã¥ããœãªã¥ãŒã·ã§ã³ã®éçºã決å®ããŸããã
Heinekein Spainã¯ãã¢ãã®ã€ã³ã¿ãŒãããã䜿çšããã·ããªãªãèãåºããŸãããããŒã«ã¿ããã«çµã¿èŸŒãŸããŠãã30äžä»¥äžã®ã»ã³ãµãŒããããŒã¿ãåéããŸãã äŒç€Ÿã¯ãåäžã®æ å ±ã·ã¹ãã ããããŒã«æ¶è²»ã«é¢ããæ å ±ãåãåããŸãã ãã®çµæããã€ãã±ã³ã¯ã販売ãã£ãã«ãããé©åã«ç®¡çãã販売ãã§ãŒã³ãæé©åããããã©ãŒãã³ã¹ãæ¹åããæ¹æ³ãå®çŸããŸããã ãŸããããŒã«ã®æ¶è²»ã«é¢ããããŒã¿ããªã¢ã«ã¿ã€ã ã§åä¿¡ãå§ããŸããããã¿ãããããã³ã«ããšèšã人ããããããããŸããã
2ã¬ãã«ã®ERPã·ã¹ãã ã§ã¯ããã¹ãŠãå®ç§ãšããããã§ã¯ãããŸããã ããŸããŸãªã·ã¹ãã ãçµ±åãããšãã«ã©ã®ãããªåé¡ãçºçããå¯èœæ§ãããããèŠãŠã¿ãŸãããã
ãªãæ¯åºãåäŒç€Ÿã«ERPã·ã¹ãã ãå°å ¥ããã®ã§ããïŒ ãã¡ããã倧äŒæ¥ã倧äŒæ¥ã§ã¯ãããžãã¹ããã»ã¹ã«é¢ããééçãªåæãã¬ããŒããåãåããããšèããŠããŸãã ããã«ããã®ãããªåé¡ã¯ãã°ãã°çºçããŸããåæ¯åºã§ã¯ãå°å ã®å°é家ã«ãšã£ãŠäŸ¿å©ãªç¬èªã®ãœãªã¥ãŒã·ã§ã³ãå°å ¥ãããã®çµæãã·ã¹ãã ãšãµãŒãã¹ã®ãåç©åããäŒç€Ÿã«çŸããŸãã ãããŠãã¡ããããããã¯ããŸããŸãªçç±ã§èŠªERPãšäºææ§ããªãå ŽåããããŸããããšãã°ãéããAPIã䜿çšãããœãªã¥ãŒã·ã§ã³ã®äœ¿çšãåå ã§ãã ãã®å Žåãåäžã®ã¬ããŒãããŸãã¯ããžãã¹ããã»ã¹ã®èªååãæåŸ ããããšã¯ã§ããŸããã
SAPã«ã¯äœããããŸããïŒ ããŸããŸãªã¿ã¹ã¯ãšç®æšã«å¯Ÿå¿ããERPã·ã¹ãã ã®ã©ã€ã³ãããããããŸãã è€éãªããžãã¹ããã»ã¹ãæã€äŒæ¥ã®å ŽåããééçŽããå¿ èŠã§ããããã§ã¯ãS / 4HANAãECCããŸãã¯R / 3ãéžæããŸãã çµç¹ã«ãšã£ãŠãSAP Business Oneã¯ããã·ã³ãã«ãŸãã¯å°èŠæš¡ã§ãã åæã«ãB1ã¯å€§èŠæš¡ãªSAPãœãªã¥ãŒã·ã§ã³ïŒS / 4HANAãHybrisãAribaãCustomer CheckoutãConcurãã¢ãã€ã«ã¢ããªã±ãŒã·ã§ã³ãããã«ã¯æ¿åºãµãŒãã¹ãªã©ïŒãšç°¡åã«çµ±åã§ããŸãã
çµ±åãµãŒãã¹ã®éçºã®ããã®SAP Business Oneã®æ©äŒã¯äœã§ããïŒ
- SAP Business One SDK / DI-APIã«ããçµ±åã®ããã®.Netéçº
- ãµãŒãã¹å±€ãä»ããçµ±åã®ããã®.NetéçºïŒSAP HANAã®SAP Business OneããŒãžã§ã³ã§äœ¿çšå¯èœïŒ
- çµ±åãã¬ãŒã ã¯ãŒã¯
æ©èœãã¿ãŒã²ãããªãŒãã£ãšã³ã¹ãã¹ã³ãŒããè¡šã«ç€ºããŸãã
次ã®èšäºã§ã¯ãçµ±åãã¬ãŒã ã¯ãŒã¯ã«ã€ããŠè©³ãã説æããŸãã
çµ±åãã¬ãŒã ã¯ãŒã¯
SAP Business One Integration FrameworkïŒB1iFïŒã¯ãããŒãžã§ã³8.8以éã®SAP Business One ERPã·ã¹ãã ã§äœ¿çšã§ããŸãã SAP HANAãŸãã¯MS SQLããŒã¿ããŒã¹ã«ã€ã³ã¹ããŒã«ã§ããŸãã B1iFã®äž»ãªã¿ã¹ã¯ã¯ãå€éšïŒSAPããã³éSAPïŒã·ã¹ãã ããããŒã¿ãéåä¿¡ããããšã§ãã çµ±åã¹ã¯ãªããããã±ãŒãžã¯ãIntegration Frameworkå ã§æ§ç¯ãããŸãã ã¹ã¯ãªããããžãã¯ã¯ããžãã¹ããã»ã¹ã«åºã¥ããŠããŸãããšã©ãŒç®¡çã競åããã©ã³ã¶ã¯ã·ã§ã³ïŒããã³ãã®å®è¡é åºïŒãå®è¡ä¿èšŒãç£èŠããããã°ãããã³ç®¡çã¯B1iFã§å®è¡ãããŸãã
2ã€ã®ã·ã¹ãã ãçµ±åããã·ããªãªãéçºããã«ã¯ãããã°ã©ãã³ã°ã®ã¹ãã«ã¯å¿ èŠãããŸããã
ããã»ã¹ã·ãŒã±ã³ã¹ã¯ããã©ãããã©ãŒã ã®çµã¿èŸŒã¿ã°ã©ãã£ãã¯ãã¶ã€ããŒã䜿çšããŠèšå®ãããŸãã B1iF BizFlow Atomsã®çµã¿èŸŒã¿æ©èœãŠãããã¯ãå€ã®ãããã³ã°ãã³ãŒã«ã®ã»ããã¢ããïŒSAP Business OneãSAP ERPãHTTPãSQLããã¡ã€ã«ã·ã¹ãã ãªã©ïŒãXSLTå€æã«äœ¿çšãããŸãã ããŒã¿ãããã³ã°ã¯ãçµã¿èŸŒã¿ïŒãŸãã¯å€éšïŒXMLãšãã£ã¿ãŒã®XSLTå€æã䜿çšããŠå®è¡ãããŸãã ãããã°ããŒã«ã䜿çšãããšãæ§é åãããèŠèŠçãªåœ¢åŒã§åã ã®ããã»ã¹ã·ãŒã±ã³ã¹ãéçºã§ããŸãã
çµ±åãã©ãããã©ãŒã ã§å®è¡ãããçµ±åã¹ã¯ãªããã¯ãã¹ã¯ãªããããã±ãŒãžãšåŒã°ããŸãã ã·ã¹ãã éã®å šäœçãªããŒã¿äº€æã«å¿ èŠãªãã®ã¯ãã¹ãŠãã¹ã¯ãªããããã±ãŒãžã«å«ãŸããŠããŸãã
ã¹ã¯ãªããããã±ãŒãžã«ã¯ã1ã€ä»¥äžã®ã¹ã¯ãªããã¹ããããå«ãŸããŸãã ã¹ã¯ãªããã¹ãããã¯ãã€ã³ããŠã³ããã§ãŒãºãåŠçãã§ãŒãºãã¢ãŠãããŠã³ããã§ãŒãºãå«ãç¹å®ã®çµ±åãããŒã§ãã
第1ãã§ãŒãºã§ã¯ãçµ±åãã©ãããã©ãŒã ãçä¿¡ã¡ãã»ãŒãžãåä¿¡ãããããXML圢åŒã«å€æããŸãã åŠç段éã§ã¯ãã¡ãã»ãŒãžãå€æããã³åŠçãããåä¿¡è ãèå¥ãããã¡ãã»ãŒãžãã©ã¡ãŒã¿ãŒãæ¯èŒãããŸãã åºå段éã§ãçµ±åãã©ãããã©ãŒã ã¯ã¡ãã»ãŒãžãåä¿¡è ã®ERPã·ã¹ãã 圢åŒã«å€æããã¡ãã»ãŒãžãéä¿¡ããŸãã
ã¹ã¯ãªããã¹ããããèšèšããããã»ã¹ã§ã¯ãäž»ãªãã©ã¡ãŒã¿ãŒãèšå®ããå¿ èŠããããŸããã¹ãããã®éå§æ¹æ³ãã·ã¹ãã ãçžäºäœçšããæ¹æ³ãçµ±åãã©ãããã©ãŒã ãã¡ãã»ãŒãžãåŠçããæ¹æ³ãããã«ã¹ãããããããã©ããïŒå€éšã·ã¹ãã ã®åŒã³åºããªã©ïŒã
ã¹ã¯ãªããã®æé ã¯æ¬¡ã®ãšããã§ãã
1.åæïŒèŠæ±/å¿çïŒïŒ
-éä¿¡è ã¯ãã¹ãããã®å®è¡ãéå§ãããªã¯ãšã¹ãã圢æããŸã
-åŠççµæã¯å¿çãšããŠéä¿¡è ã«è¿ãããŸã
2.éåæïŒéä¿¡è ããåä¿¡è ãžïŒïŒ
-ã¿ã€ããŒãã€ãã³ãããŸãã¯åŒã³åºãã«ãã£ãŠããªã¬ãŒ
-ããŒã¿ã¯éä¿¡ã·ã¹ãã ããéä¿¡ããããã€ã§ãåŠçãããå€æãããåä¿¡è ã«éä¿¡ãããŸã
ã€ã³ããŠã³ããã£ãã«ã¯ãéä¿¡ãã©ãããã©ãŒã ã®ã¿ã€ããšãçµ±åãã©ãããã©ãŒã ãåä¿¡ããŒã¿ãåä¿¡ããããã«äœ¿çšã§ããã€ã³ã¿ãŒãã§ãŒã¹ïŒAPIïŒãèšè¿°ããŸãã åä¿¡ãã£ãã«ãšããŠãHTTPããã¡ã€ã«ã空ã®ã¡ãã»ãŒãžïŒVoidïŒã¿ã€ããŒïŒïŒãWebãµãŒãã¹ãSAP Business OneãSAP ERPã䜿çšã§ããŸãã
çºä¿¡ãã£ãã«ã¯ãåä¿¡ã·ã¹ãã ã®ã¿ã€ããšãããŒã¿è»¢éã®ããã«çµ±åãã©ãããã©ãŒã ã§äœ¿çšãããã€ã³ã¿ãŒãã§ãŒã¹ïŒAPIïŒãèšè¿°ããŸãã éä¿¡ãã£ãã«ãšããŠãHTTPããã¡ã€ã«ã空ã®ã¡ãã»ãŒãžïŒç¡å¹ãåæã¹ãããã®ã¿ïŒãWebãµãŒãã¹ãããŒã¿ããŒã¹ãSAP Business Oneããã³SAP ERPãéžæã§ããŸãã
åŠç段éã§ã¯ã°ã©ãã£ãã¯ããŒã«ã䜿çšãããŸãã äž»ãªèšèšèŠçŽ ã¯ã¢ãã ã§ãã ã¢ãã ã¯é çªã«é 眮ãããå€éšã·ã¹ãã ïŒSQLããŒã¿ããŒã¹ãé»åã¡ãŒã«ãªã©ïŒãåŒã³åºãããã«äœ¿çšãããŸãã åã¢ãã ã¯çä¿¡ã¡ãã»ãŒãžãåä¿¡ããç¹å®ã®ã¿ã¹ã¯ãå®è¡ããã¡ãã»ãŒãžã次ã®ã¢ãã ã«æž¡ããŸãã
çµ±åã¹ãããéã§ããŒã¿ã転éããããã«ãå éšãã¥ãŒåŠçã¡ã«ããºã ã䜿çšãããŸãã ãããã£ãŠãçµ±åæé ã¯ã¹ã¯ãªããããã±ãŒãžã«çµåã§ããŸãã
çµ±åã·ããªãªéçºã®äŸ
ããžãã¹ã§ã¯ãããã»ã¹ã«é¢ããããŒã¿ãžã®ãªã¢ã«ã¿ã€ã ã¢ã¯ã»ã¹ãšãæäœæ¥ã®èªååãå¿ èŠã§ãã ããã»ã¹ã®èªååã¯ãäŒæ¥ãã¯ãŒã¯ããŒããæé©åããæ å ±ãéä¿¡ããéã®ãšã©ãŒã®ãªã¹ã¯ãæžããã®ã«åœ¹ç«ã¡ãŸãã ãµãã©ã€ã€ãŒã®ã·ã¹ãã ãŸãã¯ç¹å®ã®ã¿ã€ãã®ããžãã¹ãšã®çµ±åã«ããããããã®ãªã¹ã¯ãæé€ãããŸãã
顧客ãšãµãã©ã€ã€ãšãã2ã€ã®ã·ã¹ãã ã®çµ±åã®ç°¡åã§å®çšçãªäŸãèŠãŠã¿ãŸãããã 䞡瀟ã¯SAP Business Oneã§åããŠããããã§ãã¯ã¢ãŠãããã»ã¹ãèªååããããšèããŠããŸãã ãã®äŸã§ã¯ãäŒç€Ÿ1ã®ãè³Œå ¥æ³šæããäŒç€Ÿ2ã«è»¢éãããããã§ã販売泚æãããã¥ã¡ã³ããçæãããŸãã äŒç€Ÿ2ã¯ãäŒç€Ÿ1ãžã®æ³šæã®åœ¢æã確èªããŸãã
çµ±åã·ããªãªã¯ãäŒç€Ÿ1ã§ãçºæ³šæžãããã¥ã¡ã³ããäœæããããšã§èµ·åã§ããŸããã·ããªãªã«ã¯2ã€ã®çµ±åæé ããããŸãã
- æåã®ã¹ãããã§ãã¢ãã B1ãªããžã§ã¯ãåŒã³åºãã䜿çšããŠãäŒç€Ÿ2ã§ã販売泚æãããã¥ã¡ã³ããçæãããŸãã
- åŒã³åºãã¹ãããã¢ãã ã¯ã2çªç®ã®ã¹ãããã«ãã€ã³ãããããã«äœ¿çšãããŸã
- 2çªç®ã®ã¹ãããã§ã¯ãäŒç€Ÿ1ã®ãŠãŒã¶ãŒã«ãäœæãããã販売泚æãããã¥ã¡ã³ãã®ã¹ããŒã¿ã¹ãéç¥ãããŸãã
çµ±åã·ããªãªãå®è¡ããã«ã¯ãäŒç€Ÿã®ãã¹ã¿ãŒããŒã¿ã³ãŒã1ãå¿ èŠã§ãããã®ããŒã¿ã¯ã泚æãã«å«ãŸããŠããããçµ±åãã©ãããã©ãŒã ã«éä¿¡ãããŸããã ãã®æ å ±ãä¿åããã«ã¯ãã°ããŒãã«ããŒãã«ã䜿çšã§ããŸãã ã°ããŒãã«ããŒãã«ã®ãã©ã¡ãŒã¿ãŒãèšå®ããã«ã¯ãã°ããŒãã«ããŒãã«ã®ã¿ã€ãïŒãªã¬ãŒã·ã§ã³1ã®ã¿ã€ã1 <-> 1ããªã¬ãŒã·ã§ã³1ã®ã¿ã€ã2 <-> NïŒãããŒãã«ãã£ãŒã«ãã®é·ããããã³ååã決å®ããå¿ èŠããããŸãã
ã°ããŒãã«ããŒãã«ãäœæããããããŒã¿ãå ¥åã§ããŸãã
次ã«ãçµ±åã¹ããã1ã§ãçä¿¡ãã£ãã«ãå®çŸ©ããŸãã
- ãã£ãã«ã¿ã€ã-SAP Business One
- B1ã€ãã³ãã®éå§ïŒææžãè³Œå ¥æ³šæãã®äœæïŒ
- 䜿çšãããèå¥åã¯ãªããžã§ã¯ãIDãè³Œå ¥æ³šæãã§ãïŒ22ïŒ
- ã¿ã€ãObjectã®DI-APIã«ããããŒã¿ã®åä¿¡
çºä¿¡ãã£ãã«ã§ã¯ã空ã®ã¡ãã»ãŒãžïŒvoidïŒãéžæããŸãã åä¿¡è ã·ã¹ãã ã¯ãããŸããïŒ
ã¡ãã»ãŒãžåŠçããã»ã¹ã®æ§æã«ç§»ããŸãããã ååã®çªå·ä»ãã¯ãããã»ã¹ã«è¿œå ãããé åºã§å®è¡ãããŸãã
å€æã¢ãã ïŒatom1ïŒã¯ãªãã·ã§ã³ã§ãã åŸã§ä»ã®ã¢ãã ã§äœ¿çšããããã«ãèµ·åæ¡ä»¶ãšéä¿¡åŽã·ã¹ãã ã«é¢ããæ å ±ãä¿åã§ããŸãã äŒç€Ÿ1ã®CustomerCodeå€ã¯ãã°ããŒãã«ããŒãã«ããèªã¿èŸŒãŸããŸãã ãŠãŒã¶ãŒIDå€ã¯ããè³Œå ¥æ³šæããäœæããçä¿¡B1ã€ãã³ãã®XMLå€æã®TïŒããªã¬ãŒïŒã»ã¯ã·ã§ã³ããéžæãããŸãã
<Values> <xsl:variable name="MappingCardCode" select="document('/com.sap.b1i.vplatform.scenarios.design/vPac.xxx.B2BB1/vTbl.B1MappingCardCode.xml')"></xsl:variable> <xsl:variable name="Vendor" select="$msg/BOM/BO/Documents/row/CardCode"></xsl:variable> <xsl:variable name="Customer" select="$MappingCardCode/table/row[./col[2]=$Vendor]/col[1]"></xsl:variable> <CustomerCode> <xsl:value-of select="$Customer"></xsl:value-of> </CustomerCode> <B1User> <xsl:value-of select="/vpf:Msg/vpf:Body/vpf:Payload[./@Role='T']/Event/b1e:b1events/b1e:b1event/b1e:userid"></xsl:value-of> </B1User> </Values>
B1 Objectã¢ãã ïŒatom2ïŒãæ§æãããšãã次ã®ãã©ã¡ãŒã¿ãŒã䜿çšããŸãã
- SysidïŒçµ±åãã©ãããã©ãŒã ã§SAP Business Oneã«ãã£ãŠå²ãåœãŠãããID
- B1ãã°ã€ã³ïŒçµ±åãã©ãããã©ãŒã ã®èšå®ããå²ãåœãŠãããŸã
- æ¹æ³ïŒåæ
- ãªããžã§ã¯ãèå¥åïŒ17ïŒè²©å£²æ³šæïŒ
- ããŒåïŒDocEntry
- ããŒå€ïŒN / AïŒSAP Business Oneã§ããã¥ã¡ã³ããäœæããããšãã«èªåçã«å ¥åãããŸãïŒ
- ãã€ããŒãïŒå è¡ããå€æã¢ãã ã®åå
B1 Objectã¢ãã ã®åã«ã以åã®å€æã¢ãã ïŒatom3ïŒã䜿çšããŸãã ãã®ã¢ãã ã¯ãã¢ãã 2ïŒB1ãªããžã§ã¯ãïŒã«ããŒãããããã®æ å ±ãæºåããŸãã
[ããã¥ã¡ã³ã]ã»ã¯ã·ã§ã³ã§ãããã¥ã¡ã³ããSales Orderãã®ã¿ã€ãã«ã®å€ã決å®ããå¿ èŠããããŸãã
- äŒç€Ÿ1ã®äŒç€Ÿãã¹ã¿ãŒããŒã¿ã³ãŒãïŒCardCodeïŒ
- ããã¥ã¡ã³ãã®æ¥ä»ïŒDocDateïŒã¯ãçŸåšã®æ¥ä»ãšæå»ãè¿ãçµ±åãã©ãããã©ãŒã ã«çµã¿èŸŒãŸããæ¥ä»ãšæå»ã®é¢æ°ãåŒã³åºãããšã§èšå®ãããŸã
- åºè·æ¥ïŒDocDueDateïŒã¯DocDateã«åºã¥ããŠèšç®ãããŸã
Document_Linesã»ã¯ã·ã§ã³ã¯ã販売泚æããã¥ã¡ã³ãã®è¡ãå®çŸ©ããŸãã å¿ èŠãªæ å ±ã¯ãçä¿¡ææžãçºæ³šæžãã®ã»ã¯ã·ã§ã³SïŒéä¿¡è ã·ã¹ãã ããã®ã¡ãã»ãŒãžãéä¿¡è ã¡ãã»ãŒãžïŒããæœåºãããŸãã
<Documents> <row> <xsl:variable name="date"> <xsl:call-template name="b1ilib.today"></xsl:call-template> </xsl:variable> <DocDate> <xsl:value-of select="$date"></xsl:value-of> </DocDate> <DocDueDate> <xsl:call-template name="b1ilib.date_plus"> <xsl:with-param name="date" select="$date"></xsl:with-param> <xsl:with-param name="x" select="20"></xsl:with-param> </xsl:call-template> </DocDueDate> <xsl:variable name="Customer" select="/vpf:Msg/vpf:Body/vpf:Payload[./@id='atom1']/Values/CustomerCode"></xsl:variable> <CardCode> <xsl:value-of select="$Customer"></xsl:value-of> </CardCode> <NumAtCard> <xsl:value-of select="$msg/BOM/BO/Documents/row/DocNum"></xsl:value-of> </NumAtCard> </row> </Documents> <Document_Lines> <xsl:for-each select="$msg/BOM/BO/Document_Lines/row"> <row> <ItemCode> <xsl:value-of select="ItemCode"></xsl:value-of> </ItemCode> <Quantity> <xsl:value-of select="Quantity"></xsl:value-of> </Quantity> </row> </xsl:for-each> </Document_Lines> <xsl:include href="../../com.sap.b1i.system.lib/xsl/datetime.xsl"></xsl:include>
çµäºã¢ãã ïŒatom0ïŒã¯ãååãšããŠãåä¿¡ã·ã¹ãã ã«éä¿¡ããããã«ããŒã¿ãå€æããŸãã ãã®ã·ããªãªã§ã¯ã空ã®ã¡ãã»ãŒãžïŒvoidïŒãçºä¿¡ãã£ãã«ã®ã¿ã€ããšããŠéžæãããŸãã ãã ãããã°ãšã³ããªãäœæããã«ã¯ããã®ã¢ãã ãå®çŸ©ããå¿ èŠããããŸãã ãã®èŠçŽ ã«ã¯ãDIresultããã³DImsgå±æ§ãå«ãŸããŸãã DImsgå±æ§ã«ã¯ãäœæãããããã¥ã¡ã³ãã®ããŒïŒã¹ã¯ãªãããæ£åžžã«å®äºããå ŽåïŒãŸãã¯ãšã©ãŒã¡ãã»ãŒãžïŒå®è¡ã倱æããå ŽåïŒãå«ãŸããŠããå¿ èŠããããŸãã
<xsl:variable name="Status" select="$msgB1/@DIresult"></xsl:variable> <xsl:variable name="Entry" select="$msgB1/@DImsg"></xsl:variable> <Msg> <xsl:value-of select="concat('Message: ',$Status, ', DocEntry: ',$Entry)"></xsl:value-of> </Msg>
Atom4ãšatom5ã¯2çªç®ã®çµ±åã¹ãããã«å±ããŸããäŒæ¥ãŠãŒã¶ãŒ1ã«ã¡ãã»ãŒãžãéä¿¡ããŸããåŒã³åºãã¢ãã ïŒåŒã³åºãã¹ãããã¿ã€ãïŒã¯ãåã®å€æã¢ãã ãæå³ããŸããã ããã§ããæåã®ã¹ãããã®å Žåã®ããã«ãã¢ãã 4ã«ã€ããŠã¯ãåã®å€æã¢ãã ïŒã¢ãã 5ïŒãå®çŸ©ããŸãã atom5ã®ãã©ã¡ãŒã¿ãŒã§ã¯ãåŒã³åºãããã¢ãã ã«éä¿¡ãããããŒã¿ã瀺ããŸãã ãã®å Žåããã®ããŒã¿ã«ã¯ãDIresultå±æ§ïŒB1 Objectã¢ãã ã®åŠççµæïŒããã³SAP Business OneãŠãŒã¶ãŒã³ãŒãïŒB1UserïŒãæã€èŠçŽ ãå«ãŸããŸãã
<B1Result> <Result> <xsl:value-of select="/vpf:Msg/vpf:Body/vpf:Payload[./@id='atom2']/@DIresult"></xsl:value-of> </Result> <B1User> <xsl:value-of select="/vpf:Msg/vpf:Body/vpf:Payload[./@id='atom1']/Values/B1User"></xsl:value-of> </B1User> </B1Result>
åŒã³åºãã¢ãã ã«å¯ŸããŠããã©ã¡ãŒã¿ãŒãèšå®ããŸãã
- åŒã³åºãããã¢ãã ã®åŠçã®ã¿ã€ãïŒåæãŸãã¯éåæïŒ
- åååãšåŒã°ãã
- å ¥åãã©ã¡ãŒã¿ãŒãæã€ã¢ãã ïŒå€æã®åã®ã¢ãã ïŒ
2çªç®ã®çµ±åã¹ãããã®åœ¢æã«é²ã¿ãŸãã ææžäœæããã»ã¹ã®çµæã«å¿ããŠãäŒç€Ÿã®ãŠãŒã¶ãŒ1ã«ç°ãªãã¡ãã»ãŒãžãéä¿¡ããŸãã ãããè¡ãã«ã¯ãåå²éå§ã®ã¿ã€ãã®ã¢ãã ã䜿çšããŸãã
æ¡ä»¶ä»ãã®ã¢ãã ã®å Žåããã¹ã¿ã€ãã®è€æ°ã®ã¢ãã ãšãã以å€ã®ã¿ã€ãã®1ã€ã®ã¢ãã ã®ã¿ã䜿çšã§ããŸãã çµ±åãã©ãããã©ãŒã ã¯ããã¹ã®å®è¡æã«ã®ã¿çã®çµæã§åäœããŸãã ãããã£ãŠããã®å Žåããã¹ã¢ãã ã®æ¡ä»¶ãèšå®ããã ãã§ãã
/*[/vpf:Msg/vpf:Body/vpf:Payload[./@Role='S'.BIZ/B1Result/Result = 'success']
ãã以å€ã®ã¢ãã ã¯ããã¹ã¢ãã ã®çµæãfalseã®å Žåã«ã®ã¿æ©èœããŸãã éåå²ã¢ãã ã¯åå²ãå®äºããååæ¡ä»¶ã®çµæãå«ã¿ãŸãã
B1ã¡ãã»ãŒãžã®ã¢ãã ã®ãã©ã¡ãŒã¿ãŒã§ã¯ããŠãŒã¶ãŒæ å ±ãšåæ§ã«ä»¶åãšã¡ãã»ãŒãžããã¹ããæå®ããå¿ èŠããããŸã
/vpf:Msg/vpf:Body/vpf:Payload[./@Role='S'.BIZ/B1Result/B1User
2çªç®ã®çµ±åã¹ãããã®æåŸã®ã¢ãã ã§ã¯ãåå²ã®å®äºã確èªããå¿ èŠããããŸãã ãããè¡ãã«ã¯ãçµ±åãã©ãããã©ãŒã ã«ä¿åãããŠããXSLãã³ãã¬ãŒãã䜿çšã§ããŸãã
ã¹ã¯ãªããã®ã¢ã¯ãã£ãåãšæ€èšŒ
çµ±åãã©ãããã©ãŒã ã¯ãã¹ã¯ãªããèšå®ãŠã£ã³ããŠãéããšãã«çµ±åã¹ã¯ãªããã®æŽåæ§ããã§ãã¯ããŸãã
ãã®å Žåãæ€èšŒã¯æåããã¹ã¯ãªããã®å®è¡ãéå§ã§ããŸãã
ãµãã©ã€ã€V22222ããäŒç€Ÿ1ã®ããŒã¿ããŒã¹ã«ãè³Œå ¥æ³šæããäœæããŸãã
ããã¥ã¡ã³ãã®äœæåŸã泚æãæ£åžžã«äœæããããšãããŠãŒã¶ãŒB1iããã®éç¥ã衚瀺ãããŸãã
äŒç€Ÿ2ã¯ããè³Œå ¥æ³šæãã®ããŒã¿ãšäŒç€Ÿ1ã®ããã¥ã¡ã³ãã®çªå·ã§ã販売泚æããäœæããŸããã
ãããã«
çµè«ãšããŠãç§ãã¡ã®ã¯ã©ã€ã¢ã³ãã§ãããã©ãã«ç€Ÿããã®ãããªãèŠãããšããå§ãããŸãã å瀟ã¯ã芪äŒæ¥ãšå€§èŠæš¡ãªæ¯åºïŒSAP ERPïŒãããã³å°èŠæš¡ãªåäŒç€ŸïŒSAP Business OneïŒã§2ã¬ãã«ã®ERPæŠç¥ãé·å¹Žç©æ¥µçã«äœ¿çšããŠããŸããã ãã®ãããªã§ã¯ã DeLavalã®ããžãã¹çµ±åãã£ã¬ã¯ã¿ãŒã§ããSteve Woodgateãã第2ã¬ãã«ã®ERPãšããŠSAP Business Oneãéžæããçç±ãšçµæã«ã€ããŠèª¬æããŠããŸãã
SAP Business Oneã®å®è£ äŸã¯ãåœç€Ÿã®Webãµã€ãã§ã芧ããã ããŸãã
ãœãªã¥ãŒã·ã§ã³æ©èœã®ã¬ãã¥ãŒä»ããããªã¯ãYouTubeãã£ã³ãã«ã§ã®ã¿å©çšã§ããããã§ã¯ãããŸããã
次åã®èšäºã§ã¯ãSAP Business One 9.3ã®æ°ããŒãžã§ã³ã®æ©èœã«ã€ããŠèª¬æããŸããSAPBusiness One 9.3ã¯ãSAPãšã客æ§ã®äž¡æ¹ã«ãã£ãŠç©æ¥µçã«ãã¹ããããŠããŸãã ã¡ãªã¿ã«ãSAP Business OneããŒãžã§ã³9.3ã®äžçã§æåã®ãçããŠããã顧客ã®1人ã¯ããã·ã¢ã®Telecom Exchangeã®é¡§å®¢ã§ããã ã¯ã©ã€ã¢ã³ãã®ã³ã¡ã³ãä»ãã®ãããªã¯ãã¡ãã§ã芧ããã ããŸãïŒ youtu.be/GTgm-nJddDI
èªãã§ãã£ãŒãããã¯ããŠãããŠããããšãïŒ