From: <dai...@us...> - 2012-02-04 06:13:23
|
Revision: 4866 http://web-erp.svn.sourceforge.net/web-erp/?rev=4866&view=rev Author: daintree Date: 2012-02-04 06:13:15 +0000 (Sat, 04 Feb 2012) Log Message: ----------- Added new API function CreateCreditNote Modified Paths: -------------- trunk/api/api_debtortransactions.php trunk/api/api_salesorders.php trunk/api/api_session.inc trunk/doc/Manual/ManualContents.php Modified: trunk/api/api_debtortransactions.php =================================================================== --- trunk/api/api_debtortransactions.php 2012-02-03 09:57:52 UTC (rev 4865) +++ trunk/api/api_debtortransactions.php 2012-02-04 06:13:15 UTC (rev 4866) @@ -263,10 +263,42 @@ return $myrow[0]; } -/* Retrieves the next transaction number for the given type + /* + This function inserts a debtors receipts into a bank account/GL Postings and does the allocation and journals for difference on exchange + + $Receipt contains an associative array in the format: + * $Receipt['debtorno'] - the customer code + * $Receipt['branchcode'] - the branch code + * $Receipt['trandate'] - the date of the receipt + * $Receipt['amountfx'] - the amount in FX + * $Receipt['paymentmethod'] - the payment method of the receipt e.g. cash/EFTPOS/credit card + * $Receipt['bankaccount'] - the webERP bank account + * $Receipt['allocto_transid'] - the invoice to allocate against + + */ + + function InsertDebtorReceipt($Receipt, $User, $Password) { + + $Errors = array(); + $db = db($User, $Password); + if (gettype($db)=='integer') { + $Errors[0]=NoAuthorisation; + return $Errors; + } + $fp = fopen( "/root/Web-Server/apidebug/DebugInfo.txt", "w"); + + $Errors=VerifyDebtorExists($Header['debtorno'], sizeof($Errors), $Errors, $db); + $Errors=VerifyBranchNoExists($Header['debtorno'],$Header['branchcode'], sizeof($Errors), $Errors, $db); + + + + + + } +/* Retrieves the next transaction number for the given type * This function is already included from SQL_CommonFunctions.php???? Isn't it?? - + function GetNextTransactionNo($type, $db) { $sql="SELECT typeno FROM systypes WHERE typeid='" . $type . "'"; $result=DB_query($sql, $db); @@ -277,25 +309,25 @@ */ /* Create a customer credit note in webERP. - * Needs an associative array for the Header + * Needs an associative array for the Header * and an array of assocative arrays for the $LineDetails */ function CreateCreditNote($Header,$LineDetails, $User, $Password) { - + /* $Header contains an associative array in the format: - * Header['debtorno'] - * Header['branchcode'] - * Header['trandate'] - * Header['tpe'] - * Header['fromstkloc'] - * Header['customerref'] - * Header['shipvia'] - * + * Header['debtorno'] - the customer code + * Header['branchcode'] - the branch code + * Header['trandate'] - the date of the credit note + * Header['tpe'] - the sales type + * Header['fromstkloc'] - the inventory location where the stock is put back into + * Header['customerref'] - the customer's reference + * Header['shipvia'] - the shipper required by webERP + * * and $LineDetails contains an array of associative arrays of the format: - * + * * $LineDetails[0]['stockid'] * $LineDetails[0]['price'] - * $LineDetails[0]['qty'] + * $LineDetails[0]['qty'] - expected to be a negative quantity (a negative sale) * $LineDetails[0]['discountpercent'] */ $Errors = array(); @@ -304,11 +336,11 @@ $Errors[0]=NoAuthorisation; return $Errors; } - $fp = fopen( "/root/Web-Server/apidebug/DebugInfo.txt", "w"); - + + $Errors=VerifyDebtorExists($Header['debtorno'], sizeof($Errors), $Errors, $db); $Errors=VerifyBranchNoExists($Header['debtorno'],$Header['branchcode'], sizeof($Errors), $Errors, $db); - /*Does not deal with assembly items or serialise/lot track items - for use by POS */ + /*Does not deal with serialised/lot track items - for use by POS */ /*Get Company Defaults */ $ReadCoyResult = api_DB_query("SELECT debtorsact, freightact, @@ -320,7 +352,7 @@ $CompanyRecord = DB_fetch_array($ReadCoyResult); if (DB_error_no($db) != 0) { $Errors[] = NoCompanyRecord; - } + } $HeaderSQL = "SELECT custbranch.area, custbranch.taxgroupid, @@ -335,13 +367,13 @@ WHERE custbranch.debtorno = '" . $Header['debtorno'] . "' AND custbranch.branchcode='" . $Header['branchcode'] . "'"; - $HeaderResult = api_DB_query($OrderHeaderSQL,$db); + $HeaderResult = api_DB_query($HeaderSQL,$db); if (DB_error_no($db) != 0) { $Errors[] = NoReadCustomerBranch; - } - + } + $CN_Header = DB_fetch_array($HeaderResult); - + $TaxProvResult = api_DB_query("SELECT taxprovinceid FROM locations WHERE loccode='" . $Header['fromstkloc'] ."'",$db); if (DB_error_no($db) != 0) { $Errors[] = NoTaxProvince; @@ -357,10 +389,12 @@ $TotalFXNetCredit = 0; $TotalFXTax = 0; + + $TaxTotals =array(); $LineCounter =0; - foreach ($LineItems as $CN_Line) { - + foreach ($LineDetails as $CN_Line) { + $LineSQL = "SELECT taxcatid, mbflag, materialcost+labourcost+overheadcost AS standardcost @@ -373,7 +407,7 @@ return $Errors; } $LineRow = DB_fetch_array($LineResult); - + $StandardCost = $LineRow['standardcost']; $LocalCurrencyPrice= ($CN_Line['price'] *(1- floatval($CN_Line['discountpercent'])))/ $CN_Header['rate']; $LineNetAmount = $CN_Line['price'] * $CN_Line['qty'] *(1- floatval($CN_Line['discountpercent'])); @@ -393,18 +427,17 @@ taxauthrates.taxauthority=taxauthorities.taxid WHERE taxgrouptaxes.taxgroupid='" . $CN_Header['taxgroupid'] . "' AND taxauthrates.dispatchtaxprovince='" . $DispTaxProvinceID . "' - AND taxauthrates.taxcatid = '" . $CN_Line['taxcatid'] . "' + AND taxauthrates.taxcatid = '" . $LineRow['taxcatid'] . "' ORDER BY taxgrouptaxes.calculationorder"; $GetTaxRatesResult = api_DB_query($SQL,$db); - + if (DB_error_no($db) != 0) { $Errors[] = TaxRatesFailed; - } + } + + $LineTaxAmount = 0; - $LineTaxAmount = 0; - $TaxTotals =array(); - while ($myrow = DB_fetch_array($GetTaxRatesResult)){ if (!isset($TaxTotals[$myrow['taxauthid']]['FXAmount'])) { $TaxTotals[$myrow['taxauthid']]['FXAmount']=0; @@ -416,12 +449,11 @@ if ($myrow['taxontax'] ==1){ $TaxAuthAmount = ($LineNetAmount+$LineTaxAmount) * $myrow['taxrate']; - $TaxTotals[$myrow['taxauthid']]['FXAmount'] += ($LineNetAmount+$LineTaxAmount) * $myrow['taxrate']; } else { $TaxAuthAmount = $LineNetAmount * $myrow['taxrate']; - $TaxTotals[$myrow['taxauthid']]['FXAmount'] += $LineNetAmount * $myrow['taxrate']; } - + $TaxTotals[$myrow['taxauthid']]['FXAmount'] += $TaxAuthAmount; + /*Make an array of the taxes and amounts including GLcodes for later posting - need debtortransid so can only post once the debtor trans is posted - can only post debtor trans when all tax is calculated */ $LineTaxes[$LineCounter][$myrow['calculationorder']] = array('TaxCalculationOrder' =>$myrow['calculationorder'], @@ -434,8 +466,6 @@ }//end loop around Taxes - $LineNetAmount = $CN_Line['price'] * $CN_Line['qty'] *(1- floatval($CN_Line['discountpercent'])); - $TotalFXNetCredit += $LineNetAmount; $TotalFXTax += $LineTaxAmount; @@ -463,8 +493,9 @@ SET quantity = locstock.quantity - " . $CN_Line['qty'] . " WHERE locstock.stockid = '" . $CN_Line['stockid'] . "' AND loccode = '" . $Header['fromstkloc'] . "'"; + $Result = api_DB_query($SQL,$db,'','',true); - + $SQL = "INSERT INTO stockmoves (stockid, type, transno, @@ -493,9 +524,9 @@ '" . $CN_Line['discountpercent'] . "', '" . $StandardCost . "', '" . ($QtyOnHandPrior - $CN_Line['qty']) . "' )"; - + $Result = api_DB_query($SQL,$db,'','',true); - + } else if ($LineRow['mbflag']=='A'){ /* its an assembly */ /*Need to get the BOM for this part and make stock moves for the components then update the Location stock balances */ @@ -554,7 +585,7 @@ '" . $Header['debtorno'] . "', '" . $Header['branchcode'] . "', '" . $PeriodNo . "', - '" . _('Assembly') . ': ' . $CN_Line['stkcode'] . ' ' . $Header['customerref'] . "', + '" . _('Assembly') . ': ' . $CN_Line['stockid'] . ' ' . $Header['customerref'] . "', '" . (-$AssParts['quantity'] * $CN_Line['qty']) . "', '" . $AssParts['standard'] . "', 0, @@ -571,9 +602,9 @@ } /* end of assembly explosion and updates */ } /* end of its an assembly */ - - if ($OrderLineRow['mbflag']=='A' OR $OrderLineRow['mbflag']=='D'){ - /*it's a Dummy/Service item or an Assembly item - still need stock movement record + + if ($LineRow['mbflag']=='A' OR $LineRow['mbflag']=='D'){ + /*it's a Dummy/Service item or an Assembly item - still need stock movement record * but quantites on hand are always nil */ $SQL = "INSERT INTO stockmoves (stockid, type, @@ -603,7 +634,7 @@ '" . $CN_Line['discountpercent'] . "', '" . $StandardCost . "', '0' )"; - + $Result = api_DB_query($SQL,$db,'','',true); } /*Get the ID of the StockMove... */ @@ -624,7 +655,7 @@ $Result = DB_query($SQL,$db,'','',true); } - + /*Insert Sales Analysis records */ $SQL="SELECT COUNT(*), @@ -660,12 +691,10 @@ salesanalysis.typeabbrev, salesanalysis.salesperson"; - $ErrMsg = _('The count of existing Sales analysis records could not run because'); - $DbgMsg = _('SQL to count the no of sales analysis records'); - $Result = DB_query($SQL,$db,$ErrMsg,$DbgMsg,true); + $Result = api_DB_query($SQL,$db,'','',true); $myrow = DB_fetch_row($Result); - + if ($myrow[0]>0){ /*Update the existing record that already exists */ $SQL = "UPDATE salesanalysis @@ -681,7 +710,7 @@ AND stockid " . LIKE . " '" . $CN_Line['stockid'] . "' AND salesanalysis.stkcategory ='" . $myrow[1] . "' AND budgetoractual='1'"; - + } else { /* insert a new sales analysis record */ $SQL = "INSERT INTO salesanalysis ( typeabbrev, @@ -714,9 +743,9 @@ WHERE stockmaster.stockid = '" . $CN_Line['stockid'] . "' AND custbranch.debtorno = '" . $Header['debtorno'] . "' AND custbranch.branchcode='" . $Header['branchcode'] . "'"; - + } - + $Result = api_DB_query($SQL,$db,'','',true); if ($CompanyRecord['gllink_stock']==1 AND $StandardCost !=0){ @@ -739,7 +768,7 @@ '" . ($StandardCost * $CN_Line['qty']) . "')"; $Result = api_DB_query($SQL,$db,'','',true); - + /*now the stock entry - this is set to the cost act in the case of a fixed asset disposal */ $StockGLCode = GetStockGLCode($CN_Line['stockid'],$db); @@ -759,7 +788,7 @@ '" . (-$StandardCost * $CN_Line['qty']) . "')"; $Result = api_DB_query($SQL,$db,'','',true); - + } /* end of if GL and stock integrated and standard cost !=0 and not an asset */ if ($CompanyRecord['gllink_debtors']==1 AND $CN_Line['price'] !=0){ @@ -783,7 +812,7 @@ '" . (-$CN_Line['price'] * $CN_Line['qty']/$CN_Header['rate']) . "' )"; $Result = api_DB_query($SQL,$db,'','',true); - + if ($CN_Line['discountpercent'] !=0){ $SQL = "INSERT INTO gltrans (type, @@ -799,7 +828,7 @@ '" . $PeriodNo . "', '" . $SalesGLAccounts['discountglcode'] . "', '" . $Header['debtorno'] . " - " . $CN_Line['stockid'] . " @ " . ($CN_Line['discountpercent'] * 100) . "%', - '" . ($CN_Line['price'] * $CN_Line['quantity'] * $CN_Line['discountpercent']/$CN_Header['rate']) . "')"; + '" . ($CN_Line['price'] * $CN_Line['qty'] * $CN_Line['discountpercent']/$CN_Header['rate']) . "')"; $Result = DB_query($SQL,$db,'','',true); } /*end of if discount !=0 */ @@ -809,18 +838,13 @@ $LineCounter++; //needed for the array of taxes by line } /*end of OrderLine loop */ - $TotalCreditLocalCurr = ($TotalFXNetCredit + $TotalFXTax)/$OrderHeader['rate']; + $TotalCreditLocalCurr = ($TotalFXNetCredit + $TotalFXTax)/$CN_Header['rate']; - -//To here - - if ($CompanyRecord['gllink_debtors']==1){ /*Now post the tax to the GL at local currency equivalent */ if ($CompanyRecord['gllink_debtors']==1 AND $TaxAuthAmount !=0) { - /*Loop through the tax authorities array to post each total to the taxauth glcode */ foreach ($TaxTotals as $Tax){ $SQL = "INSERT INTO gltrans (type, @@ -830,19 +854,19 @@ account, narrative, amount ) - VALUES (10, - '" . $InvoiceNo . "', - '" . $OrderHeader['orddate']. "', + VALUES (11, + '" . $CreditNoteNo . "', + '" . $Header['trandate']. "', '" . $PeriodNo . "', '" . $Tax['GLCode'] . "', - '" . $OrderHeader['debtorno'] . "-" . $Tax['TaxAuthDescription'] . "', - '" . -$Tax['FXAmount']/$OrderHeader['rate'] . "' )"; + '" . $Header['debtorno'] . "-" . $Tax['TaxAuthDescription'] . "', + '" . -$Tax['FXAmount']/$CN_Header['rate'] . "' )"; $Result = api_DB_query($SQL,$db,'','',true); } } - /*Post debtors transaction to GL debit debtors, credit freight re-charged and credit sales */ + /*Post debtors transaction to GL credit debtors, and debit sales */ if (($TotalCreditLocalCurr) !=0) { $SQL = "INSERT INTO gltrans (type, typeno, @@ -851,24 +875,20 @@ account, narrative, amount) - VALUES ('10', - '" . $InvoiceNo . "', - '" . $OrderHeader['orddate'] . "', + VALUES ('11', + '" . $CreditNoteNo . "', + '" . $Header['trandate'] . "', '" . $PeriodNo . "', '" . $CompanyRecord['debtorsact'] . "', - '" . $OrderHeader['debtorno'] . "', + '" . $Header['debtorno'] . "', '" . $TotalCreditLocalCurr . "')"; $Result = api_DB_query($SQL,$db,'','',true); } - EnsureGLEntriesBalance(10,$InvoiceNo,$db); - + EnsureGLEntriesBalance(11,$CreditNoteNo,$db); + } /*end of if Sales and GL integrated */ - /*Update order header for invoice charged on */ - $SQL = "UPDATE salesorders SET comments = CONCAT(comments,' Inv ','" . $InvoiceNo . "') WHERE orderno= '" . $OrderNo . "'"; - $Result = api_DB_query($SQL,$db,'','',true); - /*Now insert the DebtorTrans */ $SQL = "INSERT INTO debtortrans (transno, @@ -880,51 +900,48 @@ prd, reference, tpe, - order_, ovamount, ovgst, rate, shipvia) VALUES ( - '". $InvoiceNo . "', - 10, - '" . $OrderHeader['debtorno'] . "', - '" . $OrderHeader['branchcode'] . "', - '" . $OrderHeader['orddate'] . "', + '". $CreditNoteNo . "', + 11, + '" . $Header['debtorno'] . "', + '" . $Header['branchcode'] . "', + '" . $Header['trandate'] . "', '" . date('Y-m-d H-i-s') . "', '" . $PeriodNo . "', - '" . $OrderHeader['customerref'] . "', - '" . $OrderHeader['sales_type'] . "', - '" . $OrderNo . "', + '" . $Header['customerref'] . "', + '" . $Header['tpe'] . "', '" . $TotalFXNetCredit . "', '" . $TotalFXTax . "', - '" . $OrderHeader['rate'] . "', - '" . $OrderHeader['shipvia'] . "')"; - + '" . $CN_Header['rate'] . "', + '" . $Header['shipvia'] . "')"; + $Result = api_DB_query($SQL,$db,'','',true); - + $DebtorTransID = DB_Last_Insert_ID($db,'debtortrans','id'); - + /*for each Tax - need to insert into debtortranstaxes */ foreach ($TaxTotals AS $TaxAuthID => $Tax) { - + $SQL = "INSERT INTO debtortranstaxes (debtortransid, taxauthid, taxamount) VALUES ('" . $DebtorTransID . "', '" . $TaxAuthID . "', - '" . $Tax['FXAmount']/$OrderHeader['rate'] . "')"; + '" . $Tax['FXAmount']/$CN_Header['rate'] . "')"; $Result = api_DB_query($SQL,$db,'','',true); } - + if (sizeof($Errors)==0) { - $Result = DB_Txn_Commit($db); $Errors[0]=0; - $Errors[1]=$InvoiceNo; + $Errors[1]=$CreditNoteNo; } else { $Result = DB_Txn_Rollback($db); - } + } return $Errors; } /*End of CreateCreditNote method */ @@ -932,9 +949,11 @@ /* Create a customer invoice in webERP. This function will bypass the * normal procedure in webERP for creating a sales order first, and then * delivering it. - * There are no stock updates no accounting for assemblies no updates + + * NB: There are no stock updates no accounting for assemblies no updates * to sales analysis records - no cost of sales entries in GL - * USE WITH CAUTION + + ************ USE ONLY WITH CAUTION******************** */ function InsertSalesInvoice($InvoiceDetails, $user, $password) { $Errors = array(); @@ -1062,9 +1081,12 @@ /* Create a customer credit note in webERP. This function will bypass the * normal procedure in webERP for creating a sales order first, and then * delivering it. All values should be sent as negatives. - * stock is not updated and the method cannot deal with assembly items + + + * NB: Stock is not updated and the method cannot deal with assembly items * the sales analysis is not updated either - * USE WITH CAUTION!! + + ****************** USE WITH CAUTION!! ********************** */ function InsertSalesCredit($CreditDetails, $user, $password) { $Errors = array(); Modified: trunk/api/api_salesorders.php =================================================================== --- trunk/api/api_salesorders.php 2012-02-03 09:57:52 UTC (rev 4865) +++ trunk/api/api_salesorders.php 2012-02-04 06:13:15 UTC (rev 4866) @@ -634,7 +634,12 @@ function InvoiceSalesOrder($OrderNo, $User, $Password) { - + + +$fp = fopen( "/root/Web-Server/apidebug/DebugInfo.txt", "w"); + + + $Errors = array(); $db = db($User, $Password); if (gettype($db)=='integer') { @@ -706,7 +711,7 @@ mbflag, materialcost+labourcost+overheadcost AS standardcost FROM salesorderdetails INNER JOIN stockmaster - ON salesorderdetails.stkcode = stockmaster.stockid + ON salesorderdetails.stkcode = stockmaster.stockid WHERE orderno ='" . $OrderNo . "' AND completed=0"; @@ -721,7 +726,9 @@ /*Now Get the next invoice number - function in SQL_CommonFunctions*/ $InvoiceNo = GetNextTransNo(10, $db); $PeriodNo = GetCurrentPeriod($db); - + + $TaxTotals =array(); + $TotalFXNetInvoice = 0; $TotalFXTax = 0; $LineCounter =0; @@ -755,11 +762,9 @@ if (DB_error_no($db) != 0) { $Errors[] = TaxRatesFailed; } - $LineTaxAmount = 0; - $TaxTotals =array(); + while ($myrow = DB_fetch_array($GetTaxRatesResult)){ - while ($myrow = DB_fetch_array($GetTaxRatesResult)){ if (!isset($TaxTotals[$myrow['taxauthid']]['FXAmount'])) { $TaxTotals[$myrow['taxauthid']]['FXAmount']=0; } @@ -769,13 +774,12 @@ $TaxTotals[$myrow['taxauthid']]['TaxAuthDescription'] = $myrow['description']; if ($myrow['taxontax'] ==1){ - $TaxAuthAmount = ($LineNetAmount+$LineTaxAmount) * $myrow['taxrate']; - $TaxTotals[$myrow['taxauthid']]['FXAmount'] += ($LineNetAmount+$LineTaxAmount) * $myrow['taxrate']; + $TaxAuthAmount = ($LineNetAmount+$LineTaxAmount) * $myrow['taxrate']; } else { $TaxAuthAmount = $LineNetAmount * $myrow['taxrate']; - $TaxTotals[$myrow['taxauthid']]['FXAmount'] += $LineNetAmount * $myrow['taxrate']; } - + $TaxTotals[$myrow['taxauthid']]['FXAmount'] += $TaxAuthAmount; + /*Make an array of the taxes and amounts including GLcodes for later posting - need debtortransid so can only post once the debtor trans is posted - can only post debtor trans when all tax is calculated */ $LineTaxes[$LineCounter][$myrow['calculationorder']] = array('TaxCalculationOrder' =>$myrow['calculationorder'], @@ -788,8 +792,6 @@ }//end loop around Taxes - $LineNetAmount = $OrderLineRow['unitprice'] * $OrderLineRow['quantity'] *(1- floatval($OrderLineRow['discountpercent'])); - $TotalFXNetInvoice += $LineNetAmount; $TotalFXTax += $LineTaxAmount; @@ -1180,7 +1182,6 @@ /*Now post the tax to the GL at local currency equivalent */ if ($CompanyRecord['gllink_debtors']==1 AND $TaxAuthAmount !=0) { - /*Loop through the tax authorities array to post each total to the taxauth glcode */ foreach ($TaxTotals as $Tax){ $SQL = "INSERT INTO gltrans (type, Modified: trunk/api/api_session.inc =================================================================== --- trunk/api/api_session.inc 2012-02-03 09:57:52 UTC (rev 4865) +++ trunk/api/api_session.inc 2012-02-04 06:13:15 UTC (rev 4866) @@ -64,7 +64,7 @@ // query function, and will remember any error message in the session // data. - $result = DB_query($sql, $db, $Emsg, $Dmsg, $Transaction, $TrapErrors); + $result = DB_query($sql, $db, $EMsg, $DMsg, $Transaction, $TrapErrors); if (DB_error_no($db) != 0) { $_SESSION['db_err_msg'] = "SQL: " . $sql . "\nDB error message: " . DB_error_msg($db) . "\n"; } else { Modified: trunk/doc/Manual/ManualContents.php =================================================================== --- trunk/doc/Manual/ManualContents.php 2012-02-03 09:57:52 UTC (rev 4865) +++ trunk/doc/Manual/ManualContents.php 2012-02-04 06:13:15 UTC (rev 4866) @@ -87,793 +87,793 @@ <?php } ?> - <UL> - <LI>Hardware Requirements</LI> - <LI>Software Requirements</LI> - <LI>Using webERP with a Wiki</LI> + <ul> + <li>Hardware Requirements</li> + <li>Software Requirements</li> + <li>Using webERP with a Wiki</li> </UL> <br /> - </LI> - <LI> + </li> + <li> <?php if (!isset($_POST['Submit'])) { ?> <input type="checkbox" name="SelectGettingStarted"> - <A HREF="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) . '?ViewTopic=GettingStarted'; ?>">Getting Started</A> + <a HREF="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) . '?ViewTopic=GettingStarted'; ?>">Getting Started</a> <?php } else { ?> - <A HREF="#GettingStarted">Getting Started</A> + <a HREF="#GettingStarted">Getting Started</a> <?php } ?> - <UL> - <LI>Prerequisites</LI> - <LI>Copying the PHP Scripts</LI> - <LI>Creating the Database</LI> - <LI>Editing config.php</LI> - <LI>Logging In For the First Time</LI> - <LI>Themes and GUI Modification</LI> - <LI>Setting Up Users</LI> + <ul> + <li>Prerequisites</li> + <li>Copying the PHP Scripts</li> + <li>Creating the Database</li> + <li>Editing config.php</li> + <li>Logging In For the First Time</li> + <li>Themes and GUI Modification</li> + <li>Setting Up Users</li> </UL> <br /> - </LI> - <LI> + </li> + <li> <?php if (!isset($_POST['Submit'])) { ?> <input type="checkbox" name="SelectSecuritySchema"> - <A HREF="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) . '?ViewTopic=SecuritySchema'; ?>">Security Schema</A> + <a HREF="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) . '?ViewTopic=SecuritySchema'; ?>">Security Schema</a> <?php } else { ?> - <A HREF="#SecuritySchema">Security Schema</A> + <a HREF="#SecuritySchema">Security Schema</a> <?php } ?> - </LI> + </li> <br /><br /> - <LI> + <li> <?php if (!isset($_POST['Submit'])) { ?> <input type="checkbox" name="SelectCreatingNewSystem"> - <A HREF="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) . '?ViewTopic=CreatingNewSystem'; ?>">Creating a New System</A> + <a HREF="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) . '?ViewTopic=CreatingNewSystem'; ?>">Creating a New System</a> <?php } else { ?> - <A HREF="#CreatingNewSystem">Creating a New System</A> + <a HREF="#CreatingNewSystem">Creating a New System</a> <?php } ?> - <UL> - <LI>Running the Demonstration Database</LI> - <LI>Setting Up A System</LI> - <LI>Setting Up Inventory Items</LI> - <LI>Entering Inventory Balances</LI> - <LI>Inventory Ledger Integration to General Ledger Issues</LI> - <LI>Setting Up Customers</LI> - <LI>Entering Customer Balances</LI> - <LI>Reconciling the Debtors Ledger Control Account</LI> - <LI>Finally</LI> + <ul> + <li>Running the Demonstration Database</li> + <li>Setting Up A System</li> + <li>Setting Up Inventory Items</li> + <li>Entering Inventory Balances</li> + <li>Inventory Ledger Integration to General Ledger Issues</li> + <li>Setting Up Customers</li> + <li>Entering Customer Balances</li> + <li>Reconciling the Debtors Ledger Control Account</li> + <li>Finally</li> </UL> <br /> - </LI> - <LI> + </li> + <li> <?php if (!isset($_POST['Submit'])) { ?> <input type="checkbox" name="SelectSystemConventions"> - <A HREF="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) . '?ViewTopic=SystemConventions'; ?>">System Conventions</A> + <a HREF="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) . '?ViewTopic=SystemConventions'; ?>">System Conventions</a> <?php } else { ?> - <A HREF="#SystemConventions">System Conventions</A> + <a HREF="#SystemConventions">System Conventions</a> <?php } ?> - <UL> - <LI>Navigating the Menu</LI> - <LI>Reporting</LI> + <ul> + <li>Navigating the Menu</li> + <li>Reporting</li> </UL> <br /> - </LI> - <LI> + </li> + <li> <?php if (!isset($_POST['Submit'])) { ?> <input type="checkbox" name="SelectInventory"> - <A HREF="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) . '?ViewTopic=Inventory'; ?>">Inventory (aka "Stock")</A> + <a HREF="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) . '?ViewTopic=Inventory'; ?>">Inventory (aka "Stock")</a> <?php } else { ?> - <A HREF="#Inventory">Inventory (aka "Stock")</A> + <a HREF="#Inventory">Inventory (aka "Stock")</a> <?php } ?> - <UL> - <LI>Overview</LI> - <LI>Inventory System Features</LI> - <LI>Inventory Categories</LI> - <LI>Adding Inventory Items</LI> - <LI>Item Code</LI> - <LI>Part Descriptions</LI> - <LI>Categories</LI> - <LI>Unit of Measurement</LI> - <LI>Economic Order Quantity</LI> - <LI>Packaged Volume</LI> - <LI>Packaged Weight</LI> - <LI>Units of Measure</LI> - <LI>Current or Obsolete</LI> - <LI>Make Or Buy</LI> - <LI>Setting Up Assembly Items</LI> - <LI>Controlled</LI> - <LI>Serialised</LI> - <LI>Bar Code</LI> - <LI>Discount Category</LI> - <LI>Decimal Places</LI> - <LI>Inventory Costing</LI> - <LI>Material Cost</LI> - <LI>Labour Cost</LI> - <LI>Overhead Cost</LI> - <LI>Standard Costing Considerations</LI> - <LI>Actual Cost</LI> - <LI>Alterations To Labour Cost, Material Cost or Overhead Cost</LI> - <LI>Selecting Inventory Items</LI> - <LI>Amending Inventory Items</LI> - <LI>Changing a Category</LI> - <LI>Alterations to the Make or Buy Flag</LI> - <LI>Inventory Categories</LI> - <LI>Inventory Category Code</LI> - <LI>Inventory Category Description</LI> - <LI>Balance Sheet Inventory GL Account</LI> - <LI>Inventory Adjustments GL Posting Account</LI> - <LI>Purchase Price Variance Account</LI> - <LI>Material Usage Variance Account</LI> - <LI>Type of Resource</LI> - <LI>Inventory Location Maintenance</LI> - <LI>Inventory Adjustments</LI> - <LI>Inventory Location Transfers</LI> - <LI>Inventory Reports and Inquiries</LI> - <LI>Inventory Status inquiries</LI> - <LI>Inventory Movement inquiries</LI> - <LI>Inventory Usage inquiries</LI> - <LI>Inventory Valuation Report</LI> - <LI>Inventory Planning Report</LI> - <LI>Inventory Checks</LI> + <ul> + <li>Overview</li> + <li>Inventory System Features</li> + <li>Inventory Categories</li> + <li>Adding Inventory Items</li> + <li>Item Code</li> + <li>Part Descriptions</li> + <li>Categories</li> + <li>Unit of Measurement</li> + <li>Economic Order Quantity</li> + <li>Packaged Volume</li> + <li>Packaged Weight</li> + <li>Units of Measure</li> + <li>Current or Obsolete</li> + <li>Make Or Buy</li> + <li>Setting Up Assembly Items</li> + <li>Controlled</li> + <li>Serialised</li> + <li>Bar Code</li> + <li>Discount Category</li> + <li>Decimal Places</li> + <li>Inventory Costing</li> + <li>Material Cost</li> + <li>Labour Cost</li> + <li>Overhead Cost</li> + <li>Standard Costing Considerations</li> + <li>Actual Cost</li> + <li>Alterations To Labour Cost, Material Cost or Overhead Cost</li> + <li>Selecting Inventory Items</li> + <li>Amending Inventory Items</li> + <li>Changing a Category</li> + <li>Alterations to the Make or Buy Flag</li> + <li>Inventory Categories</li> + <li>Inventory Category Code</li> + <li>Inventory Category Description</li> + <li>Balance Sheet Inventory GL Account</li> + <li>Inventory Adjustments GL Posting Account</li> + <li>Purchase Price Variance Account</li> + <li>Material Usage Variance Account</li> + <li>Type of Resource</li> + <li>Inventory Location Maintenance</li> + <li>Inventory Adjustments</li> + <li>Inventory Location Transfers</li> + <li>Inventory Reports and Inquiries</li> + <li>Inventory Status inquiries</li> + <li>Inventory Movement inquiries</li> + <li>Inventory Usage inquiries</li> + <li>Inventory Valuation Report</li> + <li>Inventory Planning Report</li> + <li>Inventory Checks</li> </UL> <br /> - </LI> - <LI> + </li> + <li> <?php if (!isset($_POST['Submit'])) { ?> <input type="checkbox" name="SelectAccountsReceivable"> - <A HREF="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) . '?ViewTopic=AccountsReceivable'; ?>">Accounts Receivable</A> + <a HREF="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) . '?ViewTopic=AccountsReceivable'; ?>">Accounts Receivable</a> <?php } else { ?> - <A HREF="#AccountsReceivable">Accounts Receivable</A> + <a HREF="#AccountsReceivable">Accounts Receivable</a> <?php } ?> - <UL> - <LI>Overview</LI> - <LI>Features</LI> - <LI>Entering New Customers</LI> - <LI>Customer Code</LI> - <LI>Customer Name</LI> - <LI>Address Line 1, 2, 3 and 4</LI> - <LI>Currency</LI> - <LI>Invoice Discount</LI> - <LI>Prompt Payment Discount</LI> - <LI>Customer Since</LI> - <LI>Payment Terms</LI> - <LI>Credit Status or Rating</LI> - <LI>Credit Limit</LI> - <LI>Invoice Addressing</LI> - <LI>Entering Customer Branches</LI> - <LI>Branch Name</LI> - <LI>Branch Code</LI> - <LI>Branch Contact / Phone / Fax / Address</LI> - <LI>Sales Person</LI> - <LI>Draw Stock From</LI> - <LI>Forward Date From A Day In The Month</LI> - <LI>Delivery Days</LI> - <LI>Phone/Fax/Email</LI> - <LI>Tax Authority</LI> - <LI>Disable Transactions</LI> - <LI>Default Freight Company</LI> - <LI>Postal Address 1, 2, 3 and 4</LI> - <LI>Amending Customer Details</LI> - <LI>Shippers</LI> + <ul> + <li>Overview</li> + <li>Features</li> + <li>Entering New Customers</li> + <li>Customer Code</li> + <li>Customer Name</li> + <li>Address Line 1, 2, 3 and 4</li> + <li>Currency</li> + <li>Invoice Discount</li> + <li>Prompt Payment Discount</li> + <li>Customer Since</li> + <li>Payment Terms</li> + <li>Credit Status or Rating</li> + <li>Credit Limit</li> + <li>Invoice Addressing</li> + <li>Entering Customer Branches</li> + <li>Branch Name</li> + <li>Branch Code</li> + <li>Branch Contact / Phone / Fax / Address</li> + <li>Sales Person</li> + <li>Draw Stock From</li> + <li>Forward Date From A Day In The Month</li> + <li>Delivery Days</li> + <li>Phone/Fax/Email</li> + <li>Tax Authority</li> + <li>Disable Transactions</li> + <li>Default Freight Company</li> + <li>Postal Address 1, 2, 3 and 4</li> + <li>Amending Customer Details</li> + <li>Shippers</li> </UL> <br /> - </LI> - <LI> + </li> + <li> <?php if (!isset($_POST['Submit'])) { ?> <input type="checkbox" name="SelectAccountsPayable"> - <A HREF="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) . '?ViewTopic=AccountsPayable'; ?>">Accounts Payable</A> + <a HREF="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) . '?ViewTopic=AccountsPayable'; ?>">Accounts Payable</a> <?php } else { ?> - <A HREF="#AccountsPayable">Accounts Payable</A> + <a HREF="#AccountsPayable">Accounts Payable</a> <?php } ?> - <UL> - <LI>Overview</LI> - <LI>Features</LI> - <LI>Entering New Suppliers</LI> - <LI>Supplier Code</LI> - <LI>Supplier Name</LI> - <LI>Address Line 1, 2, 3 and 4</LI> - <LI>Supplier Since</LI> - <LI>Payment Terms</LI> - <LI>Bank Particulars/Reference</LI> - <LI>Bank Account Number</LI> - <LI>Currency</LI> - <LI>Remittance Advice</LI> + <ul> + <li>Overview</li> + <li>Features</li> + <li>Entering New Suppliers</li> + <li>Supplier Code</li> + <li>Supplier Name</li> + <li>Address Line 1, 2, 3 and 4</li> + <li>Supplier Since</li> + <li>Payment Terms</li> + <li>Bank Particulars/Reference</li> + <li>Bank Account Number</li> + <li>Currency</li> + <li>Remittance Advice</li> </UL> <br /> - </LI> - <LI> + </li> + <li> <?php if (!isset($_POST['Submit'])) { ?> <input type="checkbox" name="SelectSalesPeople"> - <A HREF="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) . '?ViewTopic=SalesPeople'; ?>">Sales People</A> + <a HREF="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) . '?ViewTopic=SalesPeople'; ?>">Sales People</a> <?php } else { ?> - <A HREF="#SalesPeople">Sales People</A> + <a HREF="#SalesPeople">Sales People</a> <?php } ?> - <UL> - <LI>Salesperson Records</LI> - <LI>Salespeople Code</LI> - <LI>Salesperson Name, Telephone and Fax Numbers</LI> - <LI>Salesperson Commission Rates and Breakpoint</LI> + <ul> + <li>Salesperson Records</li> + <li>Salespeople Code</li> + <li>Salesperson Name, Telephone and Fax Numbers</li> + <li>Salesperson Commission Rates and Breakpoint</li> </UL> <br /> - </LI> - <LI> + </li> + <li> <?php if (!isset($_POST['Submit'])) { ?> <input type="checkbox" name="SelectCurrencies"> - <A HREF="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) . '?ViewTopic=Currencies'; ?>">Currencies</A> + <a HREF="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) . '?ViewTopic=Currencies'; ?>">Currencies</a> <?php } else { ?> - <A HREF="#Currencies">Currencies</A> + <a HREF="#Currencies">Currencies</a> <?php } ?> - <UL> - <LI>Currency Abbreviation</LI> - <LI>Currency Name</LI> - <LI>Country of Currency</LI> - <LI>Hundredths Name</LI> - <LI>Exchange Rates</LI> + <ul> + <li>Currency Abbreviation</li> + <li>Currency Name</li> + <li>Country of Currency</li> + <li>Hundredths Name</li> + <li>Exchange Rates</li> </UL> <br /> - </LI> - <LI> + </li> + <li> <?php if (!isset($_POST['Submit'])) { ?> <input type="checkbox" name="SelectSalesTypes"> - <A HREF="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) . '?ViewTopic=SalesTypes'; ?>">Sales Types / Price Lists</A> + <a HREF="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) . '?ViewTopic=SalesTypes'; ?>">Sales Types / Price Lists</a> <?php } else { ?> - <A HREF="#SalesTypes">Sales Types / Price Lists</A> + <a HREF="#SalesTypes">Sales Types / Price Lists</a> <?php } ?> - <UL> - <LI>Sales Types / Price Lists</LI> - <LI>Sales Type Code</LI> - <LI>Sales Type Description</LI> + <ul> + <li>Sales Types / Price Lists</li> + <li>Sales Type Code</li> + <li>Sales Type Description</li> </UL> <br /> - </LI> - <LI> + </li> + <li> <?php if (!isset($_POST['Submit'])) { ?> <input type="checkbox" name="SelectPaymentTerms"> - <A HREF="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) . '?ViewTopic=PaymentTerms'; ?>">Payment Terms</A> + <a HREF="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) . '?ViewTopic=PaymentTerms'; ?>">Payment Terms</a> <?php } else { ?> - <A HREF="#PaymentTerms">Payment Terms</A> + <a HREF="#PaymentTerms">Payment Terms</a> <?php } ?> - <UL> - <LI>Payment Terms</LI> - <LI>Payment Terms Code</LI> - <LI>Payment Terms Description</LI> - <LI>Days Before Due / Day In Following Month When Due</LI> + <ul> + <li>Payment Terms</li> + <li>Payment Terms Code</li> + <li>Payment Terms Description</li> + <li>Days Before Due / Day In Following Month When Due</li> </UL> <br /> - </LI> - <LI> + </li> + <li> <?php if (!isset($_POST['Submit'])) { ?> <input type="checkbox" name="SelectCreditStatus"> - <A HREF="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) . '?ViewTopic=CreditStatus'; ?>">Credit Status</A> + <a HREF="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) . '?ViewTopic=CreditStatus'; ?>">Credit Status</a> <?php } else { ?> - <A HREF="#CreditStatus">Credit Status</A> + <a HREF="#CreditStatus">Credit Status</a> <?php } ?> - <UL> - <LI>Credit Status Ratings</LI> - <LI>Status Code</LI> - <LI>Status Description</LI> - <LI>Disallow Invoices</LI> + <ul> + <li>Credit Status Ratings</li> + <li>Status Code</li> + <li>Status Description</li> + <li>Disallow Invoices</li> </UL> <br /> - </LI> - <LI> + </li> + <li> <?php if (!isset($_POST['Submit'])) { ?> <input type="checkbox" name="SelectTax"> - <A HREF="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) . '?ViewTopic=Tax'; ?>">Tax</A> + <a HREF="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) . '?ViewTopic=Tax'; ?>">Tax</a> <?php } else { ?> - <A HREF="#Tax">Tax</A> + <a HREF="#Tax">Tax</a> <?php } ?> - <UL> - <LI>Tax Calculations</LI> - <LI>Overview</LI> - <LI>Setting up Taxes</LI> - <LI>Sales only within one Tax Authority Example - 2 Tax Levels:</LI> - <LI>Sales only within one Tax Authority Example - 3 Tax Levels:</LI> - <LI>Sales Within Two Tax Authorities Example - 3 Tax Levels:</LI> + <ul> + <li>Tax Calculations</li> + <li>Overview</li> + <li>Setting up Taxes</li> + <li>Sales only within one Tax Authority Example - 2 Tax Levels:</li> + <li>Sales only within one Tax Authority Example - 3 Tax Levels:</li> + <li>Sales Within Two Tax Authorities Example - 3 Tax Levels:</li> </UL> <br /> - </LI> - <LI> + </li> + <li> <?php if (!isset($_POST['Submit'])) { ?> <input type="checkbox" name="SelectPrices"> - <A HREF="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) . '?ViewTopic=Prices'; ?>">Prices and Discounts</A> + <a HREF="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) . '?ViewTopic=Prices'; ?>">Prices and Discounts</a> <?php } else { ?> - <A HREF="#Prices">Prices and Discounts</A> + <a HREF="#Prices">Prices and Discounts</a> <?php } ?> - <UL> - <LI>Prices and Discounts</LI> - <LI>Pricing Overview</LI> - <LI>Maintaining Prices</LI> - <LI>Discount Matrix</LI> + <ul> + <li>Prices and Discounts</li> + <li>Pricing Overview</li> + <li>Maintaining Prices</li> + <li>Discount Matrix</li> </UL> <br /> - </LI> - <LI> + </li> + <li> <?php if (!isset($_POST['Submit'])) { ?> <input type="checkbox" name="SelectARTransactions"> - <A HREF="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) . '?ViewTopic=ARTransactions'; ?>">Accounts Receivable Transactions</A> + <a HREF="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) . '?ViewTopic=ARTransactions'; ?>">Accounts Receivable Transactions</a> <?php } else { ?> - <A HREF="#ARTransactions">Accounts Receivable Transactions</A> + <a HREF="#ARTransactions">Accounts Receivable Transactions</a> <?php } ?> - <UL> - <LI>Invoicing An Order</LI> - <LI>Selecting an Order To Invoice</LI> - <LI>Producing An Invoice From A Selected Order</LI> - <LI>Credit Notes</LI> - <LI>Entry Of Receipts</LI> - <LI>Receipts - Customer</LI> - <LI>Receipts - Date</LI> - <LI>Receipts - Currency and Exchange Rate</LI> - <LI>Receipts - Payment Method</LI> - <LI>Receipts - Amount</LI> - <LI>Receipts - Discount</LI> - <LI>Receipts - Allocating to Invoices</LI> - <LI>Differences on Exchange</LI> - <LI>Receipts Processing</LI> - <LI>Deposits Listing</LI> - <LI>Allocate Credits To A Customer's Account</LI> + <ul> + <li>Invoicing An Order</li> + <li>Selecting an Order To Invoice</li> + <li>Producing An Invoice From A Selected Order</li> + <li>Credit Notes</li> + <li>Entry Of Receipts</li> + <li>Receipts - Customer</li> + <li>Receipts - Date</li> + <li>Receipts - Currency and Exchange Rate</li> + <li>Receipts - Payment Method</li> + <li>Receipts - Amount</li> + <li>Receipts - Discount</li> + <li>Receipts - Allocating to Invoices</li> + <li>Differences on Exchange</li> + <li>Receipts Processing</li> + <li>Deposits Listing</li> + <li>Allocate Credits To A Customer's Account</li> </UL> <br /> - </LI> - <LI> + </li> + <li> <?php if (!isset($_POST['Submit'])) { ?> <input type="checkbox" name="SelectARInquiries"> - <A HREF="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) . '?ViewTopic=ARInquiries'; ?>">Accounts Receivable Inquiries</A> + <a HREF="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) . '?ViewTopic=ARInquiries'; ?>">Accounts Receivable Inquiries</a> <?php } else { ?> - <A HREF="#ARInquiries">Accounts Receivable Inquiries</A> + <a HREF="#ARInquiries">Accounts Receivable Inquiries</a> <?php } ?> - <UL> - <LI>Customer Inquiries</LI> - <LI>Customer Account inquiries</LI> - <LI>Transaction Detail inquiries</LI> + <ul> + <li>Customer Inquiries</li> + <li>Customer Account inquiries</li> + <li>Transaction Detail inquiries</li> </UL> <br /> - </LI> - <LI> + </li> + <li> <?php if (!isset($_POST['Submit'])) { ?> <input type="checkbox" name="SelectARReports"> - <A HREF="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) . '?ViewTopic=ARReports'; ?>">Accounts Receivable Reports</A> + <a HREF="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) . '?ViewTopic=ARReports'; ?>">Accounts Receivable Reports</a> <?php } else { ?> - <A HREF="#ARReports">Accounts Receivable Reports</A> + <a HREF="#ARReports">Accounts Receivable Reports</a> <?php } ?> - <UL> - <LI>Customers - Reporting</LI> - <LI>Aged Customer Balance Listing</LI> - <LI>Customer Statements</LI> - <LI>Customer Transaction Listing Options</LI> - <LI>Printing Invoices Or Credit Notes</LI> + <ul> + <li>Customers - Reporting</li> + <li>Aged Customer Balance Listing</li> + <li>Customer Statements</li> + <li>Customer Transaction Listing Options</li> + <li>Printing Invoices Or Credit Notes</li> </UL> <br /> - </LI> - <LI> + </li> + <li> <?php if (!isset($_POST['Submit'])) { ?> <input type="checkbox" name="SelectSalesAnalysis"> - <A HREF="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) . '?ViewTopic=SalesAnalysis'; ?>">Sales Analysis</A> + <a HREF="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) . '?ViewTopic=SalesAnalysis'; ?>">Sales Analysis</a> <?php } else { ?> - <A HREF="#SalesAnalysis">Sales Analysis</A> + <a HREF="#SalesAnalysis">Sales Analysis</a> <?php } ?> - <UL> - <LI>Sales Analysis</LI> - <LI>Sales Analysis Report Headers</LI> - <LI>Sales Analysis Report Columns</LI> - <LI>Automating Sales Reports</LI> + <ul> + <li>Sales Analysis</li> + <li>Sales Analysis Report Headers</li> + <li>Sales Analysis Report Columns</li> + <li>Automating Sales Reports</li> </UL> <br /> - </LI> - <LI> + </li> + <li> <?php if (!isset($_POST['Submit'])) { ?> <input type="checkbox" name="SelectSalesOrders"> - <A HREF="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) . '?ViewTopic=SalesOrders'; ?>">Sales Orders</A> + <a HREF="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) . '?ViewTopic=SalesOrders'; ?>">Sales Orders</a> <?php } else { ?> - <A HREF="#SalesOrders">Sales Orders</A> + <a HREF="#SalesOrders">Sales Orders</a> <?php } ?> - <UL> - <LI>Sales Orders</LI> - <LI>Sales Order Functionality</LI> - <LI>Entry of Sales Orders</LI> - <LI>Sales Orders - Selection of the Customer and Branch</LI> - <LI>Selection of Order Line Items</LI> - <LI>Delivery Details</LI> - <LI>Modfiying An Order</LI> - <LI>Quotations</LI> - <LI>Recurring Orders</LI> - <LI>Counter Sales - Entering Sales Directly</LI> - <LI>Managing Discounts by product group and customer group (Matrix)</LI> + <ul> + <li>Sales Orders</li> + <li>Sales Order Functionality</li> + <li>Entry of Sales Orders</li> + <li>Sales Orders - Selection of the Customer and Branch</li> + <li>Selection of Order Line Items</li> + <li>Delivery Details</li> + <li>Modfiying An Order</li> + <li>Quotations</li> + <li>Recurring Orders</li> + <li>Counter Sales - Entering Sales Directly</li> + <li>Managing Discounts by product group and customer group (Matrix)</li> </UL> <br /> - </LI> - <LI> + </li> + <li> <?php if (!isset($_POST['Submit'])) { ?> <input type="checkbox" name="PurchaseOrdering"> - <A HREF="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) . '?ViewTopic=PurchaseOrdering'; ?>">Purchase Ordering</A> + <a HREF="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) . '?ViewTopic=PurchaseOrdering'; ?>">Purchase Ordering</a> <?php } else { ?> - <A HREF="#Shipments">Purchase Orders</A> + <a HREF="#Shipments">Purchase Orders</a> <?php } ?> - <UL> - <LI>Overview</LI> - <LI>Purchase Orders</LI> - <LI>Adding a New Purchase Order</LI> - <LI>Authorising Purchase Orders </LI> - <LI>Recieving Purchase Orders</LI> + <ul> + <li>Overview</li> + <li>Purchase Orders</li> + <li>Adding a New Purchase Order</li> + <li>Authorising Purchase Orders </li> + <li>Recieving Purchase Orders</li> </UL> <br /> - </LI> - <LI> + </li> + <li> <?php if (!isset($_POST['Submit'])) { ?> <input type="checkbox" name="SelectShipments"> - <A HREF="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) . '?ViewTopic=Shipments'; ?>">Shipments</A> + <a HREF="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) . '?ViewTopic=Shipments'; ?>">Shipments</a> <?php } else { ?> - <A HREF="#Shipments">Shipments</A> + <a HREF="#Shipments">Shipments</a> <?php } ?> - <UL> - <LI>Shipments</LI> - <LI>Shipment General Ledger Posting</LI> - <LI>Creating Shipments</LI> - <LI>Shipment Costings</LI> - <LI>Closing a Shipment</LI> + <ul> + <li>Shipments</li> + <li>Shipment General Ledger Posting</li> + <li>Creating Shipments</li> + <li>Shipment Costings</li> + <li>Closing a Shipment</li> </UL> <br /> - </LI> - <LI> + </li> + <li> <?php if (!isset($_POST['Submit'])) { ?> <input type="checkbox" name="SelectContractCosting"> - <A HREF="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) . '?ViewTopic=Contracts'; ?>">Contract Costing</A> + <a HREF="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) . '?ViewTopic=Contracts'; ?>">Contract Costing</a> <?php } else { ?> - <A HREF="#Contracts">Contract Costing</A> + <a HREF="#Contracts">Contract Costing</a> <?php } ?> - <UL> - <LI>Contract Costing Overview</LI> - <LI>Creating A New Contract</LI> - <LI>Selecting A Contract</LI> - <LI>Charging Against Contracts</LI> + <ul> + <li>Contract Costing Overview</li> + <li>Creating A New Contract</li> + <li>Selecting A Contract</li> + <li>Charging Against Contracts</li> </UL> <br /> - </LI> - <LI> + </li> + <li> <?php if (!isset($_POST['Submit'])) { ?> <input type="checkbox" name="SelectManufacturing"> - <A HREF="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) . '?ViewTopic=Manufacturing'; ?>">Manufacturing</A> + <a HREF="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) . '?ViewTopic=Manufacturing'; ?>">Manufacturing</a> <?php } else { ?> - <A HREF="#Manufacturing">Manufacturing</A> + <a HREF="#Manufacturing">Manufacturing</a> <?php } ?> - <UL> - <LI>Manufacturing Overview</LI> - <LI>General Ledger Implications</LI> - <LI>Work Order Entry</LI> - <LI>Work Order Receipts</LI> - <LI>Work Order Issues</LI> - <LI>Closing Work Orders</LI> + <ul> + <li>Manufacturing Overview</li> + <li>General Ledger Implications</li> + <li>Work Order Entry</li> + <li>Work Order Receipts</li> + <li>Work Order Issues</li> + <li>Closing Work Orders</li> </UL> <br /> - </LI> - <LI> + </li> + <li> <?php if (!isset($_POST['Submit'])) { ?> <input type="checkbox" name="SelectMRP"> - <A HREF="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) . '?ViewTopic=MRP'; ?>"> - Material Requirements Planning</A> + <a HREF="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) . '?ViewTopic=MRP'; ?>"> + Material Requirements Planning</a> <?php } else { ?> - <A HREF="#MRP">Material Requirements Planning</A> + <a HREF="#MRP">Material Requirements Planning</a> <?php } ?> - <UL> - <LI>MRP Overview</LI> - <LI>Base Data Required</LI> - <LI>Production Calendar</LI> - <LI>Master (Production) Schedule</LI> - <LI>Running The MRP Calculation</LI> - <LI>How It Works</LI> - <LI>MRP Reports</LI> + <ul> + <li>MRP Overview</li> + <li>Base Data Required</li> + <li>Production Calendar</li> + <li>Master (Production) Schedule</li> + <li>Running The MRP Calculation</li> + <li>How It Works</li> + <li>MRP Reports</li> </UL> <br /> - </LI> - <LI> + </li> + <li> <?php if (!isset($_POST['Submit'])) { ?> <input type="checkbox" name="SelectGeneralLedger"> - <A HREF="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) . '?ViewTopic=GeneralLedger'; ?>">General Ledger</A> + <a HREF="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) . '?ViewTopic=GeneralLedger'; ?>">General Ledger</a> <?php } else { ?> - <A HREF="#GeneralLedger">General Ledger</A> + <a HREF="#GeneralLedger">General Ledger</a> <?php } ?> - <UL> - <LI>General Ledger Overview</LI> - <LI>Account Groups</LI> - <LI>Bank Accounts</LI> - <LI>Bank Account Payments</LI> - <LI>General Ledger Integration Setup</LI> - <LI>Sales Journals</LI> - <LI>Stock Journals</LI> - <LI>EDI</LI> - <LI>EDI Setup</LI> - <LI>Sending EDI Invoices</LI> + <ul> + <li>General Ledger Overview</li> + <li>Account Groups</li> + <li>Bank Accounts</li> + <li>Bank Account Payments</li> + <li>General Ledger Integration Setup</li> + <li>Sales Journals</li> + <li>Stock Journals</li> + <li>EDI</li> + <li>EDI Setup</li> + <li>Sending EDI Invoices</li> </UL> <br /> - </LI> - <LI> + </li> + <li> <?php if (!isset($_POST['Submit'])) { ?> <input type="checkbox" name="SelectFixedAssets"> - <A HREF="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) . '?ViewTopic=FixedAssets'; ?>">Fixed Assets</A> + <a HREF="<?php echo htmlspecialchars($_SERVER['PHP_SELF']) . '?ViewTopic=FixedAssets'; ?>">Fixed Assets</a> <?php } else { ?> - <A HREF="#Fixed Assets">Fixed Assets</A> + <a HREF="#Fixed Assets">Fixed Assets</a> <?php } ?> - <UL> - <LI>Fixed Assets Overview</LI> - <LI>Creating a Fixed Asset</LI> - <LI>Selecting Fixe... [truncated message content] |