Coolite 交流

SAP MM配置不求人:手把手教你搞定OMSK评估类(附标准物料类型对照表) 本文深入解析SAP MM模块中OMSK评估类的配置方法,详细讲解评估类与物料类型的匹配逻辑,并提供标准物料类型对照表。通过实战案例和配置指南,帮助用户掌握评估类的定义与科目设置,确保库存价值核算的准确性。 阅读详情

近来不知什么原因,发现国人有不少开始学习Coolite了,对于有些人可能不知道什么是Coolite,这里先简单介绍一下:

Coolite Toolkit
简介
Coolite Toolkit 是一个支持ASP.NET AJAX的Web控件。
Coolite Toolkit是基于跨浏览器的ExtJS 库开发而来的,并且简化了开发步骤,并且包含有丰富的Ajax运用。
Coolite Toolkit和ExtJS 都是开源的。
官方主页:http://coolite.com
下载地址:http://coolite.com/download
Samples: http://examples.coolite.com


而且我在cnblogs 建立了小组,用cnblogs的可以去加入:http://space.cnblogs.com/group/coolite/   (csdn 管理员不要踢我  -  。-!)


另外最近我加入了讨论Coolite的Q群:86399374


先给那些没有用过ExtJs 或 Coolite 的朋友打一下预防针-- 很多人都知道extjs控件又大又慢,但因为它界面美观,ajax+json操作简单方便,因此作为企业应用还是不错的选择。而Coolite基于extjs,因此无可避免也是继承这个缺点(我现在用的0.7版本的dll有6M多)。但是用了Coolite,你就可以省掉一大串那样管理的js代码了,界面完全可以用它来简单配置就得到很cool的效果,js只是作为少量的客户端操作。


Coolite最大不足是:还是开发阶段,bug不少。


废话少说,给你一个简单的ajax例子,你就明白为什么我喜欢它了:


1. AjaxEvet:

//这是一个服务端方法

    protected void UpdateTimeStamp(object sender, AjaxEventArgs e)
{
this.SetTime();
}

//Html 调用上述方法
<ext:Button ID="Button1" runat="server" Text="Click Me">
<AjaxEvents>
<Click OnEvent="UpdateTimeStamp">
<EventMask ShowMask="true" MinDelay="500" Msg="Updating TimeStamp..." />
</Click>
</AjaxEvents>
</ext:Button>

OnEvent="UpdateTimeStamp" 就是指点击按钮后调用服务端方法UpdateTimeStamp 来更新某个标签的时间

2. AjaxMethod:

<script runat="server">
[AjaxMethod]
public void SetTimeStamp()
{
this.Label1.Text = string.Concat("Server Time: ", DateTime.Now.ToLongTimeString());
}
</script>

<ext:Button ID="Button5" runat="server" Text="Click Me" Icon="Lightning">
<Listeners>
<Click Handler="Coolite.AjaxMethods.SetTimeStamp();" />
</Listeners>
</ext:Button>

第一次用coolite的人基本都会漏掉配置这一至关重要的环节。

如果想开启ajax事件,请记得在web.config 里做以下配置:


    <httpHandlers>
      <add path="*/coolite.axd" verb="*" type="Coolite.Ext.Web.ResourceManager" validate="false"/>      
    </httpHandlers>


    <httpModules>     
      <add name="AjaxRequestModule" type="Coolite.Ext.Web.AjaxRequestModule, Coolite.Ext.Web"/>
    </httpModules>


    <modules>
      <!--Coolite Config-->
      <add name="AjaxRequestModule" preCondition="managedHandler" type="Coolite.Ext.Web.AjaxRequestModule, Coolite.Ext.Web"/>
    </modules>


   <handlers>
      <!--Coolite Config-->
      <add name="AjaxRequestHandler" verb="*" path="*/coolite.axd" preCondition="integratedMode" type="Coolite.Ext.Web.ResourceManager"/>
    </handlers>


官方关于配置的详细说明文件:


   
--------------------------------------------------------------------------
                         SAMPLE WEB.CONFIG
--------------------------------------------------------------------------

<?xml version="1.0"?>
<configuration>
  <configSections>
    <section name="coolite" type="Coolite.Web.UI.GlobalConfig" requirePermission="false" />
  </configSections>
 
  <!-- 
      COOLITE GLOBAL CONFIGURATION PROPERTIES
     
      ajaxEventUrl : string
          The url to request for all AjaxEvents.
          Default is "".
                     
      ajaxMethodProxy : ClientProxy
          Specifies whether server-side Methods marked with the [AjaxMethod] attribute will output configuration script to the client.
          If false, the AjaxMethods can still be called, but the Method proxies are not automatically generated.
          Specifies ajax method proxies creation. The Default value is to Create the proxy for each ajax method.
          Default is 'Default'. Options include [Default|Include|Ignore]
     
      ajaxViewStateMode : ViewStateMode
          Specifies whether the ViewState should be returned and updated on the client during an AjaxEvent.
          The Default value is to Exclude the ViewState from the Response.
          Default is 'Default'. Options include [Default|Exclude|Include]

      cleanResourceUrl : boolean
          The Coolite controls can clean up the autogenerate WebResource Url so they look presentable.       
          Default is 'true'. Options include [true|false]

      clientInitAjaxMethods : boolean
          Specifies whether server-side Methods marked with the [AjaxMethod] attribute will output configuration script to the client.
          If false, the AjaxMethods can still be called, but the Method proxies are not automatically generated.
          Default is 'false'. Options include [true|false]
         
      gzip : boolean
          Whether to automatically render scripts with gzip compression.       
          Only works when renderScripts="Embedded" and/or renderStyles="Embedded".      
          Default is true. Options include [true|false]

      scriptAdapter : string
          Gets or Sets the current script Adapter.    
          Default is "Ext". Options include [Ext|jQuery|Prototype|YUI]

      renderScripts : ResourceLocationType
          Whether to have the coolite controls output the required JavaScript includes or not.      
          Gives developer option of manually including required <script> files.       
          Default is Embedded. Options include [Embedded|File|None]

      renderStyles : ResourceLocationType
          Whether to have the coolite controls output the required StyleSheet includes or not.      
          Gives developer option of manually including required <link> or <style> files.      
          Default is Embedded. Options include [Embedded|File|None]

      resourcePath : string
          Gets the prefix of the Url path to the base ~/Coolite/ folder containing the resources files for this project.
          The path can be Absolute or Relative.

      scriptMode : ScriptMode
          Whether to include the Release (condensed) or Debug (with inline documentation) Ext JavaScript files.      
          Default is "Release". Options include [Release|Debug]
        
      sourceFormatting : boolean
          Specifies whether the scripts rendered to the page should be formatted. 'True' = formatting, 'False' = minified/compressed.
          Default is 'false'. Options include [true|false]
     
      stateProvider : StateProvider
          Gets or Sets the current script Adapter.
          Default is 'PostBack'. Options include [PostBack|Cookie|None]
         
      theme : Theme
          Which embedded theme to use.      
          Default is "Default". Options include [Default|Gray|Slate]
         
      quickTips : boolean
          Specifies whether to render the QuickTips. Provides attractive and customizable tooltips for any element.
          Default is 'true'. Options include [true|false]
  -->

  <coolite theme="Default" />

 
  <!--
      The following system.web section is only requited for running ASP.NET AJAX under Internet
      Information Services 6.0 (or earlier).  This section is not necessary for IIS 7.0 or later.
  -->
  <system.web>
      <httpHandlers>
      <add path="*/coolite.axd" verb="*" type="Coolite.Ext.Web.ResourceManager" validate="false" />
    </httpHandlers>
      <httpModules>
          <add name="AjaxRequestModule" type="Coolite.Ext.Web.AjaxRequestModule, Coolite.Ext.Web" />
      </httpModules>
  </system.web>
 
 
    <!--
      The system.webServer section is required for running ASP.NET AJAX under Internet Information Services 7.0.
      It is not necessary for previous version of IIS.
  -->
    <system.webServer>
        <validation validateIntegratedModeConfiguration="false"/>
        <modules>
            <add name="AjaxRequestModule" preCondition="managedHandler" type="Coolite.Ext.Web.AjaxRequestModule, Coolite.Ext.Web" />
        </modules>
        <handlers>
            <add name="AjaxRequestHandler" verb="*" path="*/coolite.axd" preCondition="integratedMode" type="Coolite.Ext.Web.ResourceManager"/>
        </handlers>
    </system.webServer>
</configuration>


SAP 物料主数据 Accounting 视图,估价层级、分割评估与标准成本的实施底账 SAP物料主数据的Accounting视图是MM、FI、CO、PP模块的关键连接点,直接影响库存价值核算和总账科目更新。该视图的核心功能包括:通过valuation class实现物料分类和自动科目确定;通过price control(标准价S或移动平均价V)控制价格差异处理方式;通过valuation level(工厂或公司代码级)决定数据维护层级。文章特别强调了实际项目中常见的痛点:价格单位设置错误导致金额偏差、valuation level选择不当影响多工厂核算、price control类型与业务场 阅读详情

相关推荐

coolite

ext 的.NET 控件,新手入门用

SAP定义评估类 Valuation class

在MM03显示物料的会计核算1视图中,我们会看到评估类别、评估级别字段。在成本核算2视图还有评估类字段。那么评估类,评估类别,评估级别各是什么意思呢? 评估类valuation class,连接移动类型与财务科目。与物料类型,移动类型一起确定唯一的记账科目。因为ERP系统的以财务以核心及高度集成等特点,若能在后勤操作的同时自动记账而不是由财务人员手动控制,才能达到真正的集成效果。用事物码OMSK或

少年休闲海 2万+

coolite toolkit 0.8.2目前官方最高版本

coolite toolkit框架。学习coolite的好资料。

SAP-MM 如何修改物料主数据的评估类

如何修改主数据的评估类,其基本步骤如下: 1. 先判断是否需通过修改物料类型修改评估类(MMAM),这种情况是指物料类型选择错误导致评估类也错误,此时可以通过MMAM修改物料类型来修改评估类。 如果不能通过MMAM修改评估类,直接需要通过MM02修改评估类,常规步骤如下: 1. 相关的未清采购订单的处理,需标记删除。 2. 相关的未清生产订单的处理,需标记删除。 3. 库存价值调整为0,当期交易的话可冲销相关移动来实现,前期已有的交易则需要把库存转移到中间科目,修改完毕后,再转回来。 4. 修改

weixin_52158549的博客 6643

【转】评估类型 评估类别 评估类

https://blog.csdn.net/zhongguomao/article/details/13629065?locationNum=6&fps=1 https://blog.csdn.net/kangliujie/article/details/76681333 名词解释 评估类:valuation class   是连接移动类型与财务科目。与物料类型,移动类型一起确定唯一的记账科目。   因为SAP系统的以财务以核心及高度集成等特点,若能在后勤操作的同时自动记账而不是由财务人员手动控制,

carolxiaoyi的博客 6533

Coolite 交流(转)含简单配置说明

近来不知什么原因,发现国人有不少开始学习Coolite了,对于有些人可能不知道什么是Coolite,这里先简单介绍一下: Coolite Toolkit 简介 Coolite Toolkit 是一个支持ASP.NET AJAX的Web控件。 Coolite Toolkit是基于跨浏览器的ExtJS 库开发而来的,并且简化了开发步骤,并且包含有丰富的Ajax运用。 Coolite Too...

weixin_30699741的博客 60

Coolite笔记Coolite笔记

CooliteCoolite笔记Coolite笔记

coolite 代码教程

coolite 代码教程:1.入门 2.程序设计 3.基础用法 4 组件的使用

小河哥的个人技术博客开通了

今天终于抽出一个时间来建立个人博客。本博客主要提供技术文章分享和写一些自己最近的想法。希望大家多多支持哦。。。不管你在任何地方遇到困难。只要我会的。我都会耐心的帮你解答。 本博客将会开通几个主要的栏目,.NET专题。COOLITE专题以及前台设计等。 转载于:https://www.cnblogs.com/xiaohege/archive/2010/09/18/1830345....

weixin_30909575的博客 95

Coolite之TreePanel右键功能菜单

Coolite有段时间了,项目也做了几个,总体来说功能还是很不错。现有拿出TreePanel右键功能菜单和大家交流下。 功能如上图: 要点。1、TreePanel右键菜单显示与后台交互。 2、win窗口数据显示与取值 3、确定删除操作 现在具体功能详细说明下。 1、右键功能菜单 右键功能菜单1<ext:MenuID="cmenu"runat="server"&gt...

weixin_34008805的博客 153

Coolite Toolkit中文学习教程-关于AjaxMethod()方法的重新认识

关于AjaxEvent、AjaxMethod和Listeners的使用,请参看博客园: Bēniaǒ成长笔记Coolite Toolkit学习笔记一:AjaxEvent、AjaxMethod和Listeners 当时,他的 Coolite Toolkit学习笔记二:服务器端Alert,Confirm,Prompt 提出了一个问题,当时没有得以解决,我也给出了自己观点. 情景如下:&...

diwen8138的博客 160

Coolite Toolkit学习笔记系列文章

      Coolite Toolkit 是一个支持ASP.NET AJAX的Web控件。它是基于跨浏览器的ExtJS 库开发而来的,并且简化了开发步骤,并且包含有丰富的Ajax运用,同ExtJS 一样都是开源的。现将个人对这套控件的学习笔记文章目录整理如下,以方便大家查阅,欢迎您对此系列文章提出宝贵意见及错误指正,大家相互交流、学习,共同进步。      本系列笔记中示例所使用的开发环境及Co

努力并不一定成功,但放弃却一定会失败! 2990
上一篇: 关于IIS操作Excel的问题详细解决方案
下一篇: 如何用Live Writer 发表Csdn 博客文章
fengart
博客等级 码龄20年 91粉丝 45原创
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值