Programmer:Item Opening Maintenance v2: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 22:
#:If there is any occasion when '''Seq''' is repeated for the same ItemCode, UOM, Location and BatchNo, below error message is thrown:
#:'''Sequence for Item''' 'FG00001', '''UOM''' 'UNIT', '''Location''' 'HQ', '''BatchNo''' ' ' '''is not correct'''.
#'''Seq''' will affect how the '''FIFOcost''' andof '''LIFOFIFO''' to calculate itemand '''costLIFO''' is calculated.
 
==References of AutoCount Accounting version 2.0==
Line 139:
===Adding two entries of same ItemCode to Item Opening===
Following example shows the increase of '''Seq''' when 2nd entry of Item Opening has the same '''ItemCode''', '''UOM''', '''Location''' and '''BatchNo''' from the 1st entry.
<syntaxhighlight lang="csharp" highlight="22-24,31-33,27,36">
public void NewTwoEntriesOfSameItem(AutoCount.Authentication.UserSession userSession)
{