[原创]周末赶工SAP DI实现库存重估

......................................................
MaterialRevaluation Object
Description

MaterialRevaluation is a business object that enables you to update the items' price (average price or standard price only), revaluate the stock, and create journal entries accordingly.

This object applies only to companies that manage their stock using Continuous Stock system.

This object enables you to:

  • Add a material revaluation.
  • Retrieve a material revaluation by its key.
  • Update a material revaluation.
  • Save the object in XML format.

Source table: OMRV.

Object Model



Public Methods
Public Method AddAdds a record to the object table in SAP Business One company database.
Public Method CancelNot supported.
Public Method CloseNot supported.
Public Method GetAsXMLReturns the object from XML data, which is stored as string in a buffer.
Public Method GetByKeyRetrieves and sets the values of the object's properties by the object's absolute key from the Company database.
Public Method RemoveNot supported.
Public Method SaveToFileSave the object to a file as XML data.
Public Method SaveXMLSave object as XML document
Public Method UpdateUpdates the object data in the company database.
Public Properties
Public Property BrowserReturns the DataBrowser object.
Public Property CommentsSets or returns comments for the document.

(field name: Comments).

Length: 254 characters.

Public Property CreationDateReturns the creation date of the document.

(field name: CreateDate).

Public Property DataSourceNot used.

(field name: DataSource).

Public Property DocDateSets or returns the document posting date.

(field name: DocDate).

Public Property DocEntryReturns the document entry key that uniquely identifies the document.

(field name: DocEntry).

Public Property DocNumSets or returns the number of the document.

(field name: DocNum).

Public Property DocTimeSets or returns the document creation time.

(field name: DocTime).

Public Property JournalMemoSets or returns the journal entry remarks that is copied later to the accounting document.

(field name: JrnlMemo).

Length: 50 characters.

Public Property LinesReturns the MaterialRevaluation_lines child object.
Public Property Reference1P>Sets or returns the first reference code of the document. (field name: Ref1).

Length: 11 characters.

Public Property Reference2Sets or returns the second reference code of the document.

(field name: Ref2).

Length: 11 characters.

Public Property RevalTypeSets or returns the revaluation type: price change or material debit/credit.

(field name: RevalType).

Length: 1 character.

Public Property RevaluationExpenseAccountSets or returns the revaluation expense account code.

(field name: RExpnAcct).

Length: 15 characters.

Public Property RevaluationIncomeAccountSets or returns the revaluation income account code.

(field name: RIncmAcct).

Length: 15 characters.

Public Property SeriesSets or returns the auto-number series that generated the document number.

(field name: Series).

This is a foreign key to the Series object.

Public Property TaxDateSets or returns the date for the tax calculation or payment.

(field name: TaxDate).

Public Property TransNumReturns the transaction number that SAP Business One creates for the document.

(field name: TransId).

This is a foreign key to the JournalEntries object.

Public Property UpdateDateReturns the date when the material revaluation was last updated.

(field name: UpdateDate).

Public Property UserFieldsReturns the UserFields object.
Public Property UserSignatureReturns the ID of the user who created the document.

(field name: UserSign).

Remarks

Country-specific object for Poland.

转载于:https://www.cnblogs.com/el-net/archive/2008/05/04/1181215.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值