liukun2009 发表于 2015-9-18 07:55:17

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

......................................................
MaterialRevaluation Object
Description
  
  MaterialRevaluation is a business object that enables you toupdate the items' price (average price or standard priceonly), revaluate the stock, and create journal entries accordingly.
  This object applies only to companies that manage their stock usingContinuous 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
http://www.cnblogs.com/el-net/admin/aximages/PublicMethod.bmp AddAdds a record to the object table in SAPBusiness One company database. http://www.cnblogs.com/el-net/admin/aximages/PublicMethod.bmp CancelNot supported.http://www.cnblogs.com/el-net/admin/aximages/PublicMethod.bmp CloseNot supported.http://www.cnblogs.com/el-net/admin/aximages/PublicMethod.bmp GetAsXMLReturns the object from XML data, which isstored as string in a buffer. http://www.cnblogs.com/el-net/admin/aximages/PublicMethod.bmp GetByKeyRetrieves and sets the values of theobject's properties by the object's absolute key from the Company database.http://www.cnblogs.com/el-net/admin/aximages/PublicMethod.bmp RemoveNot supported.http://www.cnblogs.com/el-net/admin/aximages/PublicMethod.bmp SaveToFileSave the object to a file as XMLdata.http://www.cnblogs.com/el-net/admin/aximages/PublicMethod.bmp SaveXMLSave object as XML document http://www.cnblogs.com/el-net/admin/aximages/PublicMethod.bmp UpdateUpdates the object data in the companydatabase. Public Properties
http://www.cnblogs.com/el-net/admin/aximages/PublicProperty.bmp BrowserReturns the DataBrowser object. http://www.cnblogs.com/el-net/admin/aximages/PublicProperty.bmp CommentsSets or returns comments for the document.  (field name: Comments).
  Length: 254 characters.
http://www.cnblogs.com/el-net/admin/aximages/PublicProperty.bmp CreationDateReturns the creation date of the document.  (field name: CreateDate).
http://www.cnblogs.com/el-net/admin/aximages/PublicProperty.bmp DataSourceNot used.  (field name: DataSource).
http://www.cnblogs.com/el-net/admin/aximages/PublicProperty.bmp DocDateSets or returns the document posting date.  (field name: DocDate).
http://www.cnblogs.com/el-net/admin/aximages/PublicProperty.bmp DocEntryReturns the document entry key thatuniquely identifies the document.  (field name: DocEntry).
http://www.cnblogs.com/el-net/admin/aximages/PublicProperty.bmp DocNumSets or returns the number of thedocument.  (field name: DocNum).
http://www.cnblogs.com/el-net/admin/aximages/PublicProperty.bmp DocTimeSets or returns the document creationtime.  (field name: DocTime).
http://www.cnblogs.com/el-net/admin/aximages/PublicProperty.bmp JournalMemoSets or returns the journal entry remarksthat is copied later to the accounting document.  (field name: JrnlMemo).
  Length: 50 characters.
http://www.cnblogs.com/el-net/admin/aximages/PublicProperty.bmp LinesReturns the MaterialRevaluation_lineschild object. http://www.cnblogs.com/el-net/admin/aximages/PublicProperty.bmp Reference1P>Sets or returns the first referencecode of the document. (field name: Ref1).  Length: 11 characters.
http://www.cnblogs.com/el-net/admin/aximages/PublicProperty.bmp Reference2Sets or returns the second reference codeof the document.  (field name: Ref2).
  Length: 11 characters.
http://www.cnblogs.com/el-net/admin/aximages/PublicProperty.bmp RevalTypeSets or returns the revaluation type:price change or material debit/credit.  (field name: RevalType).
  Length: 1 character.
http://www.cnblogs.com/el-net/admin/aximages/PublicProperty.bmp RevaluationExpenseAccountSets or returns the revaluation expenseaccount code.  (field name: RExpnAcct).
  Length: 15 characters.
http://www.cnblogs.com/el-net/admin/aximages/PublicProperty.bmp RevaluationIncomeAccountSets or returns the revaluation incomeaccount code.  (field name: RIncmAcct).
  Length: 15 characters.
http://www.cnblogs.com/el-net/admin/aximages/PublicProperty.bmp SeriesSets or returns the auto-number seriesthat generated the document number.  (field name: Series).
  This is a foreign key to the Seriesobject.
http://www.cnblogs.com/el-net/admin/aximages/PublicProperty.bmp TaxDateSets or returns the date for the taxcalculation or payment.  (field name: TaxDate).
http://www.cnblogs.com/el-net/admin/aximages/PublicProperty.bmp TransNumReturns the transaction number that SAPBusiness One creates for the document.  (field name: TransId).
  This is a foreign key to the JournalEntries object.
http://www.cnblogs.com/el-net/admin/aximages/PublicProperty.bmp UpdateDateReturns the date when the materialrevaluation was last updated.  (field name: UpdateDate).
http://www.cnblogs.com/el-net/admin/aximages/PublicProperty.bmp UserFieldsReturns the UserFields object. http://www.cnblogs.com/el-net/admin/aximages/PublicProperty.bmp UserSignatureReturns the ID of the user who created thedocument.  (field name: UserSign).
Remarks
  Country-specific object for Poland.
页: [1]
查看完整版本: [原创]周末赶工SAP DI实现库存重估