ãã®èšäºã§ã¯ã1C + Androidã§äŒæ¥ã®ã¢ãã€ã«ã¢ããªã±ãŒã·ã§ã³ãéçºããããã»ã¹ãå€§å¹ ã«ä¿é²ããæ°è£œåãFBA Toolkitãã玹ä»ããŸãã
ãFBAããŒã«ããããã¯æ¬¡ã®ãšããã§ãã
-Javaã®ãã€ãã£ãIDEã§ã®ããã€ãã£ããAndroidã¢ããªã±ãŒã·ã§ã³ã®éçºã
-1CïŒããŒã¿ãœãŒã¹ãäŒæ¥æ å ±ã·ã¹ãã ãšããŠã®Enterprise 8.1ïŒ8.2ïŒã
ãŸã第äžã«ããã®ãã¬ãŒã ã¯ãŒã¯ã¯ãAndroidçšã®ããžãã¹ã¢ããªã±ãŒã·ã§ã³ãéçºãããããæ°ãããã©ãããã©ãŒã ãéçºããã®ãå°é£ãª1Cããã°ã©ããŒã«ãšã£ãŠæçšã§ãã Javaã®åæç¥èã¯ãéçºãéå§ããã®ã«ååã§ãã 次ã«ãã¯ã©ã€ã¢ã³ããµãŒããŒã¢ããªã±ãŒã·ã§ã³ã®å®çšçãªãããã¿ã€ãããããæ°æéã§äœæããæ¹æ³ã瀺ããŸãã
è·å Žã®æºå
éçºããã»ã¹ãçŽæ¥éå§ããåã«ãéçºè ã®è·å Žãæºåããå¿ èŠããããŸãã å¿ èŠã«ãªããŸãïŒ
1.ã€ã³ã¹ããŒã«ããã³æ§æïŒ
-Java SDK + Eclipse + Android SDK;
-WebãµãŒããŒïŒIISãŸãã¯ApacheïŒ;
-1CïŒãšã³ã¿ãŒãã©ã€ãº8.1ïŒ8.2ïŒ
2. Eclipseã®å ŽåãSVNãªããžããªããActionBarSherlockãšru_profu1c_fbaã® 2ã€ã®ã©ã€ãã©ãªãããžã§ã¯ããã€ã³ããŒãããŸãã
3.ãFBAãæ§æé åžããããã€ã³ã¹ããŒã«ãã1CããŒã¹ã®ã¢ããªã±ãŒã·ã§ã³ãœãªã¥ãŒã·ã§ã³ãšçµã¿åãããŸãã
ããªã»ããã®ããã»ã¹å šäœã«ã€ããŠã¯ãèšäºã§è©³ãã説æããŠããŸãã
éçºè ã®è·å Žãæºåãã
ãFBAãæ§æãã£ã¹ããªãã¥ãŒã·ã§ã³ã®ã€ã³ã¹ããŒã«
ãFBAãæ§æãšã¢ããªã±ãŒã·ã§ã³ãœãªã¥ãŒã·ã§ã³ã®çµã¿åããããã³WebãµãŒããŒãžã®å ¬é
ã»ããã¢ããã«ã¯ããã»ã©æéãããããªãã¯ãã§ããããããã€ã³ã¹ããŒã«æžã¿ã®å¿ èŠãªãœãããŠã§ã¢ã®äžéšã§ãã
ã¢ããªã±ãŒã·ã§ã³ã®èª¬æ
äŒæ¥ã®ç¶æ³ãå®æçã«ãããŒãžã£ãŒã«éç¥ããããã«èšèšãããã¢ãã€ã«ã¢ããªã±ãŒã·ã§ã³ããããŒãžã£ãŒãžã®ã¬ããŒãããäœæããŸãã ã¢ããªã±ãŒã·ã§ã³ã¯3ã€ã®ç»é¢ã§æ§æãããŸãã
- ããã°ã€ã³ã-ããã°ã©ã éå§æã®ãŠãŒã¶ãŒèªèšŒã
- ãã¬ããŒããªã¹ããã¯ãã¢ããªã±ãŒã·ã§ã³ã®ã¡ã€ã³ç»é¢ã§ãã å©çšå¯èœãªã¬ããŒãã®ãªã¹ãã衚瀺ããã1CããŒã¿ããŒã¹ã®ããŒã¿ã衚瀺ããã³æŽæ°ã§ããŸãã
- ãããã°ã©ã èšå®ã-ããã§ããŠãŒã¶ãŒã¯èš±å¯ãã©ã¡ãŒã¿ãŒãš1CãµãŒããŒã®ã¢ãã¬ã¹ãèšå®ãã1CãµãŒããŒãšã®èªå亀æã®ã¹ã±ãžã¥ãŒã«ãèšå®ããŸãã
ã¢ããªã±ãŒã·ã§ã³ã¯ã1CãµãŒããŒããããŒã¿ãåä¿¡ããããã®2ã€ã®ãªãã·ã§ã³ãå®è£ ããŸãã
- ã¬ããŒããå庫å ã®ååãã ãµãŒããŒäžã§çæãããHTMLããã¥ã¡ã³ããšããŠã³ã³ãã€ã«ãããã¢ãã€ã«ã¢ããªã±ãŒã·ã§ã³ã«åçŽã«è¡šç€ºãããŸãã æãåçŽãªãªãã·ã§ã³ã§ããã¬ããŒããã©ãŒã ã¯åºå®ãããŠãããå€æŽã§ããŸããã
- ã¬ããŒãã財åå®çžŸãã ããã§ã¯ãã¬ããŒãã®åæããŒã¿ãããŒãã«ã®åœ¢åŒã§ååŸããããã®åŸãã¬ããŒããäœæãããŸãã ãã®ãªãã·ã§ã³ã®ãã©ã¹ïŒä»»æã®åœ¢åŒã®ã¬ããŒãåºåãçšèŸŒã ã°ã©ãããã³ãã£ãŒãã®åœ¢åŒã§ã éžæãšãœãŒããå¯èœã§ãã
1Cã§ã®ã¢ãã€ã«ã¢ããªã±ãŒã·ã§ã³ãã³ãã¬ãŒãã®äœæ
é©ãããšã§ã¯ãªãã®ã§ãã¢ãã€ã«ã¢ããªã±ãŒã·ã§ã³ã®éçºã¯1Cããå§ãŸããŸãã ããã§ãã¡ã¿ããŒã¿ã®æ§æã決å®ãã亀æã¹ããŒã ãèšå®ããå°æ¥ã®ã¢ãã€ã«ã¢ããªã±ãŒã·ã§ã³çšã«ãã³ãã¬ãŒããåçæããŸãã
ãReport to the Managerããšããååãšèå¥åSAMPLE_REPORT_HEADã䜿çšããŠãã¢ãã€ã«ã¢ããªã±ãŒã·ã§ã³ãã£ã¬ã¯ããªã«æ°ããèŠçŽ ãäœæããŸãã
ãã¡ã¿ããŒã¿ããªã¹ãã§ãå€éšããŒã¿ãã°ã«ãŒãã匷調衚瀺ããããŒã«ããŒã®ãè¿œå ããã¿ã³ãã¯ãªãã¯ããŸãã å³ã«ç€ºãããã«ãæ°ããããŒãã«ã®ãã©ã¡ãŒã¿ãŒãå ¥åããŸãã
ãã€ã³ãžã±ãŒã¿ã -ã¬ããŒãã€ã³ãžã±ãŒã¿ã®ãã¹ãè¡šçŸãè¡ïŒ250ïŒ
ãå€ã -ã€ã³ãžã±ãŒã¿ã®æ°å€ãæ°å€ïŒ15.2ïŒ
ååãšããŠãåã®ååãšããŒãã«èªäœã¯ãã·ã¢èªã§èšå®ãããŸãããããã«åŸã£ãŠãããŒãã«ã«ã¯çµã¿èŸŒã¿ã®1Cèšèªã䜿çšããŠããŒã¿ãå ¥åãããŸãã [OK]ãã¯ãªãã¯ãããšãããŒãã«ãã¡ã¿ããŒã¿ããªãŒã«è¿œå ãããŸããã¢ãã€ã«ã¢ããªã±ãŒã·ã§ã³ã®å Žåãååã¯èªåçã«ã©ãã³ã¢ã«ãã¡ãããã«å€æãããŸãã
ãããã£ãŠãã¬ããŒãã財åææšãã®ããŒã¿ã転éããå€ã®è¡šã®æ§é ïŒ1Cã®èŠ³ç¹ããïŒãæºåããŸããã 2çªç®ã®ã¬ããŒããå庫ã®ååãã§ã¯ãããŒã¿ã¯å€éšãã¡ã€ã«ãšããŠè»¢éãããŸãã
ãExchange Schemeãã¿ãã§ããUploadããã©ã°ããã§ãã¯ãããŠããããšã確èªããŸãã ãããŠã³ããŒãããã©ã°ã¯éèŠã§ã¯ãããŸããã ã¢ãã€ã«ã¢ããªã±ãŒã·ã§ã³ãããã®ããŒãã«ã«åä¿¡ããå€æŽã1Cã§åŠçããããšã¯ãããŸããã
å€æŽãä¿åããŸãã ããŒã«ããŒã®ãã¢ãã€ã«ã¢ããªã±ãŒã·ã§ã³ãã³ãã¬ãŒãããã¿ã³ãã¯ãªãã¯ããŠãã¢ãã€ã«ã¢ããªã±ãŒã·ã§ã³ã®ãã©ã¡ãŒã¿ãŒãèšå®ããŸã
ããã³ãã¬ãŒããã£ã¬ã¯ããªã-çæãããã¢ãã€ã«ã¢ããªã±ãŒã·ã§ã³ãã³ãã¬ãŒããã¡ã€ã«ãä¿åããããã£ã¬ã¯ããªãžã®ãã¹ã
[åºæ¬]ã¿ãã§ãããã±ãŒãžã®ååãæå®ããŸããããã¯äžæã®èå¥åã§ããå¿ èŠããããŸãã Webãµã€ããããå Žåã¯ãããã䜿çšããŠãã¬ãã£ãã¯ã¹ãçæããŸãã ãã®äŸã§ã¯ã ru.profi1c.samples.report.headãæå®ããŸãã
ãWebãµãŒãã¹ãã¿ãã«ã¯IPã¢ãã¬ã¹10.0.2.2ãå«ãŸããŠããŸããããã©ã«ãã§ã¯ãAndroidãšãã¥ã¬ãŒã¿ãŒããã¢ã¯ã»ã¹ãããšãã®ã³ã³ãã¥ãŒã¿ãŒã®ã¢ãã¬ã¹ã§ãã [WebãµãŒãã¹å]ãã£ãŒã«ããš[ã¢ããªã±ãŒã·ã§ã³ãµããã£ã¬ã¯ããª]ãã£ãŒã«ãã«ãWebãµãŒãã¹ã®å ¬éæã«æå®ãããããŒã¿ãå ¥åããŸãã
1C 8.2ã§ã¯ãã»ãšãã©ã®å Žåãã¢ããªã±ãŒã·ã§ã³ã®ãµããã£ã¬ã¯ããªã«è¿œå ã®ãµããã£ã¬ã¯ããª/ ws ãã€ãŸãdemoFba / wsãããããšã«æ³šæããŠãã ããã詳现ã«ã€ããŠã¯ã ãã¡ããåç §ããŠãã ããã
[ äœæ]ãã¯ãªãã¯ãããšãAndroidãããžã§ã¯ããã³ãã¬ãŒããçæãããŸãã
1Cã®ã¬ããŒãã®åæããŒã¿ã®æºå
1Cã³ã³ãã£ã®ã¥ã¬ãŒã¿ãŒã§fbaSubscribe to Eventsã¢ãžã¥ãŒã«ãéãã BeforeSendingExternalTablesããã·ãŒãžã£ã«æ¬¡ã®ã³ãŒããè¿œå ããŸãã
(.) = "SAMPLE_REPORT_HEAD" = "" // = fba.(" , , , , , "); = (123456789); = .(); . = .; . = .(0,999999) + Sin(.(0,999)); ; ;
ãã®äŸã§ã¯ãããŒãã«ã«ãããŒããŒã¿ãå ¥åãããŠããŸããå®éã®ã¢ããªã±ãŒã·ã§ã³ã§ã¯ãããã§ä»»æã®æ°ã®ã¬ããŒãã€ã³ãžã±ãŒã¿ãŒã転éã§ããŸãã
æåã®ã¬ããŒãã®ããŒã¿ãæŽçããããšã2çªç®ã®ã¬ããŒãã®æºåãæ®ããŸãã åãã¢ãžã¥ãŒã«fbaSubscribeOn Eventsã§ã次ã®ã³ãŒããPrepare BinaryDataForSendingããã·ãŒãžã£ã«è¿œå ããŸãã
= ; (.) = "SAMPLE_REPORT_HEAD" = "REPORT_PRODUCTS_IN_STOK" = ("html"); = ..(); .HTML() = (); (); ; ; ; ;
ã³ãŒãã«ã€ããŠã³ã¡ã³ãããŸãã ã¢ãã€ã«ã¢ããªã±ãŒã·ã§ã³ããREPORT_PRODUCTS_IN_STOKããšããèå¥åãæã€ä»»æã®ããŒã¿ïŒãã¡ã€ã«åœ¢åŒïŒãèŠæ±ãããšãã¬ããŒãã1Cã§å®è¡ããããã®çµæãäžæãã¡ã€ã«ã«ä¿åãããŸãã ãã®åŸããã®äžæãã¡ã€ã«ã¯ãã€ããªããŒã¿ãšããŠèªã¿åãããã¢ãã€ã«ã¢ããªã±ãŒã·ã§ã³ã«éä¿¡ãããŸãã äžæãã¡ã€ã«ãåé€ãããŸãã
ãã®å Žåãhtmlãã¡ã€ã«ãçæããããããåé¡ã§ã¯ãããŸããã æšæºã®1Cã¡ã«ããºã ã䜿çšããŠãã¹ãã¬ããã·ãŒãããã¥ã¡ã³ããHTMLãšããŠä¿åããããHTMLãæåã§çæã§ããŸãã åºåã®äŸã¯ãæ§æãFBAãã¢ããã¬ããŒããå庫å ã®ååãã§ç¢ºèªã§ããŸãã
1Cã®ãã¹ãŠã䜿çšããŠãAndroidã§ã®ã¢ãã€ã«ã¢ããªã±ãŒã·ã§ã³ã®éçºã«é²ã¿ãŸãã
Android Design-ã¢ããªã±ãŒã·ã§ã³
1Cã§äœæãããAndroidãããžã§ã¯ããã³ãã¬ãŒãã¯ãEclipseã¯ãŒã¯ã¹ããŒã¹ã«ã€ã³ããŒããããŸãã
Eclipseãèµ·åãããããžã§ã¯ããã€ã³ããŒãããŸããFile> Import ... Androidã°ã«ãŒãã§ã ãExists Android Code Into Workspaceãã¢ã€ãã ãéžæãã ã Next ããã¯ãªãã¯ããŠãAndroidãããžã§ã¯ãã®ãã³ãã¬ãŒããã£ã¬ã¯ããªãžã®ãã¹ãæå®ãã ã Finish ããã¯ãªãã¯ããŠãæ°ãããããžã§ã¯ããã¯ãŒã¯ã¹ããŒã¹ã«è¿œå ããŸãã åé¡ãçºçããå Žåã¯ã ãã¡ããåç §ããŠãã ãããããã»ã¹ã¯åçã§èª¬æãããŠããŸãã
1.ã¬ããŒãã財åææšããäœæããŸããããŒã¿ãœãŒã¹ã¯1CããååŸããå€ã®è¡šã§ãã ãããè¡ãã«ã¯ãæ°ããToChiefReport.javaã¯ã©ã¹ãè¿œå ããŸããå®å šãªãœãŒã¹ã³ãŒãã次ã«ç€ºããŸãã
ã·ã§ãŒ
ã³ãŒãã«ã€ããŠã³ã¡ã³ãããŸãã ç¶æ¿å ã®æœè±¡ã¯ã©ã¹SimpleMapHtmlReportã¯ã2åã®ããŒãã«ãæã€åçŽãªHTMLã¬ããŒããäœæããããã«èšèšãããŠããŸãã
æåã®2ã€ã®ã¡ãœããgetResIdIconïŒïŒããã³getResIdTitleïŒïŒã¯ããªã¹ãã«è¡šç€ºããã¬ããŒãã®ã¢ã€ã³ã³ãšååãè¿ããŸãã ãbuildãã€ãã³ããã³ãã©ãŒã§makeReportã¡ãœãããåŒã³åºãããŸãããã®ã¡ãœããã§ã¯ãã¬ããŒãã®ã³ã³ãã€ã«ã®å®è£ ãè¡ãããŸãã
ã¬ããŒããäœæãããšããã¬ããŒããšããŒãã«ã®ã¿ã€ãã«ãæåã«èšå®ãããããŒã«ã«sqliteããŒãã«ã®ãã¹ãŠã®ã¬ã³ãŒããã¬ããŒãããŒãã«ã®è¡ãšããŠèªã¿èŸŒãŸããŸãã æåŸã«ãsetTableDataïŒïŒã¡ãœããã§ãã¬ããŒãããŒãã«ã®ããŒã¿ãèšå®ããŸããæçœãªããšã«ã€ããŠã³ã¡ã³ãããã®ã¯ã©ãã»ã©é£ãããã
/** * sqlite. * « » * */ public class ToChiefReport extends SimpleMapHtmlReport { @Override public int getResIdIcon() { return R.drawable.report_01; } @Override public int getResIdTitle() { return R.string.report_name_to_chief; } @Override public void build(Context context, IReportBuilderResult builderResult) { try { makeReport(context); } catch (SQLException e) { e.printStackTrace(); setHeader1(", !"); } super.build(context, builderResult); } private void makeReport(Context context) throws SQLException { DBHelper helper = new DBHelper(context); // setHeader2(" "); setTableHeader(" ", ", ."); // Map<Object, Object> mapData = new LinkedHashMap<Object, Object>(); // sqlite, // « » ExTableRaportRukovoditelyuDao dao = helper .getDao(ExTableRaportRukovoditelyu.class); List<ExTableRaportRukovoditelyu> rows = dao.select(); for (ExTableRaportRukovoditelyu row : rows) { mapData.put(row.pokazatel, row.znachenie); } setTableData(mapData); } }
ã³ãŒãã«ã€ããŠã³ã¡ã³ãããŸãã ç¶æ¿å ã®æœè±¡ã¯ã©ã¹SimpleMapHtmlReportã¯ã2åã®ããŒãã«ãæã€åçŽãªHTMLã¬ããŒããäœæããããã«èšèšãããŠããŸãã
æåã®2ã€ã®ã¡ãœããgetResIdIconïŒïŒããã³getResIdTitleïŒïŒã¯ããªã¹ãã«è¡šç€ºããã¬ããŒãã®ã¢ã€ã³ã³ãšååãè¿ããŸãã ãbuildãã€ãã³ããã³ãã©ãŒã§makeReportã¡ãœãããåŒã³åºãããŸãããã®ã¡ãœããã§ã¯ãã¬ããŒãã®ã³ã³ãã€ã«ã®å®è£ ãè¡ãããŸãã
ã¬ããŒããäœæãããšããã¬ããŒããšããŒãã«ã®ã¿ã€ãã«ãæåã«èšå®ãããããŒã«ã«sqliteããŒãã«ã®ãã¹ãŠã®ã¬ã³ãŒããã¬ããŒãããŒãã«ã®è¡ãšããŠèªã¿èŸŒãŸããŸãã æåŸã«ãsetTableDataïŒïŒã¡ãœããã§ãã¬ããŒãããŒãã«ã®ããŒã¿ãèšå®ããŸãã
2. 2çªç®ã®ã¬ããŒããäœæããŸããããã§ã¯ããã«ç°¡åã§ãã
ã·ã§ãŒ
/** * , Html . * 1 * */ public class ProductsInStokReport extends SimpleCompiledHtmlReport { // , 1 (. // MyExchangeTask) public static final String REPORT_FILE_NAME = "products_in_stok.html"; public ProductsInStokReport(File file) { super(file); } @Override public int getResIdIcon() { return R.drawable.report_02; } @Override public int getResIdTitle() { return R.string.report_name_products_in_stok; } }
3. 1CãµãŒããŒãšã®å®çŸ©æžã¿ã®äº€ææé ãæ¡åŒµããŸãã ã¹ãããããã1ã€è¿œå ããŸãã2çªç®ã®ã¬ããŒãã®ããŒã¿ãã³ã³ãã€ã«æžã¿ãã¡ã€ã«ãšããŠååŸããŸãã ExchangeTaskãã掟çããã¯ã©ã¹MyExchangeTaskãè¿œå ããŸãã
ã·ã§ãŒ
ã¬ããŒãããŒã¿ãååŸããã«ã¯ã getLargeData WebãµãŒãã¹ã¡ãœããã䜿çšããŸããæåããå Žåãæå®ãããã¹ã®ãã¡ã€ã«ã«çµæãä¿åããŸãã èå¥åID_REPORT_PRODUCTS_IN_STOKã«æ³šæããŠãã ãããããã¯ã1Cã®Prepare BinaryDataForSendã¡ãœãããšåãã§ããå¿ èŠããããŸãã
/** * . * â . * */ public class MyExchangeTask extends ExchangeTask { // 1 private static final String ID_REPORT_PRODUCTS_IN_STOK = "REPORT_PRODUCTS_IN_STOK"; public MyExchangeTask(ExchangeVariant exchangeVariant, WSHelper wsrvHelper, DBOpenHelper dbOpenHelper) { super(exchangeVariant, wsrvHelper, dbOpenHelper); } @Override protected boolean doExecute() throws Exception { // boolean success = super.doExecute(); if (success) { // - 2- onStepInfo(" âŠ"); String fPath = appSettings.getCacheDir().getAbsolutePath() + "/" + ProductsInStokReport.REPORT_FILE_NAME; File f = wsHelper.getLargeData(ID_REPORT_PRODUCTS_IN_STOK, null, "", fPath); success = (f != null); } return success; } }
ã¬ããŒãããŒã¿ãååŸããã«ã¯ã getLargeData WebãµãŒãã¹ã¡ãœããã䜿çšããŸããæåããå Žåãæå®ãããã¹ã®ãã¡ã€ã«ã«çµæãä¿åããŸãã èå¥åID_REPORT_PRODUCTS_IN_STOKã«æ³šæããŠãã ãããããã¯ã1Cã®Prepare BinaryDataForSendã¡ãœãããšåãã§ããå¿ èŠããããŸãã
4.ã¡ã€ã³ãã©ãŒã ã«ã¬ããŒãã®ãªã¹ãã衚瀺ããŸãã res \ activity_main.xmlãã¡ã€ã«ãéããã¬ããŒãã®ãªã¹ãã衚瀺ããlistViewãè¿œå ããŸãã
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".MainActivity" > <ListView android:id="@android:id/list" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" > </ListView> </RelativeLayout>
MainActtiviy.javaã«ä»¥äžãè¿œå ããŸãã
aïŒãªã¹ãã®ããŒã«ã«å€æ°
private ListView list;
bïŒåæåã¡ãœãã
private void init() { list = (ListView) findViewById(android.R.id.list); // ReportListAdapter adapter = new ReportListAdapter(this,createReportList()); list.setAdapter(adapter); list.setOnItemClickListener(new OnItemClickListener() { @Override public void onItemClick(AdapterView<?> parent, View view, int position, long id) { // IReport report = (IReport) list.getItemAtPosition(position); report.onShow(MainActivity.this); } }); }
ãã©ãŒã ã®ã¬ã€ã¢ãŠããèšå®ããåŸãonCreateïŒïŒã§åŒã³åºã
setContentView(R.layout.activity_main); init();
cïŒã¬ããŒãã®ãªã¹ããåæåããæ¹æ³
/* * */ private List<IReport> createReportList() { List<IReport> lst = new ArrayList<IReport>(); // , // IReport report = new ProductsInStokReport(new File(getAppSettings() .getCacheDir(), ProductsInStokReport.REPORT_FILE_NAME)); lst.add(report); // lst.add(new ToChiefReport()); }
dïŒã«ãŒã«ã«åŸã£ãŠäº€æãéå§ããæé
/* * . , * ( ) */ private void startExchangeMyRules(ExchangeVariant variant,boolean cancelable) { // web- WSHelper wsHelper = new WSHelper(getExchangeSettings()); MyExchangeTask task = new MyExchangeTask(variant, wsHelper, getHelper()); startExchange(task, cancelable); }
ãããŠãonOptionsItemSelectedãã³ãã©ãŒã®startExchange亀ææé ïŒExchangeVariant.FULLãtrueïŒãžã®åŒã³åºããstartExchangeMyRulesïŒExchangeVariant.FULLãtrueïŒã«å€æŽããŸãã
ã¢ããªã±ãŒã·ã§ã³ã®æºåãæŽã ãæ¿èªãã©ãŒã ãšããã°ã©ã èšå®ãèªåçã«äœæãããŸãããããã¯å€æŽããŸããã
ãšãã¥ã¬ãŒã¿ã§ãã¹ãããŠã¿ãŸãããã ã©ãã§ãééããç¯ããŠããªãå Žåã¯ãã¢ããªã±ãŒã·ã§ã³ãèµ·åããŸãã ãã ããèªèšŒããŒã¿ïŒãŠãŒã¶ãŒåãšãã¹ã¯ãŒãïŒãæå®ãããŠããªããããèªèšŒãŠã£ã³ããŠã®ä»£ããã«ãèšå®ãŠã£ã³ããŠãããã«è¡šç€ºãããŸãã
ãŠãŒã¶ãŒåãå ¥åããŠãã ããïŒ ivanov
ãã¹ã¯ãŒãïŒ 123456
1CããŒã¿ããŒã¹ãèµ·åããMobile Employeesãã£ã¬ã¯ããªãéããŸãã ã¢ãã€ã«ããã€ã¹ãšããŠãå®çŸ©æžã¿ã®èŠçŽ ãããã€ã¹ãšãã¥ã¬ãŒã¿ããæå®ãã衚圢åŒã®ã»ã¯ã·ã§ã³ãã¢ãã€ã«ã¢ããªã±ãŒã·ã§ã³ãã§ãReport to the Managerãã¢ããªã±ãŒã·ã§ã³ãè¿œå ãããŠãŒã¶ãŒåãšãã¹ã¯ãŒããåäžã«èšå®ããŸãã
ãšãã¥ã¬ãŒã¿ã§äº€ææé ãéå§ããŸãïŒå³åŽã®ããã«ã«ããäžåãç¢å°ã®ãã¿ã³ïŒ
亀æã®çµæãéç¥ã«è¡šç€ºãããŸãã
ãããã¯ãªãã¯ããŠã¢ããªã±ãŒã·ã§ã³ãèµ·åããŸãïŒãŸãã¯äº€æã倱æããå Žåã«è©³çŽ°ãªãšã©ãŒæ å ±ã衚瀺ããŸãïŒã
äœãèµ·ãã£ããã確èªããŸãããã ãªã¹ãå ã®ã¬ããŒããã¯ãªãã¯ããŸãã
ã·ã§ãŒ
ãããïŒ ã¬ããŒãã衚瀺ããããã¿ã³ãŸãã¯ãžã§ã¹ãã£ãŒãæ¡å€§ã§ããŸãã
ãããïŒ ã¬ããŒãã衚瀺ããããã¿ã³ãŸãã¯ãžã§ã¹ãã£ãŒãæ¡å€§ã§ããŸãã
ã¢ããªã±ãŒã·ã§ã³ã®æºåãæŽããéåžžã«æ©èœçã§ç°¡åã«æ¡åŒµã§ããããšãå€æããŸããã ä»ã®ã¬ããŒããè¿œå ããããšã¯é£ãããããŸããã
* .docãŸãã¯* .pdfãªã©ã®ããŸããŸãªåœ¢åŒã®ããã¥ã¡ã³ãã転éããå€éšã¢ããªã±ãŒã·ã§ã³ã䜿çšããŠè¡šç€ºã§ããŸãã äŸã«ã€ããŠã¯ãœãŒã¹ã³ãŒããåç §ããŠãã ãããããã«3ã€ã®ã¬ããŒãããããŸãã
- ã°ãŒã°ã«ãã£ãŒãããŒã«ã䜿çšãããã£ãŒã
- jQuery Plotãã©ã°ã€ã³ã䜿çšããã°ã©ã
- å€éšã¢ããªã±ãŒã·ã§ã³ã«ããPDFã¬ããŒãåºåïŒPdfReport.javaïŒ
詳现ã¯èª¬æããŸããã®ã§ãèšäºã¯å€§ãããªããŸããã ã質åãããå Žåã¯ãã³ã¡ã³ãã§ãçãããŸãã åºåã®åºåã¯æ¬¡ã®ãšããã§ãã
ã·ã§ãŒ
å®å šãªãµã³ãã«ã³ãŒãã¯https://xp-dev.com/svn/fba_toolkit_public/samples/fbaSample4ReportHead/ããããŠã³ããŒãã§ããŸãã
HTMLã䜿çšããŠã¬ããŒããäœæãããšã次ã®ãããªéåžžã«å€æ§ãªã¬ããŒããäœæã§ããŸãã ã€ã³ã¿ã©ã¯ãã£ããªèŠçŽ ã䜿çšããŸãã ããšãã°ãç§ãã¡ã®ãããžã§ã¯ãã®1ã€ã§ã¯ããã®ã¬ããŒããããã§äœ¿çšãããŠããŸãã
ã·ã§ãŒ
- ãè² åµããã£ãŒã«ãã®å Žåãéé¡ã«å¿ããŠæ¡ä»¶ä»ãé è²ã䜿çšãããŸãã
- æªæãã®è«æ±æžã®å®å šãªãªã¹ãã¯ãããã¹ãŠãããŒã«ãŒãã¯ãªãã¯ãããšãã«ã®ã¿éããŸããããã©ã«ãã§ã¯ãæåŸã®4ã€ã ãã衚瀺ãããŸãã
ãããŠãã¡ãããããªãã¯äœã«ãå¶éãããŠããŸããããµãŒãããŒãã£ã®ã©ã€ãã©ãªã䜿çšããŠãã¬ããŒããã°ã©ããããšãã°achartengineã衚瀺ããããç¬èªã®ã°ã©ããã°ã©ããèªåã§äœæãããã§ããŸãïŒAndroid SDKãå«ãå€ãã®äŸããããŸãïŒã
ããã ãã§ããä»ã®äŸã§ã¯ããµã€ãhttp://profi1c.ruã§èŠã€ããããšãã§ããŸãã
è¿ãå°æ¥ãFBAã©ã€ãã©ãªã®ã€ã³ã¿ã©ã¯ãã£ããªèŠçŽ ãšã¢ããã¿ãŒã«é¢ããã¬ãã¹ã³ãè¿œå ãããªãã©ã€ã³mapforgeããããæäœããæ¹æ³ã瀺ãäºå®ã§ãã
è»èã§é£ã¶
FBA Toolkit補åã¯åçšããŒã¹ã§é åžãããäºå®ã§ãçŸåšã¯ããã¢çãã®ç¶æ ã§ãã ãã¹ããåŠç¿ã«èªç±ã«äœ¿çšã§ããŸãã
å¶éäºé ïŒ
- ãã¢ã©ã€ã»ã³ã¹ã®æåŸã§ããã°ã©ã ãæ©èœããªããªã 12/31/13ã®åŸ;
- èµ·åæã«ãéç¥ã衚瀺ãããŸãã
è¿ãå°æ¥ïŒ1ãæ以å ïŒåçšçãæäŸãããäºå®ã§ããã³ã¹ããšã©ã€ã»ã³ã¹ã®æç¶ãã«é¢ããæ å ±ãWebãµã€ãã«è¿œå ããŸãã
æåŸãŸã§èªãã§ãããŠããããšãã 1CãšAndroidã®äž¡æ¹ã®ã³ã¡ã³ãã§è³ªåã«çããæºåãã§ããŠããŸãã