当前位置:文档之家› SAP MM移动类型概念详述

SAP MM移动类型概念详述

SAP MM移动类型概念详述
SAP MM移动类型概念详述

SAP MM移动类型概念详述

时间:2010-09-11 11:54来源:SAP MM 作者:SAP MM 点击:次

什么是移动类型?

当你在SAP系统输入一个货物移动时,你必须输入一个移动类型来区分不用的货物移动。一个移动类型是由3个数字组成的检索表。下表中包含了几个移动类型的例子。

Goods Movements and Movement Types货物移动与移动类型

移动类型的控制功能,在库存管理中,移动类型有着重要的控制功能。

移动类型的控制功能

在库存管理中,移动类型有着重要的控制功能。

例如,移动类型扮演着这样的角色:

?数量值的更新

?库存及消耗科目的更新

?定在系统输入一个凭证时,哪一个栏位会被显示

货物移动在系统中产生的结果

Use用法

当你输入一个货物移动时,你便开始了如下一系列的事件:

?一个物料凭证会被创建,可以被用来作为移动的证明,及作为其它任何相关应用的一个信息来源。

?如果移动跟财务会计有关,同时还会另外产生一个或多个会计凭证。

?物料的库存数量被更新

?物料主数据的库存价值被更新,例如库存及消耗科目

根据移动类型,在参与的应用中会产生额外的数据更新。所有的更新都是基于包含在物料凭证及会计凭证的信息的。例如,有关成本中心的发货,行项目中的消耗值也同样会更新。

移动类型的使用

(MM-IM)库存管理(MM-IM)

分类码指定了物料移动的类型(例如,收货,发货,库存转储)

移动类型能够激发系统去查找过帐规则,以确定财务会计系统的科目(库存及消耗科目)如何记帐,以及物料主数据中的库存值如何更新。

(LE)后勤执行(LE)

分类码在仓库管理系统中用来描述在一个复杂的仓库(仓库号)中的库存移动

(IS-H)用于医院的特定行业组件(IS-H) (略)

复制,更改移动类型

在这个步骤中,你可以

? 修改已存在的移动类型的设置

? 定义新的移动类型

当你输入一个货物移动,你始终必须输入一个移动类型。移动类型在库存管理中有着重要的控制功能。它对下列动作是必不可少的:

? 更新数量栏位

? 更新库存及消耗科目

? 选定用于输入凭证的字段

? 打印收货/发货标签

注意

在其它步骤中,你已经完成了现有的移动类型的设置。意思是说,通常地,你没有必要去维护已有的移动类型。

在这个步骤中,不同的移动类型控制标识分别存在于几个视图中(例如,输入控制,过帐控制)。你可以在各个视图中定义相关的控制标识。

一些控制标识不仅取决于移动类型,而且还跟其它因素(例如,借/贷标识,特殊库存标识,数量和价值更新标识)有关,你可以在不同视图中找到一个移动类型的几个条目。这些条目必须含盖系统中遍布的所有可能的数据。

标准设置

在标准系统中,移动类型为所有的事务/事件预置好了。

建议

SAP推荐你认可标准系统中定义好的设置。在这种情况下,你不必作任何改动。

当然,如果你必须定义新的移动类型,建议你参考已有的移动类型来创建这些新的移动类型。如此一来,你就不必手动去维护那些控制标识了。

作业

检查你能否使用系统预置的移动类型。

如果没有,你可以根据下列步骤定义新的移动类型:

1.首先执行这个操作(事务代码:OMJJ),系统弹出字段选择对话框。在这里,你可以使

用几个字段作为条件来限定移动类型的范围。复制一个移动类型,要选定移动类型字段和选择继续按钮。出现确定工作区对话框。

2.在确定工作区对话框中,输入你想复制的移动类型的范围(从:到:),选择继续按钮。

3.选定你想复制的移动类型,选择编辑->复制为…。

将选定的移动类型改写为新的移动类型(以9, X, Y,或Z打头),及复制所有附属的条目。系统将从参考的移动类型中复制所有的控制标识到新的移动类型中。

4.检查新移动类型的所有视图,如果有必要,可以修改控制标识。注意一些视图会有一个

详细的屏幕。

5.复制冲销移动类型,及在回转/后续移动类型视图中维护这个冲销的移动类型。

6.保存你的设置。

@1A@Caution警告

移动类型有一个重要的控制功能。特别地,它们在物料主记录的库存数量和库存价值更新中,扮演着主要的角色。更改一些控制标识(比如数量串和价值串)会被认为是一个(评估)修改。请注意从一个错误的移动类型的设置中出现的,基于(评估)修改的新的错误结果,而且这个结果无法通过SAP Hotline(SAP热线)来修正的。

1移动类型

101 Goods receipt for purchase order or order 101有关采购订单或生产订单的收货

如果采购订单或订单没有指定科目,其库存类型(非限制使用库存、质量检验库存、冻结库存)可以在收货的时候输入。

如果采购订单或订单已经存在科目分配,收货没有过帐到仓库库存中,而是过帐到消耗中(PS.如成本中心、固定资产、办公用品等)。

对于无评估物料的情况,收货时也会过帐到仓库中,尽管采购订单中没有分配科目。

相关的特殊库存标识:有关寄售库存采购订单的收货。

相关的特殊库存标识:

? K有关寄售库存采购订单的收货

? O有关委外加工库存采购订单的收货(分包)

? E有关销售订单库存的收货

? Q有关项目库存采购订单的收货

有关分包订单的收货:在收货时,组件的消耗过账也会同时进行(参见移动类型543)(PS.委外加工后返回的物料,原先在库存中的状态为:分包,在101收货的同时,系统会自动作543的转储动作将物料从分包库存转储到非限制自有库存中)。

有关库存转储订单的收货:收货时,在接收工厂中,转储数量从在运库存过帐到非限制库存(质量检验或冻结库存)中。

103有关采购订单的收货到GR冻结区

你不能从库存转储订单收货到GR冻结库存中。

K, O, E, Q

105有关采购订单的从GR冻结区释放到非限制库存

移动类型105的效果等同于101。

K, O, E, Q

121有关分包的收货后续调整

这个移动类型不能手工输入。在有关分包订单的收货后续调整中,用于矫正组件的(实际)消耗。在这种情况下,由供应商加工(返回)的物料贷记到过剩消耗或不足消耗(科目)中。基于这个原因,如果作一个后续调整的话,就会产生一个使用移动类型121的加工材料(PS.即最终产品,而非组件或原料)的项目。

O, E, Q

122退货给供应商或生产

使用移动类型122,你可以区分是从采购订单或生产订单退货还是从102取消。在标准的版本中,使用移动类型122,你必须输入一个移动原因来说明退货原因,以实现对退货的评估。K, O, E, Q

123退货给供应商的冲销

如果你使用移动类型122退回一个收货,你可以使用移动类型123来接收退回的交货。这个移动类型作用等同于101。

K, O, E, Q

124从GR冻结区退货给供应商

使用移动类型124,你可以把从103接收到GR冻结区的货物退回给供应商。移动类型124作用等同于104。

K, O, E, Q

125 收货退给冻结库存冲销

K, O, E, Q

131运行计划抬头的收货

这个移动类型不能手工输入,而是在有关运行计划抬头收货的通知单中自动生产的。

E, Q

141有关活性成分的收货后续调整

这个移动类型不能手工输入,而是在比例/产品单位的后续调整的基础上自动产生的。当系统发现收货之后产生过剩的消耗或不足的消耗时,必须要进行后续调整。

Possible special stock indicators:

K, O, E, Q

161 Return for purchase order161采购订单收货退回

If a purchase order item is marked as a returns item, the returns to vendor are posted using movement type 161 when the goods receipt for purchase order (101) is posted.

Movement type 161 has the same effects as movement type122.

如果采购订单一个项目被标记为退货项目,当为采购订单收货使用移动101收货过帐时,此退回给供应商的项目自动使用移动类型161进行退货过帐,其功效等同于122。Possible special stock indicators:

K, O, E, Q

201 Goods issue for a cost center201有关成本中心的发货

The goods can only be withdrawn from unrestricted-use stock.

货物只能从非限制使用库存中提取。

Possible special stock indicators:

? K: Goods withdrawal from consig nment stock

K:货物从寄售库存中提取

? P: Goods withdrawal from the pipeline

P:货物从管道物料中提取

If you have withdrawals from consignment stock and from pipeline, payables to suppliers ensue.

如果你从寄售库存和管道中提取物料后,就要相应地要给供应商付款。

221 Goods issue for a project221有关项目的发货

The goods can only be withdrawn from unrestricted-use stock.

货物只能从非限制使用库存中提取。

Possible special stock indicators:K, Q

231 Goods issue for a customer order (without Shipping)231有关销售订单的发货(不带装运)

You use this movement type if you want to process the delivery without Shipping.

如果你想通过不作送货单,直接处理交货时,可以用这个移动类型。

The goods can only be withdrawn from unrestricted-use stock.

Possible special stock indicators:

E, K, Q

241 Goods issue for an asset241资产及在建工程发货

The goods can only be withdrawn from unrestricted-use stock.

货物只能从非限制使用库存中提取。

Possible special stock indicators:

K

251 Goods issue for sales (without customer order)251有关销售的发货(不带客户订单)

Use this movement type if you have not entered a customer order in SD. In the standard system, the movement is assigned to a cost center.

如果你没有在SD里创建客户订单,可以使用这个移动类型。在标准的系统中,这个移动类型需要指定一个成本中心。

The goods can only be withdrawn from unrestricted-use stock.

货物只能从非限制使用库存中提取。

Possible special stock indicators:

K

Qty Unit Material Movement type

1 box S 101 +

1 box S 319 -

4 piece K1 319 +

5 piece K2 319 +

321 Transfer posting stock in quality inspection - unrestricted-use stock321质量检验到非限制的转帐

The quantity is transferred from stock in quality inspection into unrestricted-use stock. Here you can post the quantity to another storage location.

数量从质量检验库存转储到非限制库存.你可以过帐数量到别的库存地点上.

You cannot use this movement type for QM-managed materials since transfer posting for these materials takes place via the usage decision.

@?当在对实行了QM管理的物料进行质检到非限制转储时,必须通过使用决策来进行,但不能输入这个移动类型。

PS.如果你不想对物料作QM管理,又希望将库存过帐到质检中,可以在物料主数据中激活“过帐到检验库存”,但不能激活“检验设置”中的相关内容。在这种情况下,你才可以用MB1B/321来释放质检库存。

Possible special stock indicators:

E, K, O, Q, V, W

323 Transfer posting storage location to storage location - stock in quality inspection323质检库存从库存地点到库存地点的转帐

The quantity is transferred from stock in quality inspection in the issuing storage location into stock in quality inspection in the receiving storage location. Possible special stock indicators:

E, K, Q

325 Transfer posting storage location to storage location - blocked stock325冻结库存从库存地点到库存地点的转帐

The quantity is transferred from blocked stock in the issuing storage location into blocked stock in the receiving storage location.

Possible special stock indicators:

E, K, Q

331 Withdrawal of sample from stock in quality inspection331对质检库存抽样提取

The sample is destructive, that is, the withdrawal has the same effects asscrapping.抽样是破坏性的,也就是利用提取/领用达到废弃的作用.

Possible special stock indicators:

E, K, Q, V, W

333 Withdrawal of sample from unrestricted-use stock333对非限制库存抽样提取

The sample is destructive, that is, the withdrawal has the same effects asscrapping.

Possible special stock indicators:

E, K, Q, V, W

335 Withdrawal of sample from blocked stock335对冻结库存抽样提取

The sample is destructive, that is, the withdrawal has the same effects asscrapping.

Possible special stock indicators:

E, K, Q

340 Revaluation of batch340批次重估

Using this movement type, you can change a batch's valuation type. The system automatically calls up this movement type when you want to revaluate a batch by choosingLogistics -> Central Functions -> Batch Management -> Batch -> Change(transaction code MSC2N). There is no reversal movement type.

使用这个移动类型,你可以更改批次的评估类型.当你想重估一个批次时,通过选定菜单后勤->核心功能->批次管理->批次->更改(事务代码: MSC2N),系统会自动调用这个事务代码.它没有反冲移动类型.

Possible special stock indicators:

E, Q

341 Change in status of a batch (available to unavailable)341批次状态的更改(从可用到不可用)

This goods movement is automatically created when there is a change in thestatus of a batch and it is also used to transfer the unrestricted-use stock into restricted-use stock.

这个移动类型在一个批次状态发生更改时自动创建,它也用于非限制使用库存转储为受限制使用库存.

Possible special stock indicators:

E, K, M, O, Q, V, W

343 Transfer posting blocked stock - unrestricted-use stock343从冻结库存到非限制使用的转帐

The quantity is transferred from blocked stock to unrestricted-use stock. You can also post the quantity to another storage location.

数量从冻结库存转储到非限制使用库存.你也可以把数量过帐到别的库存地点.

Possible special stock indicators:

E, K, Q

349 Transfer posting from blocked stock to stock in quality

inspection349从冻结库存到质检库存的转帐

The quantity is transferred from blocked stock to stock in quality inspection. Here you can transfer the quantity to another storage location.

Possible special stock indicators:

E, K, Q

351 Goods issue for a stock transport order (without Shipping)351对库存转储订单发货(不带装运)

The quantity is transferred from unrestricted-use stock in the issuing plant to stock in transit in the receiving plant.

数量从发货工厂非限制使用库存转储到接收工厂的在运库存上.

Movement type 351 is only used if the goods issue is posted without a delivery in Shipping. A goods issue for a stock transport order with delivery in Shipping is posted using movement types641,643,645, or647.

移动类型351只用于在不带装运的交货单的情况下进行的发货过帐.带交货单的库存转储订单的发货过帐使用移动类型641, 643, 645,或647.

The transfer posting is also possible for materials with split valuation.

这个转帐允许带分割评估的物料.

The goods issue for a stock transport order takes place using movement

type101.

@?对库存转储订单使用移动类型101时,同时发生移动类型351.

Possible special stock indicators:

E, Q

For special stock indicators E and Q and for purchase orders assigned to an account, ensure that the quantity is not posted to the stock in transit in the receiving plant.

对于特殊库存标识E和Q,以及分配到一个科目的采购订单,要确保数量在不被过帐到接收工厂的”在运库存”上.

411 Transfer posting of special stocks E, K, and Q to company's own stock411特殊库存E,K,Q到公司自有库存的转帐

The quantity is transferred from unrestricted-use special stock E (sales order stock), unrestricted-use stock K (consignment stock) and unrestricted-use special stock Q (project stock) to unrestricted-use storage location stock. The corresponding special stock indicator is required for this movement.

数量从非限制使用特殊库存E(销售订单库存),非限制使用库存K(寄售库存),以及非限制使用库存Q(项目库存)转储到非限制使用库存地点上.相应的特殊库存标识必须联合移动类型一起使用.

If you do not use the special stock indicator, the system uses this movement type and movement type311.

如果你不使用特殊库存标识,系统使用移动类型411或311.

For sales order stock, you can change the material number for this movement if you manage the material in your company's own stock under a different material number (for example, for configurable materials).

对于销售订单库存,如果你公司自有库存管理的物料(与销售订单库存物料)存在不同的物料号码,使用这个移动类型时,你可以变更物料号码(例如,对于可配置物料).

Consignment stock is transferred to valuated stock, thus resulting in a vendor liability.

寄售库存转储到评估库存,因而产生一个供应商债务(会计凭证).

413 Transfer posting to sales order stock413库存地点到销售订单的转帐You can use this movement type to carry out a transfer posting from your own unrestricted-use stock, other sales order stock, consignment stock, and project stock to a sales order stock.

你可以使用这个移动类型来执行一个从自有非限制库存,其它销售订单库存,寄售库存,或项目库存到一个销售订单的转储过帐.

Possible special stock indicators:

E, K, Q

415 Transfer posting to project stock415库存地点到项目库存

You can use this movement type to carry out a transfer posting from your own unrestricted-use stock, consignment stock, and other project stock to a project stock.

你可以使用这个移动类型来执行一个从自有非限制库存,寄售库存,或其它项目库存到项目

库存的转储过帐.

Possible special stock indicators:

E, K, Q

441 Transfer posting non-tied to tied empties

Part of the stock of an "empties" material assigned to a full product is managed in the stock type "tied empties".

Empties stock not assigned to a full product forms part of the stock type "unrestricted-use".

Using movement type 441, you can make a transfer posting for an empties material from the stock type "unrestricted-use" to the stock type "tied empties". Movement type 442 reverses this transaction.

Example:

The full product "beer" has a stock of 15 cases. Part of the empties components "bottle" and "case" is tied empties stock.

Material unrestricted-use tied empties

Beer 15

Bottle 240 360

case 10 15

(责任编辑:ERP百科_什么是ERP,ERP软件,ERP系统,https://www.doczj.com/doc/a06599032.html,是ERP 爱好者,ERP顾问们最好的学习乐园)

451 Returns from customer (without Shipping)451客户退货到冻结库存(不带装运)

Using movement type 451, you post customer returns without a returns delivery in Shipping into blocked stock returns.

使用这个移动类型,你可以对没有交货单的客户退货过帐到退货冻结库存中

Possible special stock indicators:

None

See also:453,651,653

453 Transfer posting blocked stock returns to unrestricted-use stock453退货冻结库存到非限制使用库存的转帐

The quantity is transferred from blocked stock returns to unrestricted-use stock and thereby transferred to valuated stock.

数量从退货冻结库存转储到非限制使用库存中,从而转储进评估库存.

With this movement you can transfer the quantity to another storage location at the same time.

用这个移动类型,你同时可以将数量过帐到别的库存地点.

Possible special stock indicators:

None

455 Transfer posting storage location to storage location - blocked stock returns455退货冻结库存从库存地点到库存地点的转帐

The quantity is transferred from blocked stock returns of the issuing storage location to blocked stock returns of the receiving storage location.

数量从发货库存地点的退货冻结库存转储到接收库存地点的退货冻结库存.

Possible special stock indicators:

None

457 Transfer posting blocked stock returns to quality inspection stock457从退货冻结库存到质检库存的转帐

The quantity is transferred from blocked stock returns to quality inspection stock and thereby transferred to valuated stock.

With this movement you can transfer the quantity to another storage location at the same time.

Possible special stock indicators:

None

459 Transfer posting blocked stock returns to blocked stock459从退货冻结库存到冻结库存的转帐

The quantity is transferred from blocked stock returns to blocked stock and thereby transferred to valuated stock.

With this movement you can transfer the quantity to another storage location at the same time.

Possible special stock indicators:

None

501 Goods receipt without purchase order - unrestricted-use stock501无采购订单到非限制使用库存的收货

This movement type is used for deliveries from vendors that are not based on a purchase order. Invoice verification is not possible for these goods receipts.

这个移动类型用于对供应商交货单的货物接收,而不基于采购订单,因而不能作发票校验. For a goods receipt for purchase order (101), the receipt of returnable transport packaging can be entered using movement type 501 and special stock indicator M.

对于有采购订单的收货,在收到供应商退回的包装,及特殊库存标识为M(供应商可退回包装),可以使用移动类型501.

Possible special stock indicators:

E, K, M, Q

503 Goods receipt without purchase order - stock in quality inspection503无采购订单到质检库存的收货

This movement type is used for deliveries from vendors that are not based on a purchase order. Invoice verification is not possible for these goods receipts. PS. MIGO或MB11货物接收到质量检验库存,同时产生会计凭证.不带QM检验,可用MB1B/321转储到非限制库存.

Possible special stock indicators:

E, K, Q

505 Goods receipt without purchase order - blocked stock505无采购订单到冻结库存的收货

This movement type is used for deliveries from vendors that are not based on a purchase order. Invoice verification is not possible for these goods receipts. PS. MIGO或MB11货物接收到冻结检验库存,同时产生会计凭证.可用MB1B/343转储到非限制库存.

Possible special stock indicators:

E, K, Q

511 Free-of-charge delivery from vendor511供应商免费交货

The quantity is posted to unrestricted-use stock. If there is a material with moving average price, the moving average price is reduced accordingly.

数量过帐到非限制使用库存.如果物料采用移动平均价,则此移动平均价会相应变小. Possible special stock indicators:

None

521 Goods receipt without order - unrestricted-use stock521无生产订单到非限制使用库存的收货

This movement type is used for deliveries from production that are not based on an order.

Possible special stock indicators:

E, Q

523 Goods receipt without order - stock in quality inspection523无生产订单到质量检验库存的收货

This movement type is used for deliveries from production that are not based on an order.

Possible special stock indicators:

E, Q

525 Goods receipt without order - blocked stock525无生产订单到冻结库存的收货

This movement type is used for deliveries from production that are not based on an order.

Possible special stock indicators:

E, Q

531 Goods receipt from by-product from the order531副产品到非限制使用库存的收货

The goods receipt of a by-product usually refers to an order, but it can be entered without a reference.

有关副产品的收货通常参考一个生产订单,但也可以不带参考地输入.

如果生产订单中输入了一个负数量的组件,系统会产生一个移动类型为531的预留项目(而不是261).当生产订单的组件从库存中提取后,可以进行副产品的收货,或者通过MB11或MB1C来输入.

Possible special stock indicators:

E, Q

See also:545and581

541 Transfer posting unrestricted-use stock - stock of material provided to vendor541从非限制自有库存到分包库存的转帐

With this movement type you provide the subcontractor with the components required for subcontract orders. The quantity is posted into unrestricted-use stock of material provided to vendor.

使用这个移动类型,你可以为分包订单给供应商提供所需的组件.数量从非限制自有库存过帐到”提供给供应商的物料”库存上.

If there is a goods receipt for a subcontract order (101) consumption of components is posted from this stock.

当对分包订单101收货时,组件就会自动从这个分包商库存进行消耗过帐(移动类型543O). The transfer posting can be posted via a delivery in Shipping.

转储过帐可以通过一个SD交货来进行.

Possible special stock indicators:

None

543 Consumption from stock of material provided to vendor543分包库存的消耗

This movement cannot be entered manually.

这个移动类型不能手工输入.

The consumption of components for a subcontract order is posted using goods receipt for purchase order (101). It can be corrected by means of a subsequent adjustment.

当对分包订单101收货时,组件就会自动使用这个移动类型将分包商库存进行消耗过帐. (组件消耗数量)可以通过后续调整的方法进行矫正.

For special stock indicators E and Q, you must ensure that the quantity is not posted to the stock of material provided to vendor, but to the unrestricted-use sales order or project stock.

对于库存库存标识E和Q,你必须确保数量不被过帐到”提供给供应商的物料”库存上,而是非限制使用销售订单库存或非限制使用项目库存上.

Possible special stock indicators:

E, O, Q

545 Goods receipt from by-product from subcontracting545对分包中的副产品的收货

If a component is entered with a negative quantity for the subcontract order, the receipt of the by-product is posted to stock provided to vendor during goods receipt for purchase order or during the subsequent adjustment.

如果在分包订单中输入一个负数量的组件,当对采购订单进行收货或进行后续调整时,副产品同时自动收货过帐到”提供给供应商的物料”库存上.

For special stock indicators E and Q, you must ensure that the quantity is not posted to the stock of material provided to vendor, but to the unrestricted-use sales order or project stock.

Possible special stock indicators:

E, O, Q

551 Scrapping from unrestricted-use stock551从非限制使用库存中报废(发货)

Possible special stock indicators:

E, K, O, Q, V, W

553 Scrapping from stock in quality inspection553从质检库存中报废(发货) Possible special stock indicators:

E, K, O, Q, V, W

555 Scrapping from blocked stock555从冻结库存中报废(发货)

Possible special stock indicators:

E, K, Q

561 Initial entry of stock - unrestricted-use stock561期初库存分录(到非限制使用库存)

During initial entry of stock balances, when the R/3 system is active, you enter the physical warehouse stock figures or the book inventory from your old system into the R/3 Materials Management component. This data entry usually takes place by means of batch input.

Possible special stock indicators:

E, K, M, O, Q, V, W

563 Initial entry of stock - quality inspection563期初库存分录(到质检库存) During initial entry of stock balances, when the R/3 system is active, you enter the physical warehouse stock figures or the book inventory from your old system into the R/3 Materials Management component. This data entry usually takes place by means of batch input.

Possible special stock indicators:

E, K, O, Q, V, W

565 Initial entry of stock - blocked stock565期初库存分录(到冻结库存)

During initial entry of stock balances, when the R/3 system is active, you enter the physical warehouse stock figures or the book inventory from your old system into the R/3 Materials Management component. This data entry usually takes place by means of batch input.

Possible special stock indicators:

E, K, Q

571 Goods receipt for assembly order to unrestricted-use571装配订单到非限制使用库存的收货

This movement cannot be entered in Inventory Management. It can only be entered in repetitive manufacturing using theGoods receipt for sales orderfunction.

这个移动类型不能在IM库存管理中输入,只能通过重复制造(大批量生产)中使用”为销售订单收货”的功能来输入.

573 Goods receipt for assembly order to quality inspection573装配订单到质检库存的收货

This movement cannot be entered in Inventory Management. It can only be entered in repetitive manufacturing using theGoods receipt for sales orderfunction.

Possible special stock indicators:

E, Q

575 Goods receipt for assembly order to blocked stock575装配订单到冻结库存的收货

This movement cannot be entered in Inventory Management. It can only be entered in repetitive manufacturing using theGoods receipt for sales orderfunction.

Possible special stock indicators:

E, Q

581 Goods receipt of a by-product from the network581网络中副产品的收货

The goods receipt of a by-product usually refers to a network, but can be entered without reference.

If a component is entered with a negative quantity in the network, a reservation is created with581(instead of281). The receipt of a by-product can be entered during the withdrawal for the network or as an 'other goods receipt'. Possible special stock indicators:

E, Q

601 Goods issue for delivery (Shipping)601为交货的发货(装运)

In Shipping, this movement type is created automatically with theGoods issue for deliveryfunction.

在装运中,这个移动类型通过”为交货单发货”功能自动创建.

The quantity is taken from unrestricted-use stock.

数量只能从非限制使用库存中提取.

Possible special stock indicators:

E, K, Q

603 Goods issue for stock transport order (Shipping) with additional item603为带附加项目的库存转储订单发货(带装运)

If you issue goods for a stock transport order in Shipping using movement type641, you can use this movement type to assign an extra item to the order. The ordered material is transferred to the stock in transit of the receiving plant. The material for the additional item is transferred from unrestricted-use stock in the issuing plant to stock in transfer in the receiving plant.

You can also use this movement type without referencing a purchase order. Possible special stock indicators:

None

See also:303,641

605 Goods receipt for a stock transport order (Shipping) with additional item605为带附加项目的库存转储订单收货(带装运)

You can use this movement type to transfer into unrestricted-use stock the material you posted into stock in transfer in the receiving plant using movement type603. You post the goods movement with reference to the purchase order (if available) or the delivery.

Possible special stock indicators:

None

See also:305and641

621 Transfer posting unrestricted-use - returnable packaging (Shipping)621从非限制自有库存到客户可退回包装库存的转帐(带装运)

The quantity is transferred from unrestricted-use stock to the returnable packaging stock at customer.

数量从非限制自有库存转储到在客户方的可退回包装库存上.

Possible special stock indicators:

none

623 Goods issue from returnable packaging stock at customer (Shipping)623从客户可退回包装库存发货/借出(带装运)

This quantity is withdrawn from unrestricted-use returnable packaging stock at the customer.

Possible special stock indicators:

V

631 Transfer posting unrestricted use - customer consignment stock (Shipping)631从非限制自有库存到客户代销库存的转帐(带装运)

The quantity is transferred from unrestricted-use stock to consignment stock at customer.

Possible special stock indicators:

E, Q

633 Goods issue from customer consignment (Shipping)633从客户代销库存发货/消耗(带装运)

The quantity is withdrawn from unrestricted-use consignment stock at the customer.

Possible special stock indicators:

W

641 Goods issue for a stock transport order (Shipping)641为库存转储订单发货(带装运)

The quantity is transferred using a delivery in Shipping from unrestricted-use stock of the issuing plant to stock in transit of the receiving plant.

The goods receipt for the stock transport order takes place using movement type101and can, if required, refer to the purchase order or to the delivery. If a purchase order item is flagged as a returns item in the stock transport order, you can post the goods receipt of the returns in the issuing plant with movment type671.

Possible special stock indicators:

E, Q

For the special stock indicators E and Q and for purchase orders assigned to an account, you must ensure that the quantity is not posted to the stock in transit of the receiving plant.

See also:351,643,671

643 Goods issue for a cross-company stock transport order (Shipping)643为跨公司库存转储订单发货(带装运)

It is used only for cross-company stock transport orders with SD billing and invoice. The quantity is withdrawn from the unrestricted-use stock of the issuing plant. No stock in transit is created here. In the second step, the goods receipt must be entered in the receiving plant. If a purchase order item is flagged as a returns item in the stock transport order, you can post the goods receipt of the returns in the issuing plant with movment type673.(责任编辑:ERP百科_什么是ERP,ERP软件,ERP系统,https://www.doczj.com/doc/a06599032.html,是ERP爱好者,ERP顾问们最好的学习乐园)

645 Goods issue for a cross-company stock transport order in one step (Shipping)645为一步式跨公司库存转储订单发货(带装运)

Unlike movement type643when a goods issue is posted using movement type 645, a goods receipt line is generated automatically101). If a purchase order item is flagged as a returns item in the stock transport order, you can post the goods receipt of the returns in the issuing plant with movment type675.

Possible special stock indicators:

E

See also:675

647 Goods issue for a stock transport order in one step (Shipping)647为一步式工厂间库存转储订单发货(带装运)

Unlike movement type641when a goods issue is posted using movement type 647, a goods receipt line (movement type101) is generated automatically in the receiving plant. If a purchase order item is flagged as a returns item in the stock transport order, you can post the goods receipt of the returns in the issuing plant with movement type677.

Possible special stock indicators:

E, Q

See also: 677

651 Returns from customer (Shipping)651客户退货到退货冻结库存(带装运) Using movement type 651, you post returns from a customer with a return delivery in Shipping toblocked stock returns.

使用这个移动类型,你可以对一个退货交货单将客户的退货过帐到退货冻结库存中. Possible special stock indicators:

None

See also:451,453,653

653 Returns from customer (Shipping) to unrestricted-use stock653客户退货到非限制使用库存(带装运)

With this movement type you post returns from the customer with returns delivery via Shipping directly to the valuated stock.

Possible special stock indicators:

E

See also:451,453,651

655 Returns from customer (Shipping) to stock in quality inspection655客户退货到质检库存(带装运)

With this movement type you post returns from the customer with returns delivery via Shipping directly to the valuated stock.

Possible special stock indicators:

E

See also:451,453,651

657 Returns from customer (Shipping) to blocked stock657客户退货到冻结库存(带装运)

With this movement type you post returns from the customer with returns delivery via Shipping directly to the valuated stock.

Possible special stock indicators:

E

See also:451,453,651

661 Returns to vendor via Shipping661通过装运退货给供应商

As with movement type 502, a return delivery to the vendor is entered without reference to the purchase order, but the goods issue is posted via a delivery in Shipping.

正如移动类型502一样,可以不带参考采购订单地输入一个退货交货(单)给供应商,但发货时要通过交货单来过帐.

Possible special stock indicators:

E

671 Returns for stock transport order via Shipping671通过装运对库存转储订单退货

If apurchase order item is marked as areturns itemin a stock transport order using movement type641when a goods receipt for a stock transport order (101) is posted, the return is posted to stock in transit using movement type161. When the return arrives, the issuing plant posts the goods receipt for the return using movement type 671. Movement type 671 (like movement types 352 and 642) reduces the receiving plant's stock in transit and increases the issuing plant's unrestricted-use stock.

Possible special stock indicators:

E, Q

673 Returns for cross-company stock transport order (Shipping)673对跨公司库存转储订单退货(带装运)

If you post a goods issue for a cross-company stock transport order with returns items using movement type643via Shipping, the returns are transferred to unrestricted-use stock in the issuing plant in a second step using movement type 673.

Possible special stock indicators:

None

See also:643

675 Returns for cross-company stock transport order (Shipping) in one step675对一步式跨公司库存转储订单退货(带装运)

If you use movement type645to post a goods issue for a cross-company stock transport order with returns items in one step, the returns are transferred to unrestricted-use stock in the issuing plant using movement type161in the receiving plant and movement type675 inthe issuing plant.

Possible special stock indicators:

None

See also:645

677 Returns for stock transport order in one step (Shipping)677对一步式库存转储订单退货(带装运)

If you use movement type647to post a goods issue for a stock transport order with returns items in one step, the returns are transferred to unrestricted-use stock in the issuing plant using movement type161in the receiving plant and movement type677 inthe issuing plant.

Possible special stock indicators:

E, Q

See also:647

701 Inventory differences in unrestricted-use stock (MM-IM)701 IM非限制使用库存盘点差异(盘盈=收货)

703 Inventory differences in quality inspection stock (MM-IM)703 IM 质检库存盘点差异(盘盈=收货)

This movement is generated automatically during inventory difference posting in Inventory Management.

Possible special stock indicators:

E, K, M, O, Q, V, W

707 Inventory differences in blocked stock (MM-IM)707 IM冻结库存盘点差异(盘盈=收货)

This movement is generated automatically during inventory difference posting in Inventory Management.

Possible special stock indicators:

E, K, M, Q

711 Inventory differences in unrestricted-use stock (LE-WM)711 WM 非限制使用库存盘点差异(盘亏=发货)

This movement is generated automatically when you post inventory differences in the Warehouse Management System.

Possible special stock indicators:

E, K, M, Q

713 Inventory differences in quality inspection stock (LE-WM)713 WM 质检库存盘点差异(盘亏=发货)

This movement is generated automatically when you post inventory differences in the Warehouse Management System.

Possible special stock indicators:

E, K, M, Q

715 Inventory differences in blocked stock returns (LE-WM)715 WM退货冻结库存盘点差异(盘亏=发货)

This movement is generated automatically when you post inventory differences

C语言中数据类型

C语言中数据类型(整形,浮点型,字符型,无值型)2007年04月19日星期四上午11:29整型(int) 一、整型数说明 加上不同的修饰符, 整型数有以下几种类型; signed short int 有符号短整型数说明。简写为short或int, 字长为2字节共16位二进制数, 数的范围是-32768~32767。 signed long int 有符号长整型数说明。简写为long, 字长为4字节共32位二进制数, 数的范围是-2147483648~2147483647。 unsigned short int 无符号短整型数说明。简写为unsigned int, 字长为2字节共16位二进制数, 数的范围是0~65535。 unsigned long int 无符号长整型数说明。简写为unsigned long, 字长为4字节共32位二进制数, 数的范围是0~4294967295。 二、整型变量定义 可以用下列语句定义整型变量 int a, b; /*a、b被定义为有符号短整型变量*/ unsigned long c; /*c被定义为无符号长整型变量*/ 三、整型常数表示 按不同的进制区分, 整型常数有三种表示方法: 十进制数: 以非0开始的数 如:220, -560, 45900 八进制数: 以0开始的数 如:06; 0106, 05788 十六进制数:以0X或0x开始的数 如:0X0D, 0XFF, 0x4e 另外, 可在整型常数后添加一个"L"或"l"字母表示该数为长整型数, 如22L,0773L, 0Xae4l。 浮点型(float) 一、浮点数说明 Turbo C中有以下两种类型的浮点数: float 单浮点数。字长为4 个字节共32 位二进制数, 数的范围是3.4x10-38E~3.4x10+38E。double 双浮点数。字长为8个字节共64 位二进制数, 数的范围是1.7x10-308E~1.7x10+308E。 说明: 浮点数均为有符号浮点数, 没有无符号浮点数。 二、浮点型变量定义 可以用下列语句定义浮点型变量: float a, f; /*a, f被定义为单浮点型变量*/ double b; /*b被定义为双浮点型变量*/

SQL数据库字段类型说明

SQL数据库字段类型说明

1)char、varchar、text和nchar、nvarchar、ntext char和varchar的长度都在1到8000之间,它们的区别在于char是定长字符数据,而varchar是变长字符数据。所谓定长就是长度固定的,当输入的数据长度没有达到指定的长度时将自动以英文空格在其后面填充,使长度达到相应的长度;而变长字符数据则不会以空格填充。text存储可变长度的非Unicode数据,最大长度为2^31-1(2,147,483,647)个字符。 后面三种数据类型和前面的相比,从名称上看只是多了个字母n,它表示存储的是Unicode数据类型的字符。写过程序的朋友对Unicode应该很了解。字符中,英文字符只需要一个字节存储就足够了,但汉字众多,需要两个字节存储,英文与汉字同时存在时容易造成混乱,Unicode字符集就是为了解决字符集这种不兼容的问题而产生的,它所有的字符都用两个字节表示,即英文字符也是用两个字节表示。nchar、nvarchar的长度是在1到4000之间。和char、varchar比较:nchar、nvarchar则最多存储4000个字符,不论是英文还是汉字;而char、varchar 最多能存储8000个英文,4000个汉字。可以看出使用nchar、nvarchar数据类型时不用担心输入的字符是英文还是汉字,较为方便,但在存储英文时数量上有些损失。 (2)datetime和smalldatetime datetime:从1753年1月1日到9999年12月31日的日期和时间数据,精确到百分之三秒。 smalldatetime:从1900年1月1日到2079年6月6日的日期和时间数据,精确到分钟。 (3)bitint、int、smallint、tinyint和bit bigint:从-2^63(-9223372036854775808)到2^63-1(9223372036854775807)的整型数据。 int:从-2^31(-2,147,483,648)到2^31-1(2,147,483,647)的整型数据。smallint:从-2^15(-32,768)到2^15-1(32,767)的整数数据。 tinyint:从0到255的整数数据。 bit:1或0的整数数据。 (4)decimal和numeric 这两种数据类型是等效的。都有两个参数:p(精度)和s(小数位数)。p指定小数点左边和右边可以存储的十进制数字的最大个数,p必须是从 1到38之间的值。s指定小数点右边可以存储的十进制数字的最大个数,s必须是从0到p 之间的值,默认小数位数是0。 (5)float和real float:从-1.79^308到1.79^308之间的浮点数字数据。 real:从-3.40^38到3.40^38之间的浮点数字数据。在SQL Server中,real 的同义词为float(24)。

数据类型

杨琦 西安交通大学计算机教学实验中心

?数据类型就是对数据的分类。不同类型的数据存储格式不同。 ?在C++中,基本数据类型可分为整型、实型等。?1.整型,采用补码表示,它又细分为: ?整型,4字节,-231(-2147483648)~231-1 (2147483647)?短整型, 2字节,-32768~32767 ?无符号整型,4字节,0~232-1 ?无符号短整型,2字节,0~216-1(即65535) ?C++11标准,长长整型,8字节,-263~263-1

?2.表示实数,采用浮点表示法,有两个标准: ?单精度浮点,4字节,-3.4×10-38~3.4×1038 ?双精度浮点,8字节,-1.8×10-308~1.8×10308 ?长双精度浮点数,C++11标准,16字节 ?C++标准并没有规定每种数据类型的字节数和范围?不同的编译器采用的字节数会有所不同 ?但相对关系不变 ?字节数越多,表示的数的范围就越大

1.整数的书写,不带小数点 ?十进制整型数,直接写,可带正、负号 1, 12, +123, -1234 ?十六进制整数 0xFF,0x10,0x21 ?八进制整数 010,021 ?无符号整数,加后缀U或u, 如:1U, 12U, 123U,2014u

2.实数的书写,有两种方式?小数形式: 1.0, 1. , 0.1, .1 ?指数形式: 1.2E-2表示1.2×10-2, 1.2E+2表示1.2×102 1.2E2表示1.2×102 E可以小写 ?默认,双精度浮点 ?单精度浮点加后缀F或f,如 12.5F,1.25E-2F

常用数据类型的使用

刚接触编程地朋友往往对许多数据类型地转换感到迷惑不解,本文将介绍一些常用数据类型地使用. 我们先定义一些常见类型变量借以说明 ; ; ; ; []"程佩君"; []; *; ; ; ; 一、其它数据类型转换为字符串 短整型() ()将转换为字符串放入中,最后一个数字表示十进制 (); 按二进制方式转换 长整型() (); 浮点数() 用可以完成转换,这是中地例子: , ; *; ; ( , , , ); 运行结果: : '' : : 资料个人收集整理,勿做商业用途 表示小数点地位置表示符号为正数,为负数 变量 "北京奥运"; ()(); 变量 ("程序员"); * (); 资料个人收集整理,勿做商业用途 (); (); (); 变量 (""); * (); 资料个人收集整理,勿做商业用途 (); (); 变量 类型是对地封装,因为已经重载了操作符,所以很容易使用 ("");

* 不要修改中地内容 (); 通用方法(针对非数据类型) 用完成转换 []; ''; ; ; ; ( , ""); ( , ""); ( , ""); ( , ""); 二、字符串转换为其它数据类型 (,""); 短整型() (); 长整型() (); 浮点() (); 变量 ; 变量 ("程序员"); 完成对地使用 (); 变量 类型变量可以直接赋值 (""); (); 变量 类型地变量可以直接赋值 (""); (); 三、其它数据类型转换到 使用地成员函数来转换,例如: 整数() (""); 浮点数() (""); 字符串指针( *)等已经被构造函数支持地数据类型可以直接赋值 ; 对于所不支持地数据类型,可以通过上面所说地关于其它数据类型转化到*地方法先转到*,

数据类型

数据类型,也称为数据元素,是一种使用一组属性描述其定义,标识,表示形式和允许值的数据单元。在特定的上下文中,它通常用于构造特定概念语义的语义正确,独立且明确的信息单元。数据元素可以理解为数据的基本单位,并且数据模型以一定顺序由几个相关的数据元素组成。 基本属性 (1)身份类属性:适用于数据元素标识的属性。它包括中文名称,英文名称,中文拼写,内部标识符,版本,注册机构,同义词名称和上下文。 (2)定义类属性:描述数据元素的语义属性。它包括定义,对象类词,特征词和应用程序约束。 (3)关系属性:描述数据元素与(或)数据元素与模式,数据元素概念,对象和实体之间的关系的属性。它包括分类方案,分类方案值和关系。 (4)表示类属性:描述数据元素表示方面的属性。它包括表达式字,数据类型,数据格式,值字段和度量单位。 (5)数据管理的属性管理。包括状态,提交组织,批准日期和备注。 形成 数据元素通常由对象类,属性和表示形式组成 (1)对象类。它是现实世界中事物的集合或抽象概念,具有明确的边界和含义,并且其特征和行为遵循相同的规则并且可以识别。

(2)财产。它是对象类的所有个人共享的属性,是对象与其他成员不同的基础。 (3)代表性。它是值字段,数据类型和表示形式的组合,并且在必要时还包括诸如度量单位和字符集之类的信息。 对象类是我们要研究,收集和存储相关数据(例如人员,设施,设备,组织,环境,材料等)的实体。特征是人们用来区分和识别事物(例如人员姓名)的一种手段,性别,身高,体重,位置,水箱型号,口径,身高,长度,有效范围等。表示形式是对数据元素表示方式的描述。在表达式的各个组成部分中,任何部分的更改都会产生不同的表示形式。例如,如果人员的身高是用“cm”或“ m”测量的,则它是人员的身高特征的两种不同表示。数据元素的表达式可以用一些带有含义的术语来标记,例如名称,代码,数量,数量,日期,百分比等。 在数据元素的基本模型中,对象类对应于数据模型中的实体,属性和表示,而对应于数据模型中的属性。

数据类型

数据类型 数据元( Data Element),也称为数据元素,是用一组属性描述其定义、标识、表示和允许值的数据单元,在一定语境下,通常用于构建一个语义正确、独立且无歧义的特定概念语义的信息单元。数据元可以理解为数据的基本单元,将若干具有相关性的数据元按一定的次序组成一个整体结构即为数据模型。 中文名 数据元 外文名 Data element 又称 数据类型 被认为 是不可再分的最小数据单元 目录 .1基本属性 .2组成 .3分类 .4命名规则 .5数据元与元数据 .6数据元提取 .?自上而下提取法 .?自下而上提取法 基本属性

(1)标识类属性:适用于数据元标识的属性。包括中文名称、英文名称、中文全拼、内部标 识符、版本、注册机构、同义名称、语境。 (2)定义类属性:描述数据元语义方面的属性。包括定义、对象类词、特性词、应用约束。 (3)关系类属性:描述各数据元之间相互关联和(或)数据元与模式、数据元概念、对象、 实体之间关联的属性。包括分类方案、分类方案值、关系。 (4)表示类属性:描述数据元表示方面的属性。包括表示词、数据类型、数据格式、值域、 计量单位。 (5)管理类属性:描述数据元管理与控制方面的属性。包括状态、提交机构、批准日期、备 注。 组成 数据元一般由对象类、特性和表示3部分组成: (1)对象类(Object Class)。是现实世界或抽象概念中事物的集合,有清楚的边界和含义,并 且特性和其行为遵循同样的规则而能够加以标识。 (2)特性(Property)。是对象类的所有个体所共有的某种性质,是对象有别于其他成员的依据。 (3)表示(Representation)。是值域、数据类型、表示方式的组合,必要时也包括计量单位、 字符集等信息。 对象类是我们所要研究、收集和存储相关数据的实体,例如人员、设施、装备、组织、环境、物资等。特性是人们用来区分、识别事物的一种手段,例如人员的姓名、性别、身高、体重、职务,坦克的型号、口径、高度、长度、有效射程等。表示是数据元被表达的方式的一种描述。 表示的各种组成成分中,任何一个部分发生变化都将产生不同的表示,例如人员的身高用“厘米” 或用“米”作为计量单位,就是人员身高特性的两种不同的表示。数据元的表示可以用一些具有表示含义的术语作标记,例如名称、代码、金额、数量、日期、百分比等。 数据元基本模型中,对象类对应于数据模型中的实体、特性和表示对应于数据模型中的属性。 分类 数据元的类型按不同的分类方式可以作如下分类。 1)按数据元的应用范围

数据类型

数据元: 数据元(DataElement),也称为数据元素,是用一组属性描述其定义、标识、表示和允许值的数据单元,在一定语境下,通常用于构建一个语义正确、独立且无歧义的特定概念语义的信息单元。数据元可以理解为数据的基本单元,将若干具有相关性的数据元按一定的次序组成一个整体结构即为数据模型。 分类: 1)按数据元的应用范围 分为通用数据元、应用数据元(或称“领域数据元”)和专用数据元。通用数据元是与具体的对象类无关的、可以在多种场合应用的数据元。应用数据元是在特定领域内使用的数据元。应用数据元与通用数据元是相对于一定的应用环境而言的,两者之间并没有本质的区别,应用数据元是被限定的通用数据元,通用数据元是被泛化的应用数据元,随环境的变化彼此可以相互转化。专用数据元是指与对象类完全绑定、只能用来描述该对象类的某个特性的数据元。专用数据元包含了数据元的所有组成部分,是“完整的”数据元。 2)按数据元值的数据类型 可分为文字型数据元与数值型数据元。例如人的姓名是用文字表示的,属于文字型数据元;人的身高是用数值表示的,属于数值型数据元。 3)按数据元中数据项的多少 可分为简单数据元和复合数据元。简单数据元由一个单独的数据

项组成;复合数据元是由2个及以上的数据项组成的数据元,即由2个以上的数据元组成。组成复合数据元的数据元称为成分数据元。虽然数据元一般被认为是不可再分的数据的基本单元,而复合数据元是由两个以上的数据元组成的,但是在实际应用中复合数据元一般被当作不可分割的整体来使用,所以复合数据元仍然可以看作是数据的基本单元,即数据元。例如数据元“日期时间”是一个复合数据元,表示某一天的某一时刻,它由“日期”和“时间”两个数据元组成。

SQLServer数据类型介绍

在计算机中数据有两种特征:类型和长度。所谓数据类型就是以数据的表现方式和存储方式来划分的数据的种类。 在SQL Server 中每个变量、参数、表达式等都有数据类型。系统提供的数据类型分为几大类,如表4-2 所示。 其中,BIGINT、 SQL_VARIANT 和TABLE 是SQL Server 2000 中新增加的3 种数据类型。下面分类讲述各种数据类型。 一、整数数据类型 整数数据类型是最常用的数据类型之一。 1、INT (INTEGER) INT (或INTEGER)数据类型存储从-2的31次方(-2 ,147 ,483 ,648)到2的31次方-1 (2 ,147 ,483,647)之间的所有正负整数。每个INT 类型的数据按4 个字节存储,其中1 位表示整数值的正负号,其它31 位表示整数值的长度和大小。 2、SMALLINT SMALLINT 数据类型存储从-2的15次方( -32, 768)到2的15次方-1( 32 ,767 )之间的所有正负整数。每个SMALLINT 类型的数据占用2 个字节的存储空间,其中1 位表示整数值的正负号,其它15 位表示整数值的长度和大小。 3、TINYINT TINYINT数据类型存储从0 到255 之间的所有正整数。每个TINYINT类型的数据占用1 个字节的存储空间。 4、BIGINT BIGINT 数据类型存储从-2^63 (-9 ,223, 372, 036, 854, 775, 807)到2^63-1( 9, 223, 372, 036 ,854 ,775, 807)之间的所有正负整数。每个BIGINT 类型的数据占用8个字节的存储空间。 二、浮点数据类型 浮点数据类型用于存储十进制小数。浮点数值的数据在SQL Server 中采用上舍入

机器学习_(python数据类型详解)

python数据类型详解 目录 1、字符串 2、布尔类型 3、整数 4、浮点数 5、数字 6、列表 7、元组 8、字典 9、日期 1、字符串 1.1、如何在Python中使用字符串 a、使用单引号(') 用单引号括起来表示字符串,例如: str='this is string'; print str; b、使用双引号(") 双引号中的字符串与单引号中的字符串用法完全相同,例如: str="this is string"; print str; c、使用三引号(''') 利用三引号,表示多行的字符串,可以在三引号中自由的使用单引号和双引号,例如:str='''this is string this is pythod string this is string''' print str; 2、布尔类型 bool=False; print bool; bool=True; print bool; 3、整数 int=20; print int; 4、浮点数 float=2.3;

5、数字 包括整数、浮点数。 5.1、删除数字对象引用,例如: a=1; b=2; c=3; del a; del b, c; #print a; #删除a变量后,再调用a变量会报错 5.2、数字类型转换 int(x [,base]) 将x转换为一个整数 float(x ) 将x转换到一个浮点数 complex(real [,imag]) 创建一个复数 str(x) 将对象x转换为字符串 repr(x) 将对象x转换为表达式字符串 eval(str) 用来计算在字符串中的有效Python表达式,并返回一个对象 tuple(s) 将序列s转换为一个元组 list(s) 将序列s转换为一个列表 chr(x) 将一个整数转换为一个字符 unichr(x) 将一个整数转换为Unicode字符 ord(x) 将一个字符转换为它的整数值 hex(x) 将一个整数转换为一个十六进制字符串 oct(x) 将一个整数转换为一个八进制字符串 5.3、数学函数 abs(x) 返回数字的绝对值,如abs(-10) 返回10 ceil(x) 返回数字的上入整数,如math.ceil(4.1) 返回5 cmp(x, y) 如果x < y 返回-1, 如果x == y 返回0, 如果x > y 返回1 exp(x) 返回e的x次幂(ex),如math.exp(1) 返回2.718281828459045 fabs(x) 返回数字的绝对值,如math.fabs(-10) 返回10.0 floor(x) 返回数字的下舍整数,如math.floor(4.9)返回4 log(x) 如math.log(math.e)返回1.0,math.log(100,10)返回2.0 log10(x) 返回以10为基数的x的对数,如math.log10(100)返回2.0 max(x1, x2,...) 返回给定参数的最大值,参数可以为序列。 min(x1, x2,...) 返回给定参数的最小值,参数可以为序列。 modf(x) 返回x的整数部分与小数部分,两部分的数值符号与x相同,整数部分以浮点型表示。 pow(x, y) x**y 运算后的值。 round(x [,n]) 返回浮点数x的四舍五入值,如给出n值,则代表舍入到小数点后的位数。sqrt(x) 返回数字x的平方根,数字可以为负数,返回类型为实数,如math.sqrt(4)返回2+0j

C语言基本数据类型简介

C语言基本数据类型简介 1.概述 C 语言包含的数据类型如下图所示: 2.各种数据类型介绍 2.1整型 整形包括短整型、整形和长整形。 2.1.1短整形 short a=1; 2.1.2整形 一般占4个字节(32位),最高位代表符号,0表示正数,1表示负数,取值围是 -2147483648~2147483647,在存中的存储顺序是地位在前、高位在后,例如0x12345678在存中的存储如下: 地址:0x0012ff780x0012ff790x0012ff7a0x0012ff7b 数据:78563412 定义:用int关键字,举例如下: int a=6; 2.1.3长整形 long a=10; 2.2浮点型 浮点型包括单精度型和双精度型。 2.2.1单精度型 浮点型,又称实型,也称单精度。一般占4个字节(32位), float a=4.5; 地址:0x0012ff780x0012ff790x0012ff7a0x0012ff7b 数据:00009040 2.2.2双精度型 一般占8个字节(64位) double a=4.5;

地址:0x0012ff780x0012ff790x0012ff7a0x0012ff7b0x0012ff7c 0x0012ff7d0x0012ff7e0x0012ff7f 数据:0000000000 001240 2.3字符类型 在各种不同系统中,字符类型都占一个字节(8位)。定义如下: char c='a'; 也可以用字符对应的ASCII码赋值,如下: char c=97; 3.数据类型与“模子” short、int、long、char、float、double 这六个关键字代表C 语言里的六种基本数据类型。 怎么去理解它们呢? 举个例子:见过藕煤球的那个东西吧?(没见过?煤球总见过吧)。那个东西叫藕煤器,拿着它在和好的煤堆里这么一咔,一个煤球出来了。半径12cm,12 个孔。不同型号的藕煤器咔出来的煤球大小不一样,孔数也不一样。这个藕煤器其实就是个模子。 现在我们联想一下,short、int、long、char、float、double 这六个东东是不是很像不同类型的藕煤器啊?拿着它们在存上咔咔咔,不同大小的存就分配好了,当然别忘了给它们取个好听的名字。 在32 位的系统上 short 短整型的存2 byte; int 整型的存4 byte; long 长整型的存4 byte; float 单精度浮点型的存4byte;仅能接收7位有效数字 double 双精度浮点型的存8 byte;可以接收16位有效数字 char字符型的存1 byte。 fabs单精度浮点型存4byte. (注意这里指一般情况,可能不同的平台还会有所不同,具体平台可以用sizeof 关键字测试一下) 很简单吧?咔咔咔很爽吧?是很简单,也确实很爽,但问题就是你咔出来这么多存块,你总不能

Step7数据类型详细说明总结汇总.docx

STEP7中的基本数据类型 ⑴位(BOOL) 位数据的数据类型为BOOL(布尔)型,在软件编程中BOOL变量的值1和0常用英语词TURE(真)和FALSE(假)来表示,对应二进制数中的“1”和“0”,常用于开关量的逻辑运算,存储空间为1位。 ⑵字节(BYTE) 字节数据长度为8位,数据格式为B#16#,B代表BYTE,表示数据长度为一个字节(8位),#16#表示十六进制,取值范围为B#16#0~B#16#FF。 ⑶字(WORD) 字数据长度为16位,这种数据可采用4种方法进行描述。 二进制:二进制的格式为2#,如2#101,取值范围为2#0~2#1111_1111_1111_1111,书写时每4位可用下划线隔开,也可直接表示为2#111111111111。 十六进制:十六进制的格式为W#16#,W代表WORD,表示数据长度为16位,#16#表示十六进制,数据取值范围为W#16#0~W#16#FFFF。 BCD码:BCD码的格式为C#,取值范围为C#0~C#999。BCD码是用4位二进制表示1位十进制数,4位二进制中的0000~1001组合分别表示十进制中的0~9,4位二进制中的1010~1111组合放弃不用。BCD码的最高4位用来表示符号,十六位BCD码的取值范围为-999~+999。在STEP7的数据格式中,BCD码的取值只取正值,与最高4位的符号无关。 无符号十进制数:无符号十进制数的格式为B#(×,×),取值范围为B#(0,0)~B#(255,255),无符号十进制数是用十进制的0~255对应二进制数中的0000_0000~ 1111_1111(8位),16位二进制数就需要两个0~255的数来表示,例如: B#(12,254)=2#0000_1100_1111_1110 12 254 上面4种数据都是描述一个长度位16位的二进制数,无论你使用哪种方式都可以。例如,如果想得到二进制数0000100110000111,可以使用2#0000_1001_1000_0111,也可以使用W#16#987,还可以使用C#987或者B#(9,135)。在STEP7中,比较常用的是十六进制,即W#16#这种格式。 ⑷双字(DOUBLE WORD) 数据长度为32位,双字的数据格式与字的数据格式相同,也有4种方式,分别为: 二进制:取值范围为2#0~2#1111_1111_1111_1111_1111_1111_1111_1111。 十六进制:取值范围为DW#16#0~DW#16#FFFF_FFFF。 BCD码:取值范围为C#0~C#9999999。 无符号十进制数:取值范围为B#(0,0,0,0)~B#(255,255,255,255)。 ⑸整数(INT) 整数数据类型长度为16位,数据格式为带符号十进制数,16位中最高为符号位。正整数是以原码格式进行存储的,如+786,对应的二进制码为2#0000_0011_0001_0010,而负整数则表示为正整数的二进制补码,即对应正整数的二进制码取反后加1,例如负整数-786,对应的二进制码为2#1111_1100_1110_1110。将负零(1000_0000_0000_0000)定义为-32768因此取值范围为-32768~32767。0表示正,1表示负。 ⑹双整数(DOUBLE INT) 双整数的数据类型长度为32位,数据格式为带符号十进制数,用L#表示双整数。双整数的二进制码与整数的换算方式一致,其取值范围为L#-2147483648~L#2147483647。 ⑺实数(REAL也叫浮点数Float) 实数的数据类型长度为32位,是以IEEE浮点数格式转换为二进制数存储的,其取值范围为±3.402823e+38~±1.1755494e-38。 实数用1.m×2E例如123.4可表示为1.234×102。 式中:指数E=e-127(1≤e≤254)为8位整数 符号位(S):S=0为正值S=1为负值 规定尾数的整数部分总是为1,只保留尾数的小数部分m(0~22位)

vc数据类型详解

VC++常用数据类型及其操作详解 -------西安邮电学院计算机系 徐兆元() 2004/08/03 目录 一.VC常用数据类型列表 二.常用数据类型转化 2.1数学类型变量与字符串相互转换 2.2CString及string,char *与其他数据类型的转换和操作 ●CString,string,char*的综合比较 ●数学类型与CString相互转化 ●CString与char*相互转换举例 ●CString 与BSTR 型转换 ●V ARIANT 型转化成CString 型 2.3 BSTR、_bstr_t与CComBSTR 2.4 V ARIANT 、_variant_t 与COleVariant 附录CString及字符串转及操作详解 参考书籍:CSDN,<> 一.VC常用数据类型列表

说明: (1)-------表示省略 (2)1Byte=8Bit, 字与机器有关,在8位系统中:字=1字节,16位系统中,1字=2字节,32位中:1字=4字节, 64位中1字=8字节.不要搞混这些概念. 二.常用数据类型转化及操作 2.1 数学类型变量与字符串相互转换(这些函数都在STDLIB.H里) (1)将数学类型转换为字符串可以用以下一些函数: 举例: _CRTIMP char * __cdecl _itoa(int, char *, int);//这是一个将数字转换为一个字符串类型的函数,最后一个int表示转换的进制 如以下程序: int iTyep=3;

char *szChar; itoa(iType,szChar,2); cout<

数据类型

数据类型

3 4 PrivateTest,Amount,JAsInteger '注意,在这里Test和Amount是Variant数据类型,只有J是Integer数据类型注意如果不提供数据类型,则指定变量为缺省类型。如上例中注释已说明,如果由于 其它编程语言的经验使人感到同一个声明语句中的所有变量都有相同的指定数据类型(此例中为Integer),那么,此处的结果可能会令人感到新鲜。 种类 数字型 Visual Basic 支持几种Numeric 数据类型— Integer(整型)、Long(长整型)、Single (单精度浮点型)、Double(双精度浮点型)和Currency(货币型)。与Variant 类型相比,Numeric 类型占用的存储空间通常要少。 如果知道变量总是存放整数(如12 )而不是带小数点的数字(如3.57),就应当将它声明为Integer 类型或Long 类型。整数的运算速度较快,而且比其它数据类型占据的 内存要少。在For...Next 循环内作为计数器变量使用时,整数类型尤为有用。 关于控制结构的详细资料(取值范围,储存空间等),请参阅本词条后面的“数据类型概述”。 如果变量包含小数,则可将它们声明为Single、Double 或Currency 变量。Currency 数据类型支持小数点右面4 位和小数点左面15 位;它是一个精确的定点数据类型,适用于货币计算。浮点(Single 和Double)数比Currency 的有效范围大得多,但有可能产生小的进位误差。 浮点数值可表示为mmmEeee 或mmmDeee ,其中mmm 是假数,而eee 是指 数(以10 为底的幂)。Single 数据类型的最大正数值为3.402823E+38,或3.4 乘以10 的38 次方;Double 数据类型的最大正数值是1.79769313486232D+308 或1.8 乘以 10 的308 次方。用D 将数值文字中的假数部分和指数部分隔开,就会导致将该值作为Double 数据类型来处理。同样,用这种方式使用E,也会导致将该值作为Single 数据类型来处理。 字节型 如果变量包含二进制数,则将它声明为Byte 数据类型的数组。(本章后面的“数组” 中将讨论数组)。在转换格式期间用Byte 变量存储二进制数据就可保留数据。当String 变量在ANSI 和Unicode 格式间进行转换时,变量中的任何二进制数据都会遭到破坏。在下列任何一种情况下,Visual Basic 都会自动在ANSI 和Unicode 之间进行转换。 除一元减法外,所有可对整数进行操作的运算符均可操作Byte 数据类型。因为Byte 是从0 - 255 的无符号类型,所以不能表示负数。因此,在进行一元减法运算时,Visual Basic 首先将Byte 转换为符号整数。 所有数值变量都可相互赋值,也可对Variant 类型变量赋值。在将浮点数赋予整数之前,Visual Basic要将浮点数的小数部分四舍五入,而不是将小数部分去掉。 文本型 如果变量总是包含字符串而从不包含数值,就可将其声明为String 类型。

C语言的数据类型介绍

C语言的数据类型介绍 导语:所谓数据类型是按被说明量的性质,表示形式,占据存储空间的多少,构造特点来划分的。在C语言中,数据类型可分为:基本数据类型,构造数据类型,指针类型,空类型四大类。以下是小编为大家精心整理的C语言的数据类型介绍,欢迎大家参考! 1.基本数据类型 基本数据类型最主要的特点是,其值不可以再分解为其它类型。也就是说,基本数据类型是自我说明的。 2.构造数据类型构造数据类型 是根据已定义的一个或多个数据类型用构造的方法来定义的。也就是说,一个构造类型的值可以分解成若干个“成员”或“元素”。每个“成员”都是一个基本数据类型或又是一个构造类型。在C语言中,构造类型有以下几种: ·数组类型 ·结构类型 ·联合类型 3.指针类型 指针是一种特殊的,同时又是具有重要作用的数据类型。其值用来表示某个量在内存储器中的地址。虽然指针变量的取值类似于整型量,但这是两个类型完全不同的量,因此不能混为一谈。

4.空类型在调用函数值时,通常应向调用者返回一个函数值。这个返回的函数值是具有一定的数据类型的,应在函数定义及函数说明中给以说明,例如在例题中给出的max函数定义中,函数头为:int max(int a,int b);其中“int ”类型说明符即表示该函数的返回值为整型量。又如在例题中,使用了库函数sin,由于系统规定其函数返回值为双精度浮点型,因此在赋值语句s=sin (x);中,s 也必须是双精度浮点型,以便与sin函数的返回值一致。所以在说明部分,把s说明为双精度浮点型。但是,也有一类函数,调用后并不需要向调用者返回函数值,这种函数可以定义为“空类型”。其类型说明符为void。在第五章函数中还要详细介绍。在本章中,我们先介绍基本数据类型中的整型、浮点型和字符型。其余类型在以后各章中陆续介绍。 对于基本数据类型量,按其取值是否可改变又分为常量和变量两种。在程序执行过程中,其值不发生改变的量称为常量,取值可变的量称为变量。它们可与数据类型结合起来分类。例如,可分为整型常量、整型变量、浮点常量、浮点变量、字符常量、字符变量、枚举常量、枚举变量。在程序中,常量是可以不经说明而直接引用的,而变量则必须先说明后使用。 整型量 整型量包括整型常量、整型变量。整型常量就是整常数。在C语言中,使用的整常数有八进制、十六进制和十进制三种。 整型常量

Step7-数据类型详细说明总结汇总

Step7-数据类型详细说明总结汇总

STEP7中的基本数据类型 ⑴位(BOOL) 位数据的数据类型为BOOL(布尔)型,在软件编程中BOOL 变量的值1和0常用英语词TURE(真)和FALSE(假)来表示,对应二进制数中的“1”和“0”,常用于开关量的逻辑运算,存储空间为1位。 ⑵字节(BYTE) 字节数据长度为8位,数据格式为B#16#,B代表BYTE,表示数据长度为一个字节(8位),#16#表示十六进制,取值范围为B#16#0~B#16#FF。 ⑶字(WORD) 字数据长度为16位,这种数据可采用4种方法进行描述。 二进制:二进制的格式为2#,如2#101,取值范围为2#0~2#1111_1111_1111_1111,书写时每4位可用下划线隔开,也可直接表示为2#111111111111。 十六进制:十六进制的格式为W#16#,W代表WORD,表示数据长度为16位,#16#表示十六进制,数据取值范围为W #16#0~W#16#FFFF。 BCD码:BCD码的格式为C#,取值范围为C#0~C#999。BCD码是用4位二进制表示1位十进制数,4位二进制中的0000~1001组合分别表示十进制中的0~9,4位二进制中的1010~1111组合放弃不用。BCD码的最高4位用来表示符号,十六位BCD码的取值范围为-999~+999。在STEP7的数据格式中,BCD码的取值只取正值,与最高4位的符号无关。

无符号十进制数:无符号十进制数的格式为B#(×,×),取值范围为B#(0,0)~B#(255,255),无符号十进制数是用十进制的0~255对应二进制数中的0000_0000~ 1111_1111(8位),16位二进制数就需要两个0~255的数来表示,例如: B#(12,254)=2#0000_1100_1111_1110 12 254 上面4种数据都是描述一个长度位16位的二进制数,无论你使用哪种方式都可以。例如,如果想得到二进制数0000100110000111,可以使用2#0000_1001_1000_0111,也可以使用W#16#987,还可以使用C#987或者B#(9,135)。在STEP7中,比较常用的是十六进制,即W#16#这种格式。 ⑷双字(DOUBLE WORD) 数据长度为32位,双字的数据格式与字的数据格式相同,也有4种方式,分别为: 二进制:取值范围为2#0~2#1111_1111_1111_1111_1111_1111_1111_1111。 十六进制:取值范围为DW#16#0~DW#16#FFFF_FFFF。 BCD码:取值范围为C#0~C#9999999。 无符号十进制数:取值范围为B#(0,0,0,0)~B#(255,255,255,255)。 ⑸整数(INT) 整数数据类型长度为16位,数据格式为带符号十进制数,16位中最高为符号位。正整数是以原码格式进行存储的,如+

数据类型

CHAR VARCHAR2 NCHAR NVARCHAR2 NUMBER(P,S) INTEGER FLOAT BINARY_FLOAT BINARY_DOUBLE DATE TIMESTAMP TIMESTAMP WITH TIME ZONE TIMESTAMP WITH LOCAL TIME ZONE INTERVAL YEAR TO MOTH INTERVAL DAY TO SECOND BLOB CLOB NCLOB BFILE LONG LONG RAW RAW()数值类型类型 RAW 及LONG RAW 类型 日期类型字符类型LOB 类型

说明 固定长度字符串,最大长度2000 bytes 可变长度的字符串,最大长度4000 bytes,可做索引的最大长度749 根据字符集而定的固定长度字符串,最大长度2000 bytes 根据字符集而定的可变长度字符串,最大长度4000 bytes 数字类型,P为整数位,S为小数位,p指精度(precision),即总位数。默认情况下精度为38。精度的取值范围为1~38;s指小数位(scale),小数点右边的位数。小数点位数的合法值为-84~127 整数类型 浮点数类型,NUMBER(38),双精度 32位、单精度浮点数字数据类型。可以支持至少6位精度,每个 BINARY_FLOAT 的值需要 5 个字节,包括长度字节 64位,双精度浮点数字数据类型。每个 BINARY_DOUBLE 的值需要 9 个字节,包括长度字节。 日期(日-月-年),DD-MM-YY(HH-MI-SS) 一个7字节或12字节的定宽日期/时间数据类型。它与DATE数据类型不同,因为TIMESTAMP可以包含小数秒,带小数秒的TIMESTAMP在小数点右边最多可以保留9位TIMESTAMP类型的变种,它包含了时区偏移量的值 二进制数据,最大长度4G 字符数据,最大长度4G 根据字符集而定的字符数据,最大长度4G 存放在数据库外的二进制数据,最大长度4G 存储变长字符串,最多达2G的字符数据(2GB是指2千兆字节) 能存储2GB 的原始二进制数据(不用进行字符集转换的数据) 用于存储二进制或字符类型数据,变长二进制数据类型,这说明采用这种数据类型存 储的数据不会发生字符集转换。这种类型最多可以存储2,000字节的信息

相关主题
文本预览
相关文档 最新文档