Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
period generation
09-19-2012, 06:15 PM,
#1
period generation
Hi I am new at using weberp? Does weberp have documentation on how periods work? what triggers automatic generation? I need to understand this to explain it to my boss. I think this is a great open source erp system. Thanks
Reply
09-19-2012, 06:33 PM,
#2
RE: period generation
The code is all there so you can see for yourself - care is taken to ensure that the code is as readable as it possibly can be.

The function GetPeriod($Some_Given_Date, $db) in the file includes/DateFunctions.inc is responsible for figuring out which period a date belongs in ... if the date belongs in a period subsequent or prior to the defined periods then new periods are defined and inserted into the database.
Phil Daintree
webERP Admin
Logic Works Ltd
http://www.logicworks.co.nz
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)