From: <dai...@us...> - 2012-06-16 21:56:49
|
Revision: 5438 http://web-erp.svn.sourceforge.net/web-erp/?rev=5438&view=rev Author: daintree Date: 2012-06-16 21:56:35 +0000 (Sat, 16 Jun 2012) Log Message: ----------- pre 4.08 Modified Paths: -------------- trunk/api/api_xml-rpc.php trunk/build/make_release.sh trunk/doc/Change.log trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.mo trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.po trunk/locale/cs_CZ.utf8/LC_MESSAGES/messages.mo trunk/locale/cs_CZ.utf8/LC_MESSAGES/messages.po trunk/locale/de_DE.utf8/LC_MESSAGES/messages.mo trunk/locale/de_DE.utf8/LC_MESSAGES/messages.po trunk/locale/el_GR.utf8/LC_MESSAGES/messages.mo trunk/locale/el_GR.utf8/LC_MESSAGES/messages.po trunk/locale/en_GB.utf8/LC_MESSAGES/messages.pot trunk/locale/en_US.utf8/LC_MESSAGES/messages.mo trunk/locale/en_US.utf8/LC_MESSAGES/messages.po trunk/locale/es_ES.utf8/LC_MESSAGES/messages.mo trunk/locale/es_ES.utf8/LC_MESSAGES/messages.po trunk/locale/et_EE.utf8/LC_MESSAGES/messages.mo trunk/locale/et_EE.utf8/LC_MESSAGES/messages.po trunk/locale/fr_FR.utf8/LC_MESSAGES/messages.mo trunk/locale/fr_FR.utf8/LC_MESSAGES/messages.po trunk/locale/hi_IN.utf8/LC_MESSAGES/messages.mo trunk/locale/hi_IN.utf8/LC_MESSAGES/messages.po trunk/locale/hr_HR.utf8/LC_MESSAGES/messages.mo trunk/locale/hr_HR.utf8/LC_MESSAGES/messages.po trunk/locale/hu_HU.utf8/LC_MESSAGES/messages.mo trunk/locale/hu_HU.utf8/LC_MESSAGES/messages.po trunk/locale/id_ID.utf8/LC_MESSAGES/messages.mo trunk/locale/id_ID.utf8/LC_MESSAGES/messages.po trunk/locale/it_IT.utf8/LC_MESSAGES/messages.mo trunk/locale/it_IT.utf8/LC_MESSAGES/messages.po trunk/locale/ja_JP.utf8/LC_MESSAGES/messages.mo trunk/locale/ja_JP.utf8/LC_MESSAGES/messages.po trunk/locale/lv_LV.utf8/LC_MESSAGES/messages.mo trunk/locale/lv_LV.utf8/LC_MESSAGES/messages.po trunk/locale/nl_NL.utf8/LC_MESSAGES/messages.mo trunk/locale/nl_NL.utf8/LC_MESSAGES/messages.po trunk/locale/pl_PL.utf8/LC_MESSAGES/messages.mo trunk/locale/pl_PL.utf8/LC_MESSAGES/messages.po trunk/locale/pt_BR.utf8/LC_MESSAGES/messages.mo trunk/locale/pt_BR.utf8/LC_MESSAGES/messages.po trunk/locale/pt_PT.utf8/LC_MESSAGES/messages.mo trunk/locale/pt_PT.utf8/LC_MESSAGES/messages.po trunk/locale/ro_RO.utf8/LC_MESSAGES/messages.mo trunk/locale/ro_RO.utf8/LC_MESSAGES/messages.po trunk/locale/ru_RU.utf8/LC_MESSAGES/messages.mo trunk/locale/ru_RU.utf8/LC_MESSAGES/messages.po trunk/locale/sq_AL.utf8/LC_MESSAGES/messages.mo trunk/locale/sq_AL.utf8/LC_MESSAGES/messages.po trunk/locale/sv_SE.utf8/LC_MESSAGES/messages.mo trunk/locale/sv_SE.utf8/LC_MESSAGES/messages.po trunk/locale/sw_KE.utf8/LC_MESSAGES/messages.mo trunk/locale/sw_KE.utf8/LC_MESSAGES/messages.po trunk/locale/tr_TR.utf8/LC_MESSAGES/messages.mo trunk/locale/tr_TR.utf8/LC_MESSAGES/messages.po trunk/locale/vi_VN.utf8/LC_MESSAGES/messages.mo trunk/locale/vi_VN.utf8/LC_MESSAGES/messages.po trunk/locale/zh_CN.utf8/LC_MESSAGES/messages.mo trunk/locale/zh_CN.utf8/LC_MESSAGES/messages.po trunk/locale/zh_HK.utf8/LC_MESSAGES/messages.mo trunk/locale/zh_HK.utf8/LC_MESSAGES/messages.po trunk/sql/mysql/weberp-demo.sql trunk/sql/mysql/weberp-new.sql Modified: trunk/api/api_xml-rpc.php =================================================================== --- trunk/api/api_xml-rpc.php 2012-06-14 08:05:15 UTC (rev 5437) +++ trunk/api/api_xml-rpc.php 2012-06-16 21:56:35 UTC (rev 5438) @@ -115,8 +115,7 @@ function xmlrpc_InsertBranch($xmlrpcmsg){ ob_start('ob_file_callback'); -/*x*/ if ($xmlrpcmsg->getNumParams() == 3) -/*x*/ { +/*x*/ if ($xmlrpcmsg->getNumParams() == 3) { /*x*/ $rtn = new xmlrpcresp( php_xmlrpc_encode(InsertBranch(php_xmlrpc_decode($xmlrpcmsg->getParam( 0 )), /*x*/ $xmlrpcmsg->getParam( 1 )->scalarval( ), /*x*/ $xmlrpcmsg->getParam( 2 )->scalarval( ))) ); @@ -152,13 +151,12 @@ function xmlrpc_ModifyCustomer($xmlrpcmsg){ ob_start('ob_file_callback'); -/*x*/ if ($xmlrpcmsg->getNumParams() == 3) -/*x*/ { -/*x*/ $rtn = new xmlrpcresp( php_xmlrpc_encode(ModifyCustomer(php_xmlrpc_decode($xmlrpcmsg->getParam( 0 )), -/*x*/ $xmlrpcmsg->getParam( 1 )->scalarval( ), +/*x*/ if ($xmlrpcmsg->getNumParams() == 3) { +/*x*/ $rtn = new xmlrpcresp( php_xmlrpc_encode(ModifyCustomer(php_xmlrpc_decode($xmlrpcmsg->getParam( 0 )), +/*x*/ $xmlrpcmsg->getParam( 1 )->scalarval( ), /*x*/ $xmlrpcmsg->getParam( 2 )->scalarval( ))) ); /*x*/ } else { -/*e*/ $rtn = new xmlrpcresp( php_xmlrpc_encode(ModifyCustomer(php_xmlrpc_decode($xmlrpcmsg->getParam( 0 )), '', ''))); +/*e*/ $rtn = new xmlrpcresp( php_xmlrpc_encode(ModifyCustomer(php_xmlrpc_decode($xmlrpcmsg->getParam( 0 )), '', ''))); /*x*/ } ob_end_flush(); return $rtn; @@ -183,19 +181,18 @@ ._('If the first element is zero then the function was successful. ') ._('Otherwise an array of error codes is returned and no insertion takes place. '); -/*E*/ $ModifyBranch_sig = array(array($xmlrpcStruct,$xmlrpcStruct), +/*E*/$ModifyBranch_sig = array(array($xmlrpcStruct,$xmlrpcStruct), /*x*/ array($xmlrpcStruct,$xmlrpcStruct,$xmlrpcString,$xmlrpcString)); $ModifyBranch_doc = apiBuildDocHTML( $Description,$Parameter,$ReturnValue ); function xmlrpc_ModifyBranch($xmlrpcmsg){ ob_start('ob_file_callback'); -/*x*/ if ($xmlrpcmsg->getNumParams() == 3) -/*x*/ { -/*x*/ $rtn = new xmlrpcresp( php_xmlrpc_encode(ModifyBranch(php_xmlrpc_decode($xmlrpcmsg->getParam( 0 )), +/*x*/ if ($xmlrpcmsg->getNumParams() == 3) { +/*x*/ $rtn = new xmlrpcresp( php_xmlrpc_encode(ModifyBranch(php_xmlrpc_decode($xmlrpcmsg->getParam( 0 )), /*x*/ $xmlrpcmsg->getParam( 1 )->scalarval( ), /*x*/ $xmlrpcmsg->getParam( 2 )->scalarval( ))) ); /*x*/ } else { -/*e*/ $rtn = new xmlrpcresp( php_xmlrpc_encode(ModifyBranch(php_xmlrpc_decode($xmlrpcmsg->getParam( 0 )), '', ''))); +/*e*/ $rtn = new xmlrpcresp( php_xmlrpc_encode(ModifyBranch(php_xmlrpc_decode($xmlrpcmsg->getParam( 0 )), '', ''))); /*x*/ } ob_end_flush(); return $rtn; @@ -367,7 +364,7 @@ /*x*/ if ($xmlrpcmsg->getNumParams() == 2) { /*x*/ $rtn = new xmlrpcresp( php_xmlrpc_encode(GetCurrencyList($xmlrpcmsg->getParam( 0 )->scalarval( ), $xmlrpcmsg->getParam( 1 )->scalarval( ))) ); /*x*/ } else { -/*e*/ $rtn = new xmlrpcresp( php_xmlrpc_encode(GetCurrencyList( '', ''))); +/*e*/ $rtn = new xmlrpcresp( php_xmlrpc_encode(GetCurrencyList('',''))); /*x*/ } ob_end_flush(); return $rtn; Modified: trunk/build/make_release.sh =================================================================== --- trunk/build/make_release.sh 2012-06-14 08:05:15 UTC (rev 5437) +++ trunk/build/make_release.sh 2012-06-16 21:56:35 UTC (rev 5438) @@ -37,6 +37,7 @@ msgmerge -U --backup=off locale/tr_TR.utf8/LC_MESSAGES/messages.po locale/en_GB.utf8/LC_MESSAGES/messages.pot msgmerge -U --backup=off locale/zh_CN.utf8/LC_MESSAGES/messages.po locale/en_GB.utf8/LC_MESSAGES/messages.pot msgmerge -U --backup=off locale/zh_HK.utf8/LC_MESSAGES/messages.po locale/en_GB.utf8/LC_MESSAGES/messages.pot +msgmerge -U --backup=off locale/zh_TW.utf8/LC_MESSAGES/messages.po locale/en_GB.utf8/LC_MESSAGES/messages.pot msgmerge -U --backup=off locale/vi_VN.utf8/LC_MESSAGES/messages.po locale/en_GB.utf8/LC_MESSAGES/messages.pot msgfmt -o locale/ar_EG.utf8/LC_MESSAGES/messages.mo locale/ar_EG.utf8/LC_MESSAGES/messages.po @@ -67,6 +68,7 @@ msgfmt -o locale/tr_TR.utf8/LC_MESSAGES/messages.mo locale/tr_TR.utf8/LC_MESSAGES/messages.po msgfmt -o locale/zh_CN.utf8/LC_MESSAGES/messages.mo locale/zh_CN.utf8/LC_MESSAGES/messages.po msgfmt -o locale/zh_HK.utf8/LC_MESSAGES/messages.mo locale/zh_HK.utf8/LC_MESSAGES/messages.po +msgfmt -o locale/zh_TW.utf8/LC_MESSAGES/messages.mo locale/zh_TW.utf8/LC_MESSAGES/messages.po msgfmt -o locale/vi_VN.utf8/LC_MESSAGES/messages.mo locale/vi_VN.utf8/LC_MESSAGES/messages.po mysql -u$MYSQL_USER -p$MYSQL_PWD < $BASE_DIR/build/TruncateAuditTrail.sql Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2012-06-14 08:05:15 UTC (rev 5437) +++ trunk/doc/Change.log 2012-06-16 21:56:35 UTC (rev 5438) @@ -1,4 +1,7 @@ webERP Change Log + +15/6/12 Release 4.08 + 02/06/2012 Exson: Fixed the order cancel function failure in SelectOrderItems.php. Reported by Pak Richard. 2/6/12 Phil: Settle counter sales and receipts should be set - now fixed. 28/5/2012 Phil: Configure xmlrpc api to work correctly with utf-8 character encoding. @@ -105,7 +108,6 @@ 7/2/12 Phil: Reworked ReorderLevelLocation.php 7/2/12 Phil: StockTransfers.php if SESSION['Transfer'][0] not set then now initiate a new transfer 7/2/12 Exson: Sent NewTransfer with call from SelectProduct.php to ensure new transfer initiated -6/2/12 Tim: Removed FUD as new API functions seem consistent with the rest of the API</p> 6/2/12 Phil: Added new API function InsertDebtorReceipt in api_debtortransactions.php 4/2/12 Vitaly: Fixed addTextWrap() in class.pdf.php. The length of the string was not calculated properly, causing long strings to print beyond the cell boundaries. 4/2/12 Phil: Added new API function CreateCreditNote in api_debtortransactions.php Modified: trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.mo =================================================================== (Binary files differ) Modified: trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.po =================================================================== --- trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.po 2012-06-14 08:05:15 UTC (rev 5437) +++ trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.po 2012-06-16 21:56:35 UTC (rev 5438) @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: web-erp\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2011-01-04 22:15+1200\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-06-16 16:39+1200\n" "PO-Revision-Date: 2012-01-26 10:26+0000\n" "Last-Translator: JC_Chuck <Unknown>\n" "Language-Team: Arabic <ar...@li...>\n" @@ -17,11 +17,11 @@ "X-Launchpad-Export-Date: 2012-03-07 23:01+0000\n" "X-Generator: Launchpad (build 14907)\n" -#: AccountGroups.php:9 index.php:1273 +#: AccountGroups.php:7 includes/MainMenuLinksArray.php:375 msgid "Account Groups" msgstr "مجموعات العضوية" -#: AccountGroups.php:19 +#: AccountGroups.php:17 msgid "" "An error occurred in retrieving the account groups of the parent account " "group during the check for recursion" @@ -29,616 +29,689 @@ "لقد حدث خطأ فى استرجاع بيانات مجموعات العضو الخاصة باعضوية الأب اثناء " "االتحقق من وجود استدعاء ذاتي" -#: AccountGroups.php:20 +#: AccountGroups.php:18 msgid "" "The SQL that was used to retrieve the account groups of the parent account " "group and that failed in the process was" msgstr "" -#: AccountGroups.php:57 AccountGroups.php:94 AccountGroups.php:177 -#: AccountGroups.php:187 +#: AccountGroups.php:58 AccountGroups.php:95 AccountGroups.php:176 +#: AccountGroups.php:186 msgid "The SQL that was used to retrieve the information was" msgstr "الطلب المستخدم لإسترجاع المعلومات كان" -#: AccountGroups.php:58 +#: AccountGroups.php:59 msgid "Could not check whether the group exists because" msgstr "لم يتم التحقق من وجود المجموعة بسبب" -#: AccountGroups.php:65 +#: AccountGroups.php:66 msgid "The account group name already exists in the database" msgstr "اسم المجموعة موجود مسبقاً" -#: AccountGroups.php:71 +#: AccountGroups.php:72 msgid "The account group name cannot contain the character" msgstr "لا يمكن وضع هذا الحرف في اسم المجموعة" -#: AccountGroups.php:71 AccountSections.php:75 PaymentMethods.php:41 -#: TaxCategories.php:33 TaxProvinces.php:32 UnitsOfMeasure.php:32 +#: AccountGroups.php:72 Departments.php:30 TaxCategories.php:31 msgid "or the character" msgstr "او الحرف" -#: AccountGroups.php:77 +#: AccountGroups.php:78 msgid "The account group name must be at least one character long" msgstr "اسم المجموعة يجب ان يحتوي علي الأقل علي حرف واحد" -#: AccountGroups.php:84 +#: AccountGroups.php:85 msgid "" "The parent account group selected appears to result in a recursive account " "structure - select an alternative parent account group or make this group a " "top level account group" msgstr "" -#: AccountGroups.php:95 +#: AccountGroups.php:96 msgid "Could not check whether the group is recursive because" msgstr "لم أستطيع التخقق اذا كانت المجموعة ذاتيى الأسترجاع لأن" -#: AccountGroups.php:107 +#: AccountGroups.php:104 +msgid "" +"Since this account group is a child group, the sequence in the trial " +"balance, the section in the accounts and whether or not the account group " +"appears in the balance sheet or profit and loss account are all properties " +"inherited from the parent account group. Any changes made to these fields " +"will have no effect." +msgstr "" + +#: AccountGroups.php:109 msgid "The section in accounts must be an integer" msgstr "يجب ان يكون القسم فى الحساب عدد صحيح" -#: AccountGroups.php:113 +#: AccountGroups.php:115 msgid "The sequence in the trial balance must be an integer" msgstr "التسلسل فى الحساب التجريبى يجب ان يكون عدد صحيح" -#: AccountGroups.php:119 +#: AccountGroups.php:121 msgid "The sequence in the TB must be numeric and less than" msgstr "" -#: AccountGroups.php:136 +#: AccountGroups.php:137 msgid "An error occurred in updating the account group" msgstr "حدث خطأ اثناء تحديث مجموعة العضو" -#: AccountGroups.php:137 +#: AccountGroups.php:138 msgid "The SQL that was used to update the account group was" msgstr "" -#: AccountGroups.php:139 AccountSections.php:106 PaymentMethods.php:91 +#: AccountGroups.php:140 AccountSections.php:98 PaymentMethods.php:83 msgid "Record Updated" msgstr "تم التحديث" -#: AccountGroups.php:157 +#: AccountGroups.php:156 msgid "An error occurred in inserting the account group" msgstr "حدث خطأ ما اثناء اضافة المجموعة" -#: AccountGroups.php:158 +#: AccountGroups.php:157 msgid "The SQL that was used to insert the account group was" msgstr "الطلب المستخدم لإضافة مجموعة الحسابات هي" -#: AccountGroups.php:159 AccountSections.php:118 PaymentMethods.php:113 +#: AccountGroups.php:158 AccountSections.php:108 msgid "Record inserted" msgstr "تمت الإضافة بنجاح" -#: AccountGroups.php:176 -msgid "" -"An error occurred in retrieving the group information from chartmaster" +#: AccountGroups.php:175 +msgid "An error occurred in retrieving the group information from chartmaster" msgstr "" -#: AccountGroups.php:181 +#: AccountGroups.php:180 msgid "" "Cannot delete this account group because general ledger accounts have been " "created using this group" msgstr "" -#: AccountGroups.php:182 AccountGroups.php:192 AccountSections.php:139 -#: Areas.php:117 Areas.php:126 BankAccounts.php:163 CreditStatus.php:126 -#: Currencies.php:144 Currencies.php:152 Currencies.php:159 -#: CustomerBranches.php:296 CustomerBranches.php:306 CustomerBranches.php:316 -#: CustomerBranches.php:326 Customers.php:317 Customers.php:326 -#: Customers.php:334 Customers.php:342 CustomerTypes.php:149 -#: CustomerTypes.php:159 Factors.php:136 FixedAssetCategories.php:132 -#: GLAccounts.php:95 GLAccounts.php:109 Locations.php:247 Locations.php:255 -#: Locations.php:264 Locations.php:272 Locations.php:280 Locations.php:288 -#: Locations.php:296 Locations.php:304 MRPDemandTypes.php:89 -#: PaymentMethods.php:146 PaymentTerms.php:147 PaymentTerms.php:154 -#: PcExpenses.php:119 SalesCategories.php:127 SalesCategories.php:135 -#: SalesPeople.php:144 SalesPeople.php:151 SalesTypes.php:147 -#: SalesTypes.php:157 Shippers.php:82 Shippers.php:94 StockCategories.php:182 -#: Stocks.php:471 Stocks.php:480 Stocks.php:488 Stocks.php:496 Stocks.php:504 -#: Stocks.php:512 Suppliers.php:613 Suppliers.php:622 Suppliers.php:630 -#: SupplierTypes.php:147 TaxCategories.php:133 TaxGroups.php:128 -#: TaxGroups.php:135 TaxProvinces.php:127 UnitsOfMeasure.php:142 -#: UnitsOfMeasure.php:149 WorkCentres.php:90 WorkCentres.php:96 -#: WWW_Access.php:87 +#: AccountGroups.php:181 AccountGroups.php:191 AccountSections.php:130 +#: Areas.php:114 Areas.php:123 BankAccounts.php:158 CreditStatus.php:125 +#: Currencies.php:166 Currencies.php:174 Currencies.php:182 +#: CustomerBranches.php:286 CustomerBranches.php:296 CustomerBranches.php:306 +#: CustomerBranches.php:316 Customers.php:289 Customers.php:298 +#: Customers.php:306 Customers.php:314 CustomerTypes.php:147 +#: CustomerTypes.php:157 Departments.php:141 Factors.php:134 +#: FixedAssetCategories.php:134 GLAccounts.php:80 GLAccounts.php:96 +#: Locations.php:237 Locations.php:245 Locations.php:256 Locations.php:265 +#: Locations.php:274 Locations.php:283 Locations.php:292 Locations.php:301 +#: Locations.php:309 MRPDemandTypes.php:87 PaymentMethods.php:142 +#: PaymentTerms.php:146 PaymentTerms.php:153 PcExpenses.php:158 +#: SalesCategories.php:125 SalesCategories.php:132 SalesPeople.php:150 +#: SalesPeople.php:157 SalesPeople.php:163 SalesTypes.php:140 +#: SalesTypes.php:150 Shippers.php:81 Shippers.php:93 StockCategories.php:187 +#: Stocks.php:653 Stocks.php:662 Stocks.php:670 Stocks.php:678 Stocks.php:686 +#: Stocks.php:694 Suppliers.php:612 Suppliers.php:621 Suppliers.php:629 +#: SupplierTypes.php:145 TaxCategories.php:131 TaxGroups.php:132 +#: TaxGroups.php:140 TaxProvinces.php:129 UnitsOfMeasure.php:135 +#: WorkCentres.php:89 WorkCentres.php:95 WWW_Access.php:83 msgid "There are" msgstr "يوجد" -#: AccountGroups.php:182 +#: AccountGroups.php:181 msgid "general ledger accounts that refer to this account group" msgstr "" -#: AccountGroups.php:186 +#: AccountGroups.php:185 msgid "An error occurred in retrieving the parent group information" msgstr "" -#: AccountGroups.php:191 +#: AccountGroups.php:190 msgid "" "Cannot delete this account group because it is a parent account group of " "other account group(s)" msgstr "" -#: AccountGroups.php:192 +#: AccountGroups.php:191 msgid "account groups that have this group as its/there parent account group" msgstr "" -#: AccountGroups.php:195 +#: AccountGroups.php:194 msgid "An error occurred in deleting the account group" msgstr "حدث خطأ ما اثناء حذف مجموعة الحسابات" -#: AccountGroups.php:196 +#: AccountGroups.php:195 msgid "The SQL that was used to delete the account group was" msgstr "" -#: AccountGroups.php:198 +#: AccountGroups.php:197 msgid "group has been deleted" msgstr "تم حذف المجموعة" -#: AccountGroups.php:223 +#: AccountGroups.php:222 msgid "The sql that was used to retrieve the account group information was " msgstr "" -#: AccountGroups.php:224 +#: AccountGroups.php:223 msgid "Could not get account groups because" msgstr "لم يتمكن الحصول على مجموات العضو لان" -#: AccountGroups.php:226 AccountSections.php:177 AddCustomerContacts.php:25 -#: AddCustomerContacts.php:28 AddCustomerNotes.php:97 -#: AddCustomerTypeNotes.php:94 AgedDebtors.php:468 AgedSuppliers.php:277 -#: Areas.php:145 AuditTrail.php:13 BOMExtendedQty.php:286 BOMIndented.php:262 -#: BOMIndentedReverse.php:257 BOMInquiry.php:165 BOMListing.php:128 -#: BOMs.php:214 BOMs.php:793 COGSGLPostings.php:20 CompanyPreferences.php:158 -#: CounterSales.php:1940 CounterSales.php:2062 Credit_Invoice.php:257 -#: CreditStatus.php:21 Currencies.php:29 CustEDISetup.php:19 -#: DailyBankTransactions.php:9 DebtorsAtPeriodEnd.php:138 -#: DiscountCategories.php:12 DiscountCategories.php:122 DiscountMatrix.php:18 -#: EDIMessageFormat.php:106 FixedAssetList.php:8 FixedAssetLocations.php:9 -#: FixedAssetRegister.php:13 FixedAssetRegister.php:232 -#: FixedAssetTransfer.php:31 FormDesigner.php:132 GLBalanceSheet.php:351 -#: GLBudgets.php:30 GLJournal.php:243 InventoryPlanning.php:369 -#: InventoryPlanningPrefSupplier.php:474 Labels.php:117 Labels.php:273 -#: MRPReport.php:536 OutstandingGRNs.php:174 PcAssignCashToTab.php:39 -#: PcAssignCashToTab.php:113 PcAssignCashToTab.php:129 -#: PcAssignCashToTab.php:165 PDFPickingList.php:30 PDFPrintLabel.php:132 -#: PDFStockLocTransfer.php:21 PO_AuthorisationLevels.php:12 POReport.php:61 -#: POReport.php:65 POReport.php:69 PO_SelectOSPurchOrder.php:136 -#: PricesBasedOnMarkUp.php:11 Prices_Customer.php:45 Prices.php:32 -#: PurchData.php:141 PurchData.php:231 PurchData.php:250 -#: RecurringSalesOrders.php:307 SalesAnalReptCols.php:51 SalesAnalRepts.php:13 -#: SalesCategories.php:13 SalesGLPostings.php:18 SalesGraph.php:34 -#: SalesPeople.php:22 SalesTypes.php:22 SelectAsset.php:44 -#: SelectCompletedOrder.php:13 SelectContract.php:81 SelectCreditItems.php:204 -#: SelectCreditItems.php:272 SelectCustomer.php:315 SelectGLAccount.php:19 -#: SelectGLAccount.php:79 SelectOrderItems.php:605 SelectOrderItems.php:1436 -#: SelectOrderItems.php:1556 SelectProduct.php:456 SelectSalesOrder.php:155 -#: SelectSupplier.php:9 SelectSupplier.php:198 SelectWorkOrder.php:11 -#: SelectWorkOrder.php:147 ShipmentCosting.php:13 Shipments.php:18 -#: Shippers.php:123 Shippers.php:159 Shipt_Select.php:10 -#: StockLocMovements.php:15 StockLocStatus.php:27 Suppliers.php:306 -#: SupplierTenders.php:261 SupplierTenders.php:318 SupplierTransInquiry.php:11 -#: TaxGroups.php:16 TaxProvinces.php:12 TopItems.php:60 -#: WhereUsedInquiry.php:18 WorkCentres.php:111 WorkCentres.php:158 -#: WorkOrderCosting.php:14 WorkOrderEntry.php:12 WorkOrderIssue.php:22 -#: WorkOrderReceive.php:15 WorkOrderStatus.php:43 WWW_Access.php:13 -#: WWW_Users.php:38 Z_BottomUpCosts.php:51 +#: AccountGroups.php:225 AccountSections.php:169 AddCustomerContacts.php:25 +#: AddCustomerContacts.php:27 AddCustomerNotes.php:101 +#: AddCustomerTypeNotes.php:94 AgedDebtors.php:444 AgedSuppliers.php:276 +#: Areas.php:143 AuditTrail.php:11 BankReconciliation.php:14 +#: BOMExtendedQty.php:250 BOMIndented.php:246 BOMIndentedReverse.php:235 +#: BOMInquiry.php:187 BOMListing.php:109 BOMs.php:231 BOMs.php:858 +#: COGSGLPostings.php:18 CompanyPreferences.php:153 CounterSales.php:2037 +#: CounterSales.php:2163 Credit_Invoice.php:255 CreditStatus.php:21 +#: Currencies.php:28 CustEDISetup.php:17 DailyBankTransactions.php:11 +#: DebtorsAtPeriodEnd.php:125 DiscountCategories.php:10 +#: DiscountCategories.php:134 DiscountMatrix.php:16 EDIMessageFormat.php:105 +#: FixedAssetLocations.php:9 FixedAssetRegister.php:13 +#: FixedAssetRegister.php:249 FixedAssetTransfer.php:32 FormDesigner.php:129 +#: GLBalanceSheet.php:378 GLBudgets.php:29 GLJournal.php:247 +#: InternalStockRequest.php:281 InventoryPlanning.php:374 +#: InventoryPlanningPrefSupplier.php:467 MRPReport.php:516 NoSalesItems.php:93 +#: OutstandingGRNs.php:163 PcAssignCashToTab.php:56 PcAssignCashToTab.php:130 +#: PcAssignCashToTab.php:146 PcAssignCashToTab.php:190 PDFPickingList.php:28 +#: PDFStockLocTransfer.php:16 PO_AuthorisationLevels.php:10 POReport.php:60 +#: POReport.php:64 POReport.php:68 PO_SelectOSPurchOrder.php:140 +#: PricesBasedOnMarkUp.php:8 Prices_Customer.php:35 Prices.php:30 +#: PurchData.php:152 PurchData.php:286 PurchData.php:312 +#: RecurringSalesOrders.php:309 SalesAnalReptCols.php:51 SalesAnalRepts.php:11 +#: SalesCategories.php:11 SalesGLPostings.php:17 SalesGraph.php:35 +#: SalesPeople.php:20 SalesTypes.php:20 SelectAsset.php:46 +#: SelectCompletedOrder.php:11 SelectContract.php:65 SelectCreditItems.php:216 +#: SelectCreditItems.php:287 SelectCustomer.php:263 SelectGLAccount.php:17 +#: SelectGLAccount.php:87 SelectOrderItems.php:586 SelectOrderItems.php:1498 +#: SelectOrderItems.php:1620 SelectProduct.php:505 SelectSalesOrder.php:534 +#: SelectSupplier.php:9 SelectSupplier.php:199 SelectWorkOrder.php:9 +#: SelectWorkOrder.php:152 ShipmentCosting.php:11 Shipments.php:17 +#: Shippers.php:123 Shippers.php:160 Shipt_Select.php:8 +#: StockLocMovements.php:14 StockLocStatus.php:28 +#: StockSerialItemResearch.php:30 SupplierPriceList.php:15 +#: SupplierPriceList.php:214 SupplierPriceList.php:384 +#: SupplierPriceList.php:388 SupplierPriceList.php:439 +#: SupplierPriceList.php:489 Suppliers.php:302 SupplierTenderCreate.php:522 +#: SupplierTenderCreate.php:628 SupplierTenders.php:322 +#: SupplierTenders.php:388 SupplierTransInquiry.php:10 TaxGroups.php:15 +#: TaxProvinces.php:11 TopItems.php:114 WhereUsedInquiry.php:18 +#: WorkCentres.php:111 WorkCentres.php:162 WorkOrderCosting.php:13 +#: WorkOrderEntry.php:11 WorkOrderIssue.php:22 WorkOrderReceive.php:17 +#: WorkOrderStatus.php:42 WWW_Access.php:11 WWW_Users.php:33 +#: Z_BottomUpCosts.php:57 msgid "Search" msgstr "إبحث" -#: AccountGroups.php:230 +#: AccountGroups.php:229 msgid "Group Name" msgstr "إسم المجموعة" -#: AccountGroups.php:231 EDIMessageFormat.php:131 +#: AccountGroups.php:230 EDIMessageFormat.php:129 EDIMessageFormat.php:208 msgid "Section" msgstr "قسم" -#: AccountGroups.php:232 AccountGroups.php:396 +#: AccountGroups.php:231 AccountGroups.php:410 msgid "Sequence In TB" msgstr "" -#: AccountGroups.php:233 AccountGroups.php:380 GLProfit_Loss.php:8 -#: GLProfit_Loss.php:105 GLProfit_Loss.php:106 GLProfit_Loss.php:157 -#: SelectGLAccount.php:45 SelectGLAccount.php:59 +#: AccountGroups.php:232 AccountGroups.php:393 GLProfit_Loss.php:6 +#: GLProfit_Loss.php:126 GLProfit_Loss.php:127 GLProfit_Loss.php:178 +#: SelectGLAccount.php:40 SelectGLAccount.php:54 SelectGLAccount.php:68 msgid "Profit and Loss" msgstr "" -#: AccountGroups.php:234 AccountGroups.php:341 +#: AccountGroups.php:233 AccountGroups.php:354 msgid "Parent Group" msgstr "" -#: AccountGroups.php:250 AccountGroups.php:253 AccountGroups.php:384 -#: AccountGroups.php:386 BankAccounts.php:217 BankAccounts.php:361 -#: BankAccounts.php:363 BankAccounts.php:367 BOMs.php:128 BOMs.php:713 -#: BOMs.php:715 CompanyPreferences.php:439 CompanyPreferences.php:441 -#: CompanyPreferences.php:451 CompanyPreferences.php:453 -#: CompanyPreferences.php:463 CompanyPreferences.php:465 -#: ContractCosting.php:174 CustLoginSetup.php:590 CustLoginSetup.php:592 -#: CustomerBranches.php:420 Customers.php:600 Customers.php:857 -#: Customers.php:864 Customers.php:867 DeliveryDetails.php:1034 -#: DeliveryDetails.php:1074 DeliveryDetails.php:1077 GLTransInquiry.php:73 -#: Locations.php:373 MRPCalendar.php:222 MRP.php:530 MRP.php:534 MRP.php:538 -#: MRP.php:542 PaymentMethods.php:203 PaymentMethods.php:204 -#: PaymentMethods.php:264 PaymentMethods.php:270 PDFChequeListing.php:63 -#: PDFDeliveryDifferences.php:64 PDFDIFOT.php:67 -#: PO_AuthorisationLevels.php:132 PO_AuthorisationLevels.php:137 -#: PO_Header.php:758 PO_PDFPurchOrder.php:367 PO_PDFPurchOrder.php:370 -#: PurchData.php:189 PurchData.php:469 PurchData.php:472 -#: RecurringSalesOrders.php:479 RecurringSalesOrders.php:482 -#: SalesAnalReptCols.php:279 SalesAnalReptCols.php:401 -#: SalesAnalReptCols.php:404 SalesAnalRepts.php:406 SalesAnalRepts.php:409 -#: SalesAnalRepts.php:432 SalesAnalRepts.php:435 SalesAnalRepts.php:458 -#: SalesAnalRepts.php:461 SelectProduct.php:351 ShipmentCosting.php:622 -#: Stocks.php:867 Stocks.php:869 Stocks.php:887 Stocks.php:889 -#: SuppContractChgs.php:83 SuppLoginSetup.php:511 SuppLoginSetup.php:513 -#: SystemParameters.php:373 SystemParameters.php:405 SystemParameters.php:450 -#: SystemParameters.php:468 SystemParameters.php:476 SystemParameters.php:516 -#: SystemParameters.php:589 SystemParameters.php:597 SystemParameters.php:615 -#: SystemParameters.php:622 SystemParameters.php:746 SystemParameters.php:877 -#: SystemParameters.php:879 SystemParameters.php:889 SystemParameters.php:891 -#: SystemParameters.php:945 SystemParameters.php:957 SystemParameters.php:959 -#: TaxGroups.php:292 TaxGroups.php:295 TaxGroups.php:344 WWW_Users.php:610 -#: WWW_Users.php:612 +#: AccountGroups.php:249 AccountGroups.php:252 AccountGroups.php:397 +#: AccountGroups.php:399 BOMs.php:124 BOMs.php:772 BOMs.php:774 +#: CompanyPreferences.php:477 CompanyPreferences.php:479 +#: CompanyPreferences.php:492 CompanyPreferences.php:494 +#: CompanyPreferences.php:507 CompanyPreferences.php:509 +#: ContractCosting.php:198 CustomerBranches.php:411 Customers.php:594 +#: Customers.php:947 Customers.php:956 Customers.php:959 +#: DeliveryDetails.php:1082 DeliveryDetails.php:1125 DeliveryDetails.php:1128 +#: GLTransInquiry.php:69 Labels.php:491 Labels.php:493 Labels.php:518 +#: MRPCalendar.php:224 MRP.php:529 MRP.php:533 MRP.php:537 MRP.php:541 +#: PaymentMethods.php:204 PaymentMethods.php:205 PaymentMethods.php:206 +#: PaymentMethods.php:207 PaymentMethods.php:273 PaymentMethods.php:280 +#: PaymentMethods.php:287 PaymentMethods.php:294 PcAuthorizeExpenses.php:243 +#: PDFChequeListing.php:63 PDFDeliveryDifferences.php:76 PDFDIFOT.php:76 +#: PO_AuthorisationLevels.php:134 PO_AuthorisationLevels.php:139 +#: PO_Header.php:792 PO_PDFPurchOrder.php:392 PO_PDFPurchOrder.php:395 +#: PurchData.php:212 PurchData.php:554 PurchData.php:557 +#: RecurringSalesOrders.php:482 RecurringSalesOrders.php:485 +#: SalesAnalReptCols.php:284 SalesAnalReptCols.php:419 +#: SalesAnalReptCols.php:422 SalesAnalRepts.php:417 SalesAnalRepts.php:420 +#: SalesAnalRepts.php:445 SalesAnalRepts.php:448 SalesAnalRepts.php:473 +#: SalesAnalRepts.php:476 SalesPeople.php:219 SalesPeople.php:356 +#: SalesPeople.php:358 SelectProduct.php:385 ShipmentCosting.php:667 +#: Stocks.php:1051 Stocks.php:1053 Stocks.php:1076 Stocks.php:1078 +#: SuppContractChgs.php:90 SystemParameters.php:401 SystemParameters.php:424 +#: SystemParameters.php:440 SystemParameters.php:503 SystemParameters.php:511 +#: SystemParameters.php:551 SystemParameters.php:631 SystemParameters.php:640 +#: SystemParameters.php:648 SystemParameters.php:666 SystemParameters.php:673 +#: SystemParameters.php:717 SystemParameters.php:813 SystemParameters.php:948 +#: SystemParameters.php:950 SystemParameters.php:960 SystemParameters.php:962 +#: SystemParameters.php:1016 SystemParameters.php:1028 +#: SystemParameters.php:1030 TaxGroups.php:311 TaxGroups.php:314 +#: TaxGroups.php:371 WWW_Users.php:484 WWW_Users.php:486 WWW_Users.php:657 +#: WWW_Users.php:659 msgid "Yes" msgstr "موافق" -#: AccountGroups.php:256 AccountGroups.php:389 AccountGroups.php:391 -#: BankAccounts.php:215 BankAccounts.php:361 BankAccounts.php:363 -#: BankAccounts.php:367 BOMs.php:130 BOMs.php:712 BOMs.php:716 -#: CompanyPreferences.php:438 CompanyPreferences.php:442 -#: CompanyPreferences.php:450 CompanyPreferences.php:454 -#: CompanyPreferences.php:462 CompanyPreferences.php:466 -#: ContractCosting.php:172 CustLoginSetup.php:589 CustLoginSetup.php:593 -#: CustomerBranches.php:420 Customers.php:599 Customers.php:855 -#: Customers.php:863 Customers.php:866 DeliveryDetails.php:1035 -#: DeliveryDetails.php:1075 DeliveryDetails.php:1078 GLTransInquiry.php:127 -#: Locations.php:375 MRPCalendar.php:224 MRP.php:528 MRP.php:532 MRP.php:536 -#: MRP.php:540 PaymentMethods.php:203 PaymentMethods.php:204 -#: PaymentMethods.php:265 PaymentMethods.php:271 PDFChequeListing.php:62 -#: PDFDeliveryDifferences.php:63 PDFDIFOT.php:66 -#: PO_AuthorisationLevels.php:134 PO_AuthorisationLevels.php:139 -#: PO_Header.php:757 PO_PDFPurchOrder.php:368 PO_PDFPurchOrder.php:371 -#: PurchData.php:192 PurchData.php:470 PurchData.php:473 -#: RecurringSalesOrders.php:478 RecurringSalesOrders.php:481 -#: SalesAnalReptCols.php:277 SalesAnalReptCols.php:402 -#: SalesAnalReptCols.php:405 SalesAnalRepts.php:405 SalesAnalRepts.php:408 -#: SalesAnalRepts.php:431 SalesAnalRepts.php:434 SalesAnalRepts.php:457 -#: SalesAnalRepts.php:460 SelectProduct.php:353 ShipmentCosting.php:623 -#: Stocks.php:862 Stocks.php:864 Stocks.php:882 Stocks.php:884 -#: SuppContractChgs.php:85 SuppLoginSetup.php:510 SuppLoginSetup.php:514 -#: SystemParameters.php:374 SystemParameters.php:406 SystemParameters.php:451 -#: SystemParameters.php:469 SystemParameters.php:477 SystemParameters.php:517 -#: SystemParameters.php:590 SystemParameters.php:598 SystemParameters.php:616 -#: SystemParameters.php:623 SystemParameters.php:747 SystemParameters.php:876 -#: SystemParameters.php:880 SystemParameters.php:888 SystemParameters.php:892 -#: SystemParameters.php:946 SystemParameters.php:956 SystemParameters.php:960 -#: TaxGroups.php:293 TaxGroups.php:296 TaxGroups.php:346 WWW_Users.php:609 -#: WWW_Users.php:613 includes/PDFLowGPPageHeader.inc:44 +#: AccountGroups.php:255 AccountGroups.php:402 AccountGroups.php:404 +#: BankAccounts.php:209 BankAccounts.php:378 BankAccounts.php:380 +#: BankAccounts.php:384 BankAccounts.php:392 BOMs.php:126 BOMs.php:771 +#: BOMs.php:775 CompanyPreferences.php:476 CompanyPreferences.php:480 +#: CompanyPreferences.php:491 CompanyPreferences.php:495 +#: CompanyPreferences.php:506 CompanyPreferences.php:510 +#: ContractCosting.php:196 CustomerBranches.php:411 Customers.php:593 +#: Customers.php:942 Customers.php:955 Customers.php:958 +#: DeliveryDetails.php:1083 DeliveryDetails.php:1126 DeliveryDetails.php:1129 +#: GLTransInquiry.php:86 Labels.php:490 Labels.php:494 Labels.php:519 +#: MRPCalendar.php:226 MRP.php:527 MRP.php:531 MRP.php:535 MRP.php:539 +#: NoSalesItems.php:153 PaymentMethods.php:204 PaymentMethods.php:205 +#: PaymentMethods.php:206 PaymentMethods.php:207 PaymentMethods.php:274 +#: PaymentMethods.php:281 PaymentMethods.php:288 PaymentMethods.php:295 +#: PcAuthorizeExpenses.php:241 PDFChequeListing.php:62 +#: PDFDeliveryDifferences.php:75 PDFDIFOT.php:75 +#: PO_AuthorisationLevels.php:136 PO_AuthorisationLevels.php:141 +#: PO_Header.php:791 PO_PDFPurchOrder.php:393 PO_PDFPurchOrder.php:396 +#: PurchData.php:215 PurchData.php:555 PurchData.php:558 +#: RecurringSalesOrders.php:481 RecurringSalesOrders.php:484 +#: SalesAnalReptCols.php:282 SalesAnalReptCols.php:420 +#: SalesAnalReptCols.php:423 SalesAnalRepts.php:416 SalesAnalRepts.php:419 +#: SalesAnalRepts.php:444 SalesAnalRepts.php:447 SalesAnalRepts.php:472 +#: SalesAnalRepts.php:475 SalesPeople.php:221 SalesPeople.php:361 +#: SalesPeople.php:363 SelectProduct.php:387 ShipmentCosting.php:668 +#: Stocks.php:1046 Stocks.php:1048 Stocks.php:1071 Stocks.php:1073 +#: SuppContractChgs.php:92 SystemParameters.php:402 SystemParameters.php:425 +#: SystemParameters.php:441 SystemParameters.php:504 SystemParameters.php:512 +#: SystemParameters.php:552 SystemParameters.php:632 SystemParameters.php:641 +#: SystemParameters.php:649 SystemParameters.php:667 SystemParameters.php:674 +#: SystemParameters.php:718 SystemParameters.php:814 SystemParameters.php:947 +#: SystemParameters.php:951 SystemParameters.php:959 SystemParameters.php:963 +#: SystemParameters.php:1017 SystemParameters.php:1027 +#: SystemParameters.php:1031 TaxGroups.php:312 TaxGroups.php:315 +#: TaxGroups.php:373 WWW_Users.php:483 WWW_Users.php:487 WWW_Users.php:656 +#: WWW_Users.php:660 includes/PDFLowGPPageHeader.inc:44 #: includes/PDFTaxPageHeader.inc:35 msgid "No" msgstr "ﻻ" -#: AccountGroups.php:265 AccountSections.php:197 AddCustomerContacts.php:131 -#: AddCustomerNotes.php:125 AddCustomerTypeNotes.php:123 Areas.php:165 -#: BankAccounts.php:226 BOMs.php:150 COGSGLPostings.php:113 -#: COGSGLPostings.php:218 CreditStatus.php:175 Currencies.php:239 -#: CustLoginSetup.php:312 CustomerBranches.php:424 Customers.php:909 -#: Customers.php:941 CustomerTypes.php:205 EDIMessageFormat.php:152 -#: Factors.php:208 FixedAssetCategories.php:182 FixedAssetLocations.php:102 -#: FreightCosts.php:243 GeocodeSetup.php:169 GLAccounts.php:319 GLTags.php:62 -#: Labels.php:414 Locations.php:382 MRPDemands.php:304 MRPDemandTypes.php:122 -#: PaymentMethods.php:205 PaymentTerms.php:203 PcAssignCashToTab.php:251 -#: PcClaimExpensesFromTab.php:229 PcExpenses.php:176 PcTabs.php:188 -#: PcTypeTabs.php:171 PO_AuthorisationLevels.php:148 Prices_Customer.php:283 -#: Prices.php:227 PurchData.php:202 SalesCategories.php:263 -#: SalesGLPostings.php:135 SalesGLPostings.php:247 SalesPeople.php:210 -#: SalesTypes.php:206 SelectCustomer.php:607 SelectCustomer.php:623 -#: SelectCustomer.php:645 SelectCustomer.php:661 SelectCustomer.php:683 -#: SelectCustomer.php:699 Shippers.php:144 StockCategories.php:244 -#: SupplierContacts.php:156 SupplierTypes.php:192 SuppLoginSetup.php:274 -#: TaxAuthorities.php:173 TaxCategories.php:184 TaxGroups.php:179 -#: TaxProvinces.php:178 UnitsOfMeasure.php:201 WorkCentres.php:138 -#: WWW_Access.php:127 WWW_Users.php:312 includes/InputSerialItems.php:88 +#: AccountGroups.php:264 AccountSections.php:189 AddCustomerContacts.php:148 +#: AddCustomerNotes.php:137 AddCustomerTypeNotes.php:131 Areas.php:163 +#: BankAccounts.php:222 BOMs.php:151 COGSGLPostings.php:108 +#: COGSGLPostings.php:206 CreditStatus.php:175 Currencies.php:272 +#: CustomerBranches.php:415 Customers.php:1033 Customers.php:1067 +#: CustomerTypes.php:206 Departments.php:186 EDIMessageFormat.php:150 +#: Factors.php:334 FixedAssetCategories.php:187 FixedAssetLocations.php:107 +#: FreightCosts.php:242 GeocodeSetup.php:173 GLAccounts.php:312 GLTags.php:93 +#: InternalStockRequest.php:263 Labels.php:223 Labels.php:248 +#: Locations.php:391 MRPDemands.php:309 MRPDemandTypes.php:120 +#: PaymentMethods.php:208 PaymentTerms.php:205 PcAssignCashToTab.php:273 +#: PcClaimExpensesFromTab.php:265 PcExpenses.php:223 PcTabs.php:233 +#: PcTypeTabs.php:174 PO_AuthorisationLevels.php:151 Prices_Customer.php:278 +#: Prices.php:249 PurchData.php:227 SalesCategories.php:256 +#: SalesGLPostings.php:132 SalesGLPostings.php:245 SalesPeople.php:232 +#: SalesTypes.php:206 SecurityTokens.php:130 SelectCustomer.php:615 +#: SelectCustomer.php:633 SelectCustomer.php:656 SelectCustomer.php:673 +#: SelectCustomer.php:696 SelectCustomer.php:713 Shippers.php:144 +#: StockCategories.php:263 SupplierContacts.php:163 +#: SupplierTenderCreate.php:145 SupplierTypes.php:189 +#: SuppTransGLAnalysis.php:120 TaxAuthorities.php:174 TaxCategories.php:182 +#: TaxGroups.php:188 TaxProvinces.php:180 UnitsOfMeasure.php:185 +#: WorkCentres.php:141 WWW_Access.php:123 WWW_Users.php:325 +#: includes/InputSerialItems.php:90 includes/OutputSerialItems.php:20 #, php-format msgid "Edit" msgstr "تحرير" -#: AccountGroups.php:266 AccountSections.php:201 AddCustomerContacts.php:132 -#: AddCustomerNotes.php:126 AddCustomerTypeNotes.php:124 Areas.php:166 -#: BankAccounts.php:227 BOMs.php:152 COGSGLPostings.php:114 -#: COGSGLPostings.php:219 ContractBOM.php:272 ContractOtherReqts.php:121 -#: CounterSales.php:741 Credit_Invoice.php:386 CreditStatus.php:176 -#: Currencies.php:242 CustLoginSetup.php:313 CustomerReceipt.php:866 -#: Customers.php:942 CustomerTypes.php:206 DiscountCategories.php:204 -#: DiscountMatrix.php:178 EDIMessageFormat.php:153 -#: FixedAssetCategories.php:183 FreightCosts.php:244 GeocodeSetup.php:170 -#: GLAccounts.php:320 GLJournal.php:403 Labels.php:414 Locations.php:383 -#: MRPDemands.php:305 MRPDemandTypes.php:123 PaymentMethods.php:206 -#: Payments.php:961 PaymentTerms.php:204 PcAssignCashToTab.php:255 -#: PcClaimExpensesFromTab.php:230 PcExpenses.php:177 PcExpensesTypeTab.php:161 -#: PcTabs.php:189 PcTypeTabs.php:172 PO_AuthorisationLevels.php:150 -#: PO_Items.php:976 Prices_Customer.php:284 Prices.php:228 PurchData.php:203 -#: SalesAnalReptCols.php:294 SalesAnalRepts.php:305 SalesCategories.php:264 -#: SalesGLPostings.php:136 SalesGLPostings.php:248 SalesPeople.php:211 -#: SalesTypes.php:207 SelectCreditItems.php:747 SelectCustomer.php:608 -#: SelectCustomer.php:624 SelectCustomer.php:646 SelectCustomer.php:662 -#: SelectCustomer.php:684 SelectCustomer.php:700 SelectOrderItems.php:1363 -#: Shipments.php:424 Shippers.php:145 SpecialOrder.php:590 -#: StockCategories.php:245 StockCategories.php:539 SuppContractChgs.php:91 -#: SuppCreditGRNs.php:93 SuppFixedAssetChgs.php:87 SuppInvGRNs.php:135 -#: SupplierContacts.php:157 SupplierTypes.php:194 SuppLoginSetup.php:275 -#: SuppShiptChgs.php:86 SuppTransGLAnalysis.php:111 TaxAuthorities.php:174 -#: TaxCategories.php:185 TaxGroups.php:180 TaxProvinces.php:179 -#: UnitsOfMeasure.php:202 WorkCentres.php:139 WOSerialNos.php:300 -#: WWW_Access.php:128 WWW_Users.php:313 includes/InputSerialItemsKeyed.php:54 +#: AccountGroups.php:265 +#, fuzzy +msgid "Are you sure you wish to delete this account group?" +msgstr "حدث خطأ ما اثناء حذف مجموعة الحسابات" + +#: AccountGroups.php:265 AccountSections.php:193 AddCustomerContacts.php:149 +#: AddCustomerNotes.php:138 AddCustomerTypeNotes.php:132 Areas.php:164 +#: BankAccounts.php:223 BOMs.php:153 COGSGLPostings.php:109 +#: COGSGLPostings.php:207 ContractBOM.php:267 ContractOtherReqts.php:120 +#: CounterSales.php:830 Credit_Invoice.php:401 CreditStatus.php:176 +#: Currencies.php:275 CustomerReceipt.php:925 Customers.php:1068 +#: CustomerTypes.php:207 Departments.php:187 DiscountCategories.php:223 +#: DiscountMatrix.php:183 EDIMessageFormat.php:151 +#: FixedAssetCategories.php:188 FreightCosts.php:243 GeocodeSetup.php:174 +#: GLAccounts.php:313 GLJournal.php:426 GLTags.php:94 +#: InternalStockRequest.php:264 Labels.php:224 Labels.php:249 Labels.php:497 +#: Locations.php:392 MRPDemands.php:310 MRPDemandTypes.php:121 +#: PaymentMethods.php:209 Payments.php:1083 PaymentTerms.php:206 +#: PcAssignCashToTab.php:277 PcClaimExpensesFromTab.php:266 PcExpenses.php:224 +#: PcExpensesTypeTab.php:187 PcTabs.php:234 PcTypeTabs.php:175 +#: PO_AuthorisationLevels.php:153 PO_Items.php:712 Prices_Customer.php:279 +#: Prices.php:250 PurchData.php:229 SalesAnalReptCols.php:299 +#: SalesAnalRepts.php:304 SalesCategories.php:257 SalesGLPostings.php:133 +#: SalesGLPostings.php:246 SalesPeople.php:233 SalesTypes.php:207 +#: SecurityTokens.php:131 SelectCreditItems.php:767 SelectCustomer.php:616 +#: SelectCustomer.php:634 SelectCustomer.php:657 SelectCustomer.php:674 +#: SelectCustomer.php:697 SelectCustomer.php:714 SelectOrderItems.php:1417 +#: Shipments.php:440 Shippers.php:145 SpecialOrder.php:667 +#: StockCategories.php:264 StockCategories.php:586 StockLocTransfer.php:332 +#: SuppContractChgs.php:99 SuppCreditGRNs.php:112 SuppFixedAssetChgs.php:87 +#: SuppInvGRNs.php:147 SupplierContacts.php:164 SupplierTenderCreate.php:401 +#: SupplierTenderCreate.php:429 SupplierTypes.php:191 SuppShiptChgs.php:90 +#: SuppTransGLAnalysis.php:121 TaxAuthorities.php:175 TaxCategories.php:183 +#: TaxGroups.php:189 TaxProvinces.php:181 UnitsOfMeasure.php:186 +#: WorkCentres.php:142 WOSerialNos.php:321 WWW_Access.php:124 +#: WWW_Users.php:326 includes/InputSerialItemsKeyed.php:58 +#: includes/OutputSerialItems.php:99 #, php-format msgid "Delete" msgstr "حذف" -#: AccountGroups.php:274 +#: AccountGroups.php:273 msgid "Review Account Groups" msgstr "" -#: AccountGroups.php:294 +#: AccountGroups.php:293 msgid "An error occurred in retrieving the account group information" msgstr "" -#: AccountGroups.php:295 +#: AccountGroups.php:294 msgid "" "The SQL that was used to retrieve the account group and that failed in the " "process was" msgstr "" -#: AccountGroups.php:298 +#: AccountGroups.php:297 msgid "The account group name does not exist in the database" msgstr "" -#: AccountGroups.php:314 GLAccounts.php:250 GLAccounts.php:299 -#: Z_ImportGLAccountGroups.php:28 +#: AccountGroups.php:311 +#, fuzzy +msgid "Edit Account Group Details" +msgstr "مجموعات العضوية" + +#: AccountGroups.php:319 GLAccounts.php:244 GLAccounts.php:292 +#: Z_ImportGLAccountGroups.php:26 msgid "Account Group" msgstr "" -#: AccountGroups.php:338 +#: AccountGroups.php:343 +#, fuzzy +msgid "New Account Group Details" +msgstr "مجموعات العضوية" + +#: AccountGroups.php:349 msgid "Account Group Name" msgstr "" -#: AccountGroups.php:348 AccountGroups.php:350 +#: AccountGroups.php:360 AccountGroups.php:362 msgid "Top Level Group" msgstr "" -#: AccountGroups.php:364 +#: AccountGroups.php:377 msgid "Section In Accounts" msgstr "" -#: AccountGroups.php:401 AccountSections.php:262 AddCustomerContacts.php:208 -#: AddCustomerNotes.php:201 AddCustomerTypeNotes.php:192 Areas.php:222 -#: BankAccounts.php:373 BOMs.php:725 COGSGLPostings.php:347 -#: CreditStatus.php:247 Currencies.php:339 CustLoginSetup.php:611 -#: DiscountMatrix.php:141 EDIMessageFormat.php:249 -#: FixedAssetCategories.php:328 FixedAssetLocations.php:148 -#: FreightCosts.php:342 GeocodeSetup.php:266 GLAccounts.php:269 -#: Locations.php:553 MRPDemands.php:402 MRPDemandTypes.php:182 -#: OffersReceived.php:52 OffersReceived.php:128 PaymentMethods.php:276 -#: PaymentTerms.php:282 PO_AuthorisationLevels.php:217 Prices_Customer.php:372 -#: SalesAnalReptCols.php:510 SalesAnalRepts.php:496 SalesGLPostings.php:415 -#: SalesPeople.php:302 Shippers.php:196 StockCategories.php:561 -#: SupplierContacts.php:251 SuppLoginSetup.php:532 TaxAuthorities.php:313 -#: TaxCategories.php:235 TaxProvinces.php:229 UnitsOfMeasure.php:253 -#: WorkCentres.php:261 WWW_Users.php:643 +#: AccountGroups.php:415 AccountSections.php:258 AddCustomerContacts.php:260 +#: AddCustomerNotes.php:242 AddCustomerTypeNotes.php:221 Areas.php:228 +#: BankAccounts.php:398 BOMs.php:785 COGSGLPostings.php:355 +#: CreditStatus.php:259 Currencies.php:402 CustLoginSetup.php:273 +#: Departments.php:255 DiscountMatrix.php:142 EDIMessageFormat.php:248 +#: FixedAssetCategories.php:347 FixedAssetLocations.php:157 +#: FreightCosts.php:342 GeocodeSetup.php:271 GLAccounts.php:262 Labels.php:531 +#: Locations.php:607 MRPDemands.php:424 MRPDemandTypes.php:188 +#: OffersReceived.php:57 OffersReceived.php:146 PaymentMethods.php:300 +#: PaymentTerms.php:310 PO_AuthorisationLevels.php:262 Prices_Customer.php:361 +#: SalesAnalReptCols.php:552 SalesAnalRepts.php:516 SalesGLPostings.php:417 +#: SalesPeople.php:370 Shippers.php:203 StockCategories.php:613 +#: SupplierContacts.php:282 SuppLoginSetup.php:295 TaxAuthorities.php:329 +#: TaxCategories.php:238 TaxProvinces.php:235 UnitsOfMeasure.php:241 +#: WorkCentres.php:280 WWW_Users.php:699 msgid "Enter Information" msgstr "أدخل المعلومات" -#: AccountSections.php:9 index.php:1278 +#: AccountSections.php:7 includes/MainMenuLinksArray.php:376 msgid "Account Sections" msgstr "أعدادات العضو" -#: AccountSections.php:68 +#: AccountSections.php:61 msgid "The account section already exists in the database" msgstr "قسم العضو موجود مسبقا فى قاعدة البيانات" -#: AccountSections.php:75 -msgid "The account section name cannot contain the character" +#: AccountSections.php:68 +#, fuzzy +msgid "The account section name cannot contain any illegal characters" msgstr "لا يمكن ان يحتوى اسم العضوية على الحرف" -#: AccountSections.php:81 +#: AccountSections.php:74 msgid "The account section name must contain at least one character" msgstr "يجب ان يحتوى اسم العضو على الاقل حرف واحد" -#: AccountSections.php:87 AccountSections.php:93 +#: AccountSections.php:80 AccountSections.php:86 msgid "The section number must be an integer" msgstr "قسم الرقم يجب ان يكون عدد صحيح" -#: AccountSections.php:138 +#: AccountSections.php:128 msgid "" "Cannot delete this account section because general ledger accounts groups " "have been created using this section" msgstr "" -#: AccountSections.php:139 +#: AccountSections.php:130 msgid "general ledger accounts groups that refer to this account section" msgstr "" -#: AccountSections.php:150 +#: AccountSections.php:142 msgid "section has been deleted" msgstr "" -#: AccountSections.php:175 +#: AccountSections.php:167 msgid "Could not get account group sections because" msgstr "" -#: AccountSections.php:181 AccountSections.php:238 AccountSections.php:255 +#: AccountSections.php:173 AccountSections.php:232 AccountSections.php:250 msgid "Section Number" msgstr "رقم القطاع" -#: AccountSections.php:182 AccountSections.php:258 +#: AccountSections.php:174 AccountSections.php:254 msgid "Section Description" msgstr "وصف القطاع" -#: AccountSections.php:199 +#: AccountSections.php:191 msgid "Restricted" msgstr "محظور" -#: AccountSections.php:210 +#: AccountSections.php:202 msgid "Review Account Sections" msgstr "راجع أعدادات العضوية" -#: AccountSections.php:228 +#: AccountSections.php:221 msgid "Could not retrieve the requested section please try again." msgstr "لم أستطيع استرجاع القطاع المطلوب حاول مجددا" -#: AddCustomerContacts.php:6 AddCustomerContacts.php:59 SelectCustomer.php:601 -#: SelectCustomer.php:630 +#: AddCustomerContacts.php:6 AddCustomerContacts.php:59 SelectCustomer.php:607 +#: SelectCustomer.php:640 msgid "Customer Contacts" msgstr "" -#: AddCustomerContacts.php:20 CustEDISetup.php:11 CustLoginSetup.php:24 -#: Z_CheckDebtorsControl.php:21 +#: AddCustomerContacts.php:20 CustEDISetup.php:9 CustLoginSetup.php:21 +#: Z_CheckDebtorsControl.php:14 msgid "Back to Customers" msgstr "العودة الى العملاء" -#: AddCustomerContacts.php:26 -msgid "Contacts for Customer: <b>" -msgstr "" +#: AddCustomerContacts.php:25 +#, fuzzy +msgid "Contacts for Customer" +msgstr "العودة الى العملاء" -#: AddCustomerContacts.php:29 -msgid "Edit contact for <b>" +#: AddCustomerContacts.php:27 +msgid "Edit contact for" msgstr "" -#: AddCustomerContacts.php:41 -msgid "The Contact must be an integer." -msgstr "" +#: AddCustomerContacts.php:39 +#, fuzzy +msgid "The Contact ID must be an integer." +msgstr "يجب ان يكون القسم فى الحساب عدد صحيح" -#: AddCustomerContacts.php:44 -msgid "The contact's name must be forty characters or less long" +#: AddCustomerContacts.php:42 +#, fuzzy +msgid "The contact name must be forty characters or less long" +msgstr "اسم المجموعة يجب ان يحتوي علي الأقل علي حرف واحد" + +#: AddCustomerContacts.php:45 +msgid "The contact name may not be empty" msgstr "" -#: AddCustomerContacts.php:47 -msgid "The contact's name may not be empty" +#: AddCustomerContacts.php:48 +msgid "The contact email address is not a valid email address" msgstr "" -#: AddCustomerContacts.php:59 AddCustomerNotes.php:49 -#: AddCustomerTypeNotes.php:49 Areas.php:74 CustomerTypes.php:71 -#: DeliveryDetails.php:748 Factors.php:117 FixedAssetItems.php:230 -#: PcAssignCashToTab.php:73 PcClaimExpensesFromTab.php:61 PcExpenses.php:60 -#: PcTabs.php:60 PcTypeTabs.php:59 PO_Items.php:381 SalesAnalReptCols.php:129 -#: SalesPeople.php:94 SalesTypes.php:63 Stocks.php:355 Suppliers.php:514 -#: SupplierTypes.php:69 +#: AddCustomerContacts.php:59 AddCustomerNotes.php:51 +#: AddCustomerTypeNotes.php:48 Areas.php:71 CustomerTypes.php:69 +#: DeliveryDetails.php:773 DeliveryDetails.php:784 Factors.php:105 +#: FixedAssetItems.php:246 MRPCalendar.php:176 PcAssignCashToTab.php:88 +#: PcClaimExpensesFromTab.php:79 PcExpenses.php:95 PcTabs.php:101 +#: PcTypeTabs.php:60 PO_Items.php:370 SalesAnalReptCols.php:129 +#: SalesPeople.php:97 SalesTypes.php:66 Stocks.php:508 Suppliers.php:513 +#: SupplierTypes.php:67 msgid "has been updated" msgstr "" -#: AddCustomerContacts.php:70 +#: AddCustomerContacts.php:74 msgid "The contact record has been added" msgstr "" -#: AddCustomerContacts.php:98 +#: AddCustomerContacts.php:103 msgid "The contact record has been deleted" msgstr "" -#: AddCustomerContacts.php:112 CompanyPreferences.php:229 -#: CustomerBranches.php:377 Customers.php:899 Customers.php:905 -#: Customers.php:971 SalesPeople.php:185 SelectCustomer.php:603 -#: StockDispatch.php:186 StockDispatch.php:198 SupplierContacts.php:144 -#: SupplierCredit.php:433 SupplierInvoice.php:407 SuppTransGLAnalysis.php:96 -#: includes/InputSerialItemsFile.php:84 includes/InputSerialItemsFile.php:124 -#: includes/PDFTaxPageHeader.inc:37 +#: AddCustomerContacts.php:126 CompanyPreferences.php:224 +#: CustomerBranches.php:368 Customers.php:1020 Customers.php:1028 +#: SalesPeople.php:200 SelectCustomer.php:610 StockDispatch.php:243 +#: StockDispatch.php:254 StockDispatch.php:265 SupplierContacts.php:150 +#: SuppTransGLAnalysis.php:105 includes/InputSerialItemsFile.php:92 +#: includes/InputSerialItemsFile.php:144 includes/PDFTaxPageHeader.inc:37 msgid "Name" msgstr "" -#: AddCustomerContacts.php:113 AddCustomerContacts.php:190 Customers.php:900 -#: Customers.php:906 Customers.php:972 SelectCustomer.php:604 -#: WWW_Access.php:111 WWW_Access.php:172 +#: AddCustomerContacts.php:127 AddCustomerContacts.php:223 Customers.php:1021 +#: Customers.php:1029 SelectCustomer.php:611 WWW_Access.php:107 +#: WWW_Access.php:170 msgid "Role" msgstr "" -#: AddCustomerContacts.php:114 Customers.php:973 +#: AddCustomerContacts.php:128 msgid "Phone no" msgstr "" -#: AddCustomerContacts.php:115 AddCustomerContacts.php:202 Customers.php:902 -#: Customers.php:908 Customers.php:974 PcAssignCashToTab.php:216 -#: PcAssignCashToTab.php:341 PcAuthorizeExpenses.php:85 -#: PcClaimExpensesFromTab.php:195 PcClaimExpensesFromTab.php:348 -#: PcReportTab.php:348 SelectCustomer.php:606 SystemParameters.php:313 -#: WOSerialNos.php:277 WOSerialNos.php:279 +#: AddCustomerContacts.php:129 AddCustomerContacts.php:241 +#: CustomerBranches.php:374 CustomerBranches.php:783 CustomerInquiry.php:257 +#: Customers.php:1023 Customers.php:1031 EmailCustTrans.php:15 +#: EmailCustTrans.php:64 Factors.php:246 Factors.php:297 Locations.php:573 +#: OrderDetails.php:109 PDFRemittanceAdvice.php:251 PO_PDFPurchOrder.php:379 +#: PO_PDFPurchOrder.php:382 PrintCustTrans.php:718 PrintCustTrans.php:949 +#: PrintCustTrans.php:998 PrintCustTransPortrait.php:756 +#: PrintCustTransPortrait.php:1002 PrintCustTransPortrait.php:1058 +#: SelectCustomer.php:422 SelectCustomer.php:613 SupplierContacts.php:154 +#: SupplierContacts.php:275 UserSettings.php:185 WWW_Users.php:281 +#: includes/PDFPickingListHeader.inc:25 includes/PDFStatementPageHeader.inc:67 +#: includes/PDFTransPageHeader.inc:82 +#: includes/PDFTransPageHeaderPortrait.inc:109 +#: includes/PO_PDFOrderPageHeader.inc:29 +msgid "Email" +msgstr "" + +#: AddCustomerContacts.php:130 AddCustomerContacts.php:250 Customers.php:1024 +#: Customers.php:1032 PcAssignCashToTab.php:238 PcAssignCashToTab.php:369 +#: PcAuthorizeExpenses.php:92 PcClaimExpensesFromTab.php:227 +#: PcClaimExpensesFromTab.php:386 PcReportTab.php:331 SelectCustomer.php:614 +#: SystemParameters.php:339 WOSerialNos.php:292 WOSerialNos.php:298 msgid "Notes" msgstr "" -#: AddCustomerContacts.php:149 +#: AddCustomerContacts.php:149 SupplierContacts.php:164 +#, php-format +msgid "Are you sure you wish to delete this contact?" +msgstr "" + +#: AddCustomerContacts.php:168 msgid "Review all contacts for this Customer" msgstr "" -#: AddCustomerContacts.php:179 +#: AddCustomerContacts.php:206 msgid "Contact Code" msgstr "" -#: AddCustomerContacts.php:184 Factors.php:279 SupplierContacts.php:219 +#: AddCustomerContacts.php:214 Factors.php:234 SupplierContacts.php:237 msgid "Contact Name" msgstr "" -#: AddCustomerContacts.php:196 Contracts.php:766 PDFRemittanceAdvice.php:247 -#: PO_Header.php:958 PO_Header.php:1028 SelectCreditItems.php:225 -#: SelectCustomer.php:461 SelectOrderItems.php:638 -#: includes/PDFStatementPageHeader.inc:63 includes/PDFTransPageHeader.inc:113 +#: AddCustomerContacts.php:232 Contracts.php:775 PDFRemittanceAdvice.php:247 +#: PO_Header.php:1000 PO_Header.php:1080 SelectCreditItems.php:241 +#: SelectCustomer.php:420 SelectOrderItems.php:621 +#: SupplierTenderCreate.php:374 includes/PDFStatementPageHeader.inc:63 +#: includes/PDFTransPageHeader.inc:81 #: includes/PDFTransPageHeaderPortrait.inc:105 msgid "Phone" msgstr "" -#: AddCustomerNotes.php:6 AddCustomerNotes.php:49 SelectCustomer.php:638 -#: SelectCustomer.php:668 +#: AddCustomerNotes.php:6 AddCustomerNotes.php:51 SelectCustomer.php:649 +#: SelectCustomer.php:680 msgid "Customer Notes" msgstr "" -#: AddCustomerNotes.php:20 AddCustomerTypeNotes.php:20 +#: AddCustomerNotes.php:21 AddCustomerTypeNotes.php:19 msgid "Back to Select Customer" msgstr "" -#: AddCustomerNotes.php:31 +#: AddCustomerNotes.php:34 msgid "The contact priority must be an integer." msgstr "" -#: AddCustomerNotes.php:34 AddCustomerTypeNotes.php:34 +#: AddCustomerNotes.php:37 msgid "The contact's notes must be two hundred characters or less long" msgstr "" -#: AddCustomerNotes.php:37 AddCustomerTypeNotes.php:37 +#: AddCustomerNotes.php:40 msgid "The contact's notes may not be empty" msgstr "" -#: AddCustomerNotes.php:60 +#: AddCustomerNotes.php:64 msgid "The contact notes record has been added" msgstr "" -#: AddCustomerNotes.php:87 +#: AddCustomerNotes.php:91 msgid "The contact note record has been deleted" msgstr "" -#: AddCustomerNotes.php:98 +#: AddCustomerNotes.php:101 msgid "Notes for Customer" msgstr "" -#: AddCustomerNotes.php:106 AddCustomerNotes.php:189 -#: AddCustomerTypeNotes.php:104 AddCustomerTypeNotes.php:186 -#: BankMatching.php:223 BankReconciliation.php:184 BankReconciliation.php:256 -#: ContractCosting.php:149 CustomerAllocations.php:332 -#: CustomerAllocations.php:358 CustomerInquiry.php:191 -#: CustomerTransInquiry.php:87 GLAccountInquiry.php:154 -#: GLAccountReport.php:369 GLTransInquiry.php:45 MRPCalendar.php:217 -#: PaymentAllocations.php:77 PcAssignCashToTab.php:212 -#: PcAuthorizeExpenses.php:81 PDFRemittanceAdvice.php:308 -#: PrintCustTrans.php:678 PrintCustTransPortrait.php:860 ReverseGRN.php:378 -#: ShipmentCosting.php:503 ShipmentCosting.php:574 Shipments.php:467 -#: StockDispatch.php:188 StockDispatch.php:200 StockLocMovements.php:85 -#: StockMovements.php:98 StockSerialItemResearch.php:79 -#: SupplierAllocations.php:464 SupplierAllocations.php:576 -#: SupplierAllocations.php:646 SupplierInquiry.php:195 -#: SupplierTransInquiry.php:89 includes/PDFQuotationPageHeader.inc:91 +#: AddCustomerNotes.php:117 AddCustomerNotes.php:222 +#: AddCustomerTypeNotes.php:111 AddCustomerTypeNotes.php:211 +#: BankMatching.php:272 BankReconciliation.php:209 BankReconciliation.php:286 +#: ContractCosting.php:173 CustomerAllocations.php:330 +#: CustomerAllocations.php:364 CustomerInquiry.php:200 +#: CustomerTransInquiry.php:102 GLAccountInquiry.php:155 +#: GLAccountReport.php:340 GLTransInquiry.php:42 MRPCalendar.php:219 +#: PaymentAllocations.php:66 PcAssignCashToTab.php:234 +#: PcAuthorizeExpenses.php:88 PDFRemittanceAdvice.php:308 +#: PrintCustTrans.php:826 PrintCustTransPortrait.php:870 ReverseGRN.php:392 +#: ShipmentCosting.php:538 ShipmentCosting.php:615 Shipments.php:491 +#: StockDispatch.php:245 StockDispatch.php:256 StockDispatch.php:267 +#: StockLocMovements.php:91 StockMovements.php:95 +#: StockSerialItemResearch.php:81 SupplierAllocations.php:456 +#: SupplierAllocations.php:569 SupplierAllocations.php:644 +#: SupplierInquiry.php:211 SupplierTransInquiry.php:105 +#: includes/PDFQuotationPageHeader.inc:93 +#: includes/PDFQuotationPortraitPageHeader.inc:91 #: includes/PDFStatementPageHeader.inc:169 includes/PDFTaxPageHeader.inc:36 -#: includes/PDFTransPageHeader.inc:80 +#: includes/PDFTransPageHeader.inc:48 #: includes/PDFTransPageHeaderPortrait.inc:58 msgid "Date" msgstr "" -#: AddCustomerNotes.php:107 AddCustomerTypeNotes.php:105 PcReportTab.php:176 -#: Stocks.php:871 UpgradeDatabase.php:145 UpgradeDatabase.php:148 -#: UpgradeDatabase.php:151 UpgradeDatabase.php:154 UpgradeDatabase.php:157 -#: UpgradeDatabase.php:160 UpgradeDatabase.php:163 Z_Upgrade_3.10-3.11.php:62 +#: AddCustomerNotes.php:118 AddCustomerTypeNotes.php:112 PcReportTab.php:176 +#: Stocks.php:1055 UpgradeDatabase.php:197 UpgradeDatabase.php:200 +#: UpgradeDatabase.php:203 UpgradeDatabase.php:206 UpgradeDatabase.php:209 +#: UpgradeDatabase.php:212 UpgradeDatabase.php:215 UpgradeDatabase.php:218 +#: UpgradeDatabase.php:221 Z_Upgrade_3.10-3.11.php:62 #: Z_Upgrade_3.10-3.11.php:66 Z_Upgrade_3.10-3.11.php:70 #: Z_Upgrade_3.10-3.11.php:74 Z_Upgrade_3.10-3.11.php:78 #: Z_Upgrade_3.11-4.00.php:62 Z_Upgrade_3.11-4.00.php:66 @@ -647,28 +720,33 @@ msgid "Note" msgstr "" -#: AddCustomerNotes.php:108 AddCustomerNotes.php:183 +#: AddCustomerNotes.php:119 AddCustomerNotes.php:213 msgid "WWW" msgstr "" -#: AddCustomerNotes.php:109 AddCustomerNotes.php:195 -#: AddCustomerTypeNotes.php:107 AddCustomerTypeNotes.php:189 +#: AddCustomerNotes.php:120 AddCustomerNotes.php:231 +#: AddCustomerTypeNotes.php:114 AddCustomerTypeNotes.php:215 msgid "Priority" msgstr "" -#: AddCustomerNotes.php:143 +#: AddCustomerNotes.php:138 +#, php-format +msgid "Are you sure you wish to delete this customer note?" +msgstr "" + +#: AddCustomerNotes.php:157 msgid "Review all notes for this Customer" msgstr "" -#: AddCustomerNotes.php:172 AddCustomerTypeNotes.php:171 +#: AddCustomerNotes.php:196 AddCustomerTypeNotes.php:189 msgid "Note ID" msgstr "" -#: AddCustomerNotes.php:177 +#: AddCustomerNotes.php:204 msgid "Contact Note" msgstr "" -#: AddCustomerTypeNotes.php:6 SelectCustomer.php:676 +#: AddCustomerTypeNotes.php:5 SelectCustomer.php:689 msgid "Customer Type (Group) Notes" msgstr "" @@ -676,11 +754,20 @@ msgid "The Contact priority must be an integer." msgstr "" -#: AddCustomerTypeNotes.php:49 SelectCustomer.php:706 +#: AddCustomerTypeNotes.php:34 +#, fuzzy +msgid "The contacts notes must be two hundred characters or les... [truncated message content] |
From: <te...@us...> - 2012-06-17 01:29:04
|
Revision: 5439 http://web-erp.svn.sourceforge.net/web-erp/?rev=5439&view=rev Author: tehonu Date: 2012-06-17 01:28:58 +0000 (Sun, 17 Jun 2012) Log Message: ----------- Ricard: Added a 2nd strategy for StockDispatch (items with overstock at FROM, RL=0 no matter if needed at TO). Modified Paths: -------------- trunk/StockDispatch.php trunk/doc/Change.log Modified: trunk/StockDispatch.php =================================================================== --- trunk/StockDispatch.php 2012-06-16 21:56:35 UTC (rev 5438) +++ trunk/StockDispatch.php 2012-06-17 01:28:58 UTC (rev 5439) @@ -26,8 +26,8 @@ $template='simple'; }elseif($_POST['template']=='standard'){ $template='standard'; - } - else{$template='full'; + }else{ + $template='full'; } // Create Transfer Number if(!isset($Trf_ID) && $_POST['ReportType'] == 'Batch'){ @@ -60,6 +60,11 @@ $WhereCategory = " "; } + if ($_POST['Strategy'] == 'RLZero') { + $WhereCategory = $WhereCategory . " AND fromlocstock.reorderlevel = 0 "; + }else{ + $WhereCategory = $WhereCategory . " AND locstock.reorderlevel > locstock.quantity "; + } $sql = "SELECT locstock.stockid, stockmaster.description, @@ -84,7 +89,6 @@ AND fromlocstock.loccode = '" . $_POST['FromLocation'] . "' WHERE locstock.stockid=stockmaster.stockid AND locstock.loccode ='" . $_POST['ToLocation'] . "' - AND locstock.reorderlevel > locstock.quantity AND (fromlocstock.quantity - fromlocstock.reorderlevel) > 0 AND stockcategory.stocktype<>'A' AND (stockmaster.mbflag='B' OR stockmaster.mbflag='M') " . @@ -150,15 +154,21 @@ // The real needed stock is reorder level - qty - in transit). $NeededQtyAtTo = $myrow['neededqty'] - $InTransitQuantityAtTo; - // Decide how many are sent - $ShipQty = 0; - if ($AvailableShipQtyAtFrom > 0) { - if ($AvailableShipQtyAtFrom >= $NeededQtyAtTo) { - // We can ship all the needed qty at TO location - $ShipQty = $NeededQtyAtTo; - }else{ - // We can't ship all the needed qty at TO location, but at least can ship some - $ShipQty = $AvailableShipQtyAtFrom; + // Decide how many are sent (depends on the strategy) + if ($_POST['Strategy'] == 'RLZero') { + // send items with overstock (and RL = 0) at FROM, no matter qty needed at TO. + $ShipQty = $AvailableShipQtyAtFrom; + }else{ + // Send all items with overstock at FROM needed at TO + $ShipQty = 0; + if ($AvailableShipQtyAtFrom > 0) { + if ($AvailableShipQtyAtFrom >= $NeededQtyAtTo) { + // We can ship all the needed qty at TO location + $ShipQty = $NeededQtyAtTo; + }else{ + // We can't ship all the needed qty at TO location, but at least can ship some + $ShipQty = $AvailableShipQtyAtFrom; + } } } @@ -285,7 +295,7 @@ $title=_('Stock Dispatch Report'); include('includes/header.inc'); echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/inventory.png" title="' . _('Inventory') . '" alt="" />' . ' ' . _('Inventory Stock Dispatch Report') . '</p>'; - echo '<div class="page_help_text">' . _('Create batch of overstock from one location to transfer to another location that is below reorder level.<br/> + echo '<div class="page_help_text">' . _('Create a transfer batch of overstock from one location to another location that is below reorder level.<br/> Quantity to ship is based on reorder level minus the quantity on hand at the To Location; if there is a<br/> dispatch percentage entered, that needed quantity is inflated by the percentage entered.<br/> Use Bulk Inventory Transfer - Receive to process the batch') . '</div>'; @@ -351,9 +361,6 @@ exit; } - // Define StockCat with 'name="StockCat[ ]" multiple' so can select more than one - // Also have to change way define $WhereCategory for WHERE clause - echo '<tr> <td>' . _('In Stock Category') . ':</td> <td><select name="StockCat">'; @@ -374,6 +381,12 @@ } echo '</select></td></tr>'; + echo '<tr><td>' . _('Dispatch Strategy:') . ':</td>'; + echo '<td><select name="Strategy">'; + echo '<option selected="selected" value="All">' . _('Items needed at TO location with overstock at FROM location') . '</option>'; + echo '<option value="RLZero">' . _('Items with overstock at FROM location (and RL=0)') . '</option>'; + echo '</select></td><td> </td></tr>'; + echo '<tr><td>' . _('Report Type') . ':</td>'; echo '<td><select name="ReportType">'; echo '<option selected="selected" value="Batch">' . _('Create Batch') . '</option>'; @@ -418,8 +431,8 @@ $YPos -=$line_height; $pdf->addTextWrap($Left_Margin,$YPos,150,$FontSize,_('Stock Dispatch ') . $_POST['ReportType']); - $pdf->addTextWrap(200,$YPos,50,$FontSize,_('From :')); - $pdf->addTextWrap(250,$YPos,200,$FontSize,$FromLocation); + $pdf->addTextWrap(200,$YPos,30,$FontSize,_('From :')); + $pdf->addTextWrap(230,$YPos,200,$FontSize,$FromLocation); $pdf->addTextWrap($Page_Width-$Right_Margin-150,$YPos,160,$FontSize,_('Printed') . ': ' . Date($_SESSION['DefaultDateFormat']) . ' ' . _('Page') . ' ' . $PageNumber,'left'); @@ -427,16 +440,21 @@ $pdf->addTextWrap($Left_Margin,$YPos,50,$FontSize,_('Transfer No.')); $pdf->addTextWrap(95,$YPos,50,$FontSize,$Trf_ID); $pdf->setFont('','B'); - $pdf->addTextWrap(200,$YPos,20,$FontSize,_('To :')); - $pdf->addTextWrap(250,$YPos,200,$FontSize,$ToLocation); + $pdf->addTextWrap(200,$YPos,30,$FontSize,_('To :')); + $pdf->addTextWrap(230,$YPos,200,$FontSize,$ToLocation); $pdf->setFont('',''); $YPos -= $line_height; $pdf->addTextWrap($Left_Margin,$YPos,50,$FontSize,_('Category')); $pdf->addTextWrap(95,$YPos,50,$FontSize,$_POST['StockCat']); $pdf->addTextWrap(160,$YPos,150,$FontSize,$CategoryDescription,'left'); $YPos -= $line_height; - $pdf->addTextWrap($Left_Margin,$YPos,50,$FontSize,_('Percent')); - $pdf->addTextWrap(95,$YPos,50,$FontSize,$_POST['Percent']); + $pdf->addTextWrap($Left_Margin,$YPos,50,$FontSize,_('Over transfer')); + $pdf->addTextWrap(95,$YPos,50,$FontSize,$_POST['Percent'] . "%"); + if ($_POST['Strategy'] == 'RLZero') { + $pdf->addTextWrap(200,$YPos,200,$FontSize,_('Overstock items at '). $FromLocation); + }else{ + $pdf->addTextWrap(200,$YPos,200,$FontSize,_('Items needed at '). $ToLocation); + } $YPos -=(2*$line_height); /*set up the headings */ $Xpos = $Left_Margin+1; Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2012-06-16 21:56:35 UTC (rev 5438) +++ trunk/doc/Change.log 2012-06-17 01:28:58 UTC (rev 5439) @@ -1,4 +1,5 @@ webERP Change Log +17/06/2012 Ricard: Added a 2nd strategy for StockDispatch (items with overstock at FROM, RL=0 no matter if needed at TO). 15/6/12 Release 4.08 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <te...@us...> - 2012-06-17 01:29:04
|
Revision: 5439 http://web-erp.svn.sourceforge.net/web-erp/?rev=5439&view=rev Author: tehonu Date: 2012-06-17 01:28:58 +0000 (Sun, 17 Jun 2012) Log Message: ----------- Ricard: Added a 2nd strategy for StockDispatch (items with overstock at FROM, RL=0 no matter if needed at TO). Modified Paths: -------------- trunk/StockDispatch.php trunk/doc/Change.log Modified: trunk/StockDispatch.php =================================================================== --- trunk/StockDispatch.php 2012-06-16 21:56:35 UTC (rev 5438) +++ trunk/StockDispatch.php 2012-06-17 01:28:58 UTC (rev 5439) @@ -26,8 +26,8 @@ $template='simple'; }elseif($_POST['template']=='standard'){ $template='standard'; - } - else{$template='full'; + }else{ + $template='full'; } // Create Transfer Number if(!isset($Trf_ID) && $_POST['ReportType'] == 'Batch'){ @@ -60,6 +60,11 @@ $WhereCategory = " "; } + if ($_POST['Strategy'] == 'RLZero') { + $WhereCategory = $WhereCategory . " AND fromlocstock.reorderlevel = 0 "; + }else{ + $WhereCategory = $WhereCategory . " AND locstock.reorderlevel > locstock.quantity "; + } $sql = "SELECT locstock.stockid, stockmaster.description, @@ -84,7 +89,6 @@ AND fromlocstock.loccode = '" . $_POST['FromLocation'] . "' WHERE locstock.stockid=stockmaster.stockid AND locstock.loccode ='" . $_POST['ToLocation'] . "' - AND locstock.reorderlevel > locstock.quantity AND (fromlocstock.quantity - fromlocstock.reorderlevel) > 0 AND stockcategory.stocktype<>'A' AND (stockmaster.mbflag='B' OR stockmaster.mbflag='M') " . @@ -150,15 +154,21 @@ // The real needed stock is reorder level - qty - in transit). $NeededQtyAtTo = $myrow['neededqty'] - $InTransitQuantityAtTo; - // Decide how many are sent - $ShipQty = 0; - if ($AvailableShipQtyAtFrom > 0) { - if ($AvailableShipQtyAtFrom >= $NeededQtyAtTo) { - // We can ship all the needed qty at TO location - $ShipQty = $NeededQtyAtTo; - }else{ - // We can't ship all the needed qty at TO location, but at least can ship some - $ShipQty = $AvailableShipQtyAtFrom; + // Decide how many are sent (depends on the strategy) + if ($_POST['Strategy'] == 'RLZero') { + // send items with overstock (and RL = 0) at FROM, no matter qty needed at TO. + $ShipQty = $AvailableShipQtyAtFrom; + }else{ + // Send all items with overstock at FROM needed at TO + $ShipQty = 0; + if ($AvailableShipQtyAtFrom > 0) { + if ($AvailableShipQtyAtFrom >= $NeededQtyAtTo) { + // We can ship all the needed qty at TO location + $ShipQty = $NeededQtyAtTo; + }else{ + // We can't ship all the needed qty at TO location, but at least can ship some + $ShipQty = $AvailableShipQtyAtFrom; + } } } @@ -285,7 +295,7 @@ $title=_('Stock Dispatch Report'); include('includes/header.inc'); echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/inventory.png" title="' . _('Inventory') . '" alt="" />' . ' ' . _('Inventory Stock Dispatch Report') . '</p>'; - echo '<div class="page_help_text">' . _('Create batch of overstock from one location to transfer to another location that is below reorder level.<br/> + echo '<div class="page_help_text">' . _('Create a transfer batch of overstock from one location to another location that is below reorder level.<br/> Quantity to ship is based on reorder level minus the quantity on hand at the To Location; if there is a<br/> dispatch percentage entered, that needed quantity is inflated by the percentage entered.<br/> Use Bulk Inventory Transfer - Receive to process the batch') . '</div>'; @@ -351,9 +361,6 @@ exit; } - // Define StockCat with 'name="StockCat[ ]" multiple' so can select more than one - // Also have to change way define $WhereCategory for WHERE clause - echo '<tr> <td>' . _('In Stock Category') . ':</td> <td><select name="StockCat">'; @@ -374,6 +381,12 @@ } echo '</select></td></tr>'; + echo '<tr><td>' . _('Dispatch Strategy:') . ':</td>'; + echo '<td><select name="Strategy">'; + echo '<option selected="selected" value="All">' . _('Items needed at TO location with overstock at FROM location') . '</option>'; + echo '<option value="RLZero">' . _('Items with overstock at FROM location (and RL=0)') . '</option>'; + echo '</select></td><td> </td></tr>'; + echo '<tr><td>' . _('Report Type') . ':</td>'; echo '<td><select name="ReportType">'; echo '<option selected="selected" value="Batch">' . _('Create Batch') . '</option>'; @@ -418,8 +431,8 @@ $YPos -=$line_height; $pdf->addTextWrap($Left_Margin,$YPos,150,$FontSize,_('Stock Dispatch ') . $_POST['ReportType']); - $pdf->addTextWrap(200,$YPos,50,$FontSize,_('From :')); - $pdf->addTextWrap(250,$YPos,200,$FontSize,$FromLocation); + $pdf->addTextWrap(200,$YPos,30,$FontSize,_('From :')); + $pdf->addTextWrap(230,$YPos,200,$FontSize,$FromLocation); $pdf->addTextWrap($Page_Width-$Right_Margin-150,$YPos,160,$FontSize,_('Printed') . ': ' . Date($_SESSION['DefaultDateFormat']) . ' ' . _('Page') . ' ' . $PageNumber,'left'); @@ -427,16 +440,21 @@ $pdf->addTextWrap($Left_Margin,$YPos,50,$FontSize,_('Transfer No.')); $pdf->addTextWrap(95,$YPos,50,$FontSize,$Trf_ID); $pdf->setFont('','B'); - $pdf->addTextWrap(200,$YPos,20,$FontSize,_('To :')); - $pdf->addTextWrap(250,$YPos,200,$FontSize,$ToLocation); + $pdf->addTextWrap(200,$YPos,30,$FontSize,_('To :')); + $pdf->addTextWrap(230,$YPos,200,$FontSize,$ToLocation); $pdf->setFont('',''); $YPos -= $line_height; $pdf->addTextWrap($Left_Margin,$YPos,50,$FontSize,_('Category')); $pdf->addTextWrap(95,$YPos,50,$FontSize,$_POST['StockCat']); $pdf->addTextWrap(160,$YPos,150,$FontSize,$CategoryDescription,'left'); $YPos -= $line_height; - $pdf->addTextWrap($Left_Margin,$YPos,50,$FontSize,_('Percent')); - $pdf->addTextWrap(95,$YPos,50,$FontSize,$_POST['Percent']); + $pdf->addTextWrap($Left_Margin,$YPos,50,$FontSize,_('Over transfer')); + $pdf->addTextWrap(95,$YPos,50,$FontSize,$_POST['Percent'] . "%"); + if ($_POST['Strategy'] == 'RLZero') { + $pdf->addTextWrap(200,$YPos,200,$FontSize,_('Overstock items at '). $FromLocation); + }else{ + $pdf->addTextWrap(200,$YPos,200,$FontSize,_('Items needed at '). $ToLocation); + } $YPos -=(2*$line_height); /*set up the headings */ $Xpos = $Left_Margin+1; Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2012-06-16 21:56:35 UTC (rev 5438) +++ trunk/doc/Change.log 2012-06-17 01:28:58 UTC (rev 5439) @@ -1,4 +1,5 @@ webERP Change Log +17/06/2012 Ricard: Added a 2nd strategy for StockDispatch (items with overstock at FROM, RL=0 no matter if needed at TO). 15/6/12 Release 4.08 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <te...@us...> - 2012-06-19 03:49:16
|
Revision: 5442 http://web-erp.svn.sourceforge.net/web-erp/?rev=5442&view=rev Author: tehonu Date: 2012-06-19 03:49:10 +0000 (Tue, 19 Jun 2012) Log Message: ----------- Ricard: Added new script Z_ChangeLocationCode.php Modified Paths: -------------- trunk/doc/Change.log trunk/includes/MainMenuLinksArray.php Added Paths: ----------- trunk/Z_ChangeLocationCode.php Added: trunk/Z_ChangeLocationCode.php =================================================================== --- trunk/Z_ChangeLocationCode.php (rev 0) +++ trunk/Z_ChangeLocationCode.php 2012-06-19 03:49:10 UTC (rev 5442) @@ -0,0 +1,266 @@ +<?php + +/* $Id: Z_ChangeLocationCode.php 5296 2012-04-29 15:28:19Z vvs2012 $*/ + +include ('includes/session.inc'); +$title = _('UTILITY PAGE Change A Location Code'); +include('includes/header.inc'); +include('includes/SQL_CommonFunctions.inc'); + +if (isset($_POST['ProcessLocationChange'])){ + + $InputError =0; + + $_POST['NewLocationID'] = mb_strtoupper($_POST['NewLocationID']); + +/*First check the location code exists */ + $result=DB_query("SELECT loccode FROM locations WHERE loccode='" . $_POST['OldLocationID'] . "'",$db); + if (DB_num_rows($result)==0){ + prnMsg(_('The location code') . ': ' . $_POST['OldLocationID'] . ' ' . _('does not currently exist as a location code in the system'),'error'); + $InputError =1; + } + + if (ContainsIllegalCharacters($_POST['NewLocationID'])){ + prnMsg(_('The new location code to change the old code to contains illegal characters - no changes will be made'),'error'); + $InputError =1; + } + + if ($_POST['NewLocationID']==''){ + prnMsg(_('The new location code to change the old code to must be entered as well'),'error'); + $InputError =1; + } + + if (ContainsIllegalCharacters($_POST['NewLocationName'])){ + prnMsg(_('The new location name to change the old name to contains illegal characters - no changes will be made'),'error'); + $InputError =1; + } + + if ($_POST['NewLocationName']==''){ + prnMsg(_('The new location name to change the old name to must be entered as well'),'error'); + $InputError =1; + } +/*Now check that the new code doesn't already exist */ + $result=DB_query("SELECT loccode FROM locations WHERE loccode='" . $_POST['NewLocationID'] . "'",$db); + if (DB_num_rows($result)!=0){ + echo '<br /><br />'; + prnMsg(_('The replacement location code') . ': ' . $_POST['NewLocationID'] . ' ' . _('already exists as a location code in the system') . ' - ' . _('a unique location code must be entered for the new code'),'error'); + $InputError =1; + } + + if ($InputError ==0){ // no input errors + $result = DB_Txn_Begin($db); + DB_IgnoreForeignKeys($db); + + echo '<br />' . _('Adding the new location record'); + $sql = "INSERT INTO locations (loccode, + locationname, + deladd1, + deladd2, + deladd3, + deladd4, + deladd5, + deladd6, + tel, + fax, + email, + contact, + taxprovinceid, + managed, + cashsalecustomer, + cashsalebranch) + SELECT '" . $_POST['NewLocationID'] . "', + '" . $_POST['NewLocationName'] . "', + deladd1, + deladd2, + deladd3, + deladd4, + deladd5, + deladd6, + tel, + fax, + email, + contact, + taxprovinceid, + managed, + cashsalecustomer, + cashsalebranch + FROM locations + WHERE loccode='" . $_POST['OldLocationID'] . "'"; + + $DbgMsg = _('The SQL statement that failed was'); + $ErrMsg =_('The SQL to insert the new location record failed'); + $result = DB_query($sql,$db,$ErrMsg,$DbgMsg,true); + echo ' ... ' . _('completed'); + + echo '<br />' . _('Changing the BOM table records'); + $sql = "UPDATE bom SET loccode='" . $_POST['NewLocationID'] . "' WHERE loccode='" . $_POST['OldLocationID'] . "'"; + $ErrMsg = _('The SQL to update the BOM records failed'); + $result = DB_query($sql,$db,$ErrMsg,$DbgMsg,true); + echo ' ... ' . _('completed'); + + echo '<br />' . _('Changing the config table records'); + $sql = "UPDATE config SET confvalue='" . $_POST['NewLocationID'] . "' WHERE confvalue='" . $_POST['OldLocationID'] . "'"; + $ErrMsg = _('The SQL to update the BOM records failed'); + $result = DB_query($sql,$db,$ErrMsg,$DbgMsg,true); + echo ' ... ' . _('completed'); + + echo '<br />' . _('Changing the contracts table records'); + $sql = "UPDATE contracts SET loccode='" . $_POST['NewLocationID'] . "' WHERE loccode='" . $_POST['OldLocationID'] . "'"; + $ErrMsg = _('The SQL to update the contracts records failed'); + $result = DB_query($sql,$db,$ErrMsg,$DbgMsg,true); + echo ' ... ' . _('completed'); + + echo '<br />' . _('Changing the custbranch table records'); + $sql = "UPDATE custbranch SET defaultlocation='" . $_POST['NewLocationID'] . "' WHERE defaultlocation='" . $_POST['OldLocationID'] . "'"; + $ErrMsg = _('The SQL to update the custbranch records failed'); + $result = DB_query($sql,$db,$ErrMsg,$DbgMsg,true); + echo ' ... ' . _('completed'); + + echo '<br />' . _('Changing the freightcosts table records'); + $sql = "UPDATE freightcosts SET locationfrom='" . $_POST['NewLocationID'] . "' WHERE locationfrom='" . $_POST['OldLocationID'] . "'"; + $ErrMsg = _('The SQL to update the freightcosts records failed'); + $result = DB_query($sql,$db,$ErrMsg,$DbgMsg,true); + echo ' ... ' . _('completed'); + + echo '<br />' . _('Changing stock location records'); + $sql = "UPDATE locstock SET loccode='" . $_POST['NewLocationID'] . "' WHERE loccode='" . $_POST['OldLocationID'] . "'"; + $ErrMsg = _('The SQL to update stock location records failed'); + $result = DB_query($sql,$db,$ErrMsg,$DbgMsg,true); + echo ' ... ' . _('completed'); + + echo '<br />' . _('Changing location transfer information (Shipping location)'); + $sql = "UPDATE loctransfers SET shiploc='" . $_POST['NewLocationID'] . "' WHERE shiploc='" . $_POST['OldLocationID'] . "'"; + $ErrMsg = _('The SQL to update the loctransfers records failed'); + $result = DB_query($sql,$db,$ErrMsg,$DbgMsg,true); + echo ' ... ' . _('completed'); + + echo '<br />' . _('Changing location transfer information (Receiving location)'); + $sql = "UPDATE loctransfers SET recloc='" . $_POST['NewLocationID'] . "' WHERE recloc='" . $_POST['OldLocationID'] . "'"; + $ErrMsg = _('The SQL to update the loctransfers records failed'); + $result = DB_query($sql,$db,$ErrMsg,$DbgMsg,true); + echo ' ... ' . _('completed'); + + //check if MRP tables exist before assuming + + $result = DB_query("SELECT COUNT(*) FROM mrpparameters",$db,'','',false,false); + if (DB_error_no($db)==0) { + echo '<br />' . _('Changing MRP parameters information'); + $sql = "UPDATE mrpparameters SET location='" . $_POST['NewLocationID'] . "' WHERE location='" . $_POST['OldLocationID'] . "'"; + $ErrMsg = _('The SQL to update the mrpparameters records failed'); + $result = DB_query($sql,$db,$ErrMsg,$DbgMsg,true); + echo ' ... ' . _('completed'); + } + + echo '<br />' . _('Changing purchase orders information'); + $sql = "UPDATE purchorders SET intostocklocation='" . $_POST['NewLocationID'] . "' WHERE intostocklocation='" . $_POST['OldLocationID'] . "'"; + $ErrMsg = _('The SQL to update the purchase orders records failed'); + $result = DB_query($sql,$db,$ErrMsg,$DbgMsg,true); + echo ' ... ' . _('completed'); + + echo '<br />' . _('Changing recurring sales orders information'); + $sql = "UPDATE recurringsalesorders SET fromstkloc='" . $_POST['NewLocationID'] . "' WHERE fromstkloc='" . $_POST['OldLocationID'] . "'"; + $ErrMsg = _('The SQL to update the recurring sales orders records failed'); + $result = DB_query($sql,$db,$ErrMsg,$DbgMsg,true); + echo ' ... ' . _('completed'); + + echo '<br />' . _('Changing sales orders information'); + $sql = "UPDATE salesorders SET fromstkloc='" . $_POST['NewLocationID'] . "' WHERE fromstkloc='" . $_POST['OldLocationID'] . "'"; + $ErrMsg = _('The SQL to update the sales orders records failed'); + $result = DB_query($sql,$db,$ErrMsg,$DbgMsg,true); + echo ' ... ' . _('completed'); + + echo '<br />' . _('Changing stock check freeze records'); + $sql = "UPDATE stockcheckfreeze SET loccode='" . $_POST['NewLocationID'] . "' WHERE loccode='" . $_POST['OldLocationID'] . "'"; + $ErrMsg = _('The SQL to update stock check freeze records failed'); + $result = DB_query($sql,$db,$ErrMsg,$DbgMsg,true); + echo ' ... ' . _('completed'); + + echo '<br />' . _('Changing stockcounts records'); + $sql = "UPDATE stockcounts SET loccode='" . $_POST['NewLocationID'] . "' WHERE loccode='" . $_POST['OldLocationID'] . "'"; + $ErrMsg = _('The SQL to update stockcounts records failed'); + $result = DB_query($sql,$db,$ErrMsg,$DbgMsg,true); + echo ' ... ' . _('completed'); + + echo '<br />' . _('Changing stockmoves records'); + $sql = "UPDATE stockmoves SET loccode='" . $_POST['NewLocationID'] . "' WHERE loccode='" . $_POST['OldLocationID'] . "'"; + $ErrMsg = _('The SQL to update stockmoves records failed'); + $result = DB_query($sql,$db,$ErrMsg,$DbgMsg,true); + echo ' ... ' . _('completed'); + + echo '<br />' . _('Changing stockrequest records'); + $sql = "UPDATE stockrequest SET loccode='" . $_POST['NewLocationID'] . "' WHERE loccode='" . $_POST['OldLocationID'] . "'"; + $ErrMsg = _('The SQL to update stockrequest records failed'); + $result = DB_query($sql,$db,$ErrMsg,$DbgMsg,true); + echo ' ... ' . _('completed'); + + echo '<br />' . _('Changing stockserialitems records'); + $sql = "UPDATE stockserialitems SET loccode='" . $_POST['NewLocationID'] . "' WHERE loccode='" . $_POST['OldLocationID'] . "'"; + $ErrMsg = _('The SQL to update stockserialitems records failed'); + $result = DB_query($sql,$db,$ErrMsg,$DbgMsg,true); + echo ' ... ' . _('completed'); + + echo '<br />' . _('Changing tenders records'); + $sql = "UPDATE tenders SET location='" . $_POST['NewLocationID'] . "' WHERE location='" . $_POST['OldLocationID'] . "'"; + $ErrMsg = _('The SQL to update tenders records failed'); + $result = DB_query($sql,$db,$ErrMsg,$DbgMsg,true); + echo ' ... ' . _('completed'); + + echo '<br />' . _('Changing workcentres records'); + $sql = "UPDATE workcentres SET location='" . $_POST['NewLocationID'] . "' WHERE location='" . $_POST['OldLocationID'] . "'"; + $ErrMsg = _('The SQL to update workcentres records failed'); + $result = DB_query($sql,$db,$ErrMsg,$DbgMsg,true); + echo ' ... ' . _('completed'); + + echo '<br />' . _('Changing workorders records'); + $sql = "UPDATE workorders SET loccode='" . $_POST['NewLocationID'] . "' WHERE loccode='" . $_POST['OldLocationID'] . "'"; + $ErrMsg = _('The SQL to update workorders records failed'); + $result = DB_query($sql,$db,$ErrMsg,$DbgMsg,true); + echo ' ... ' . _('completed'); + + echo '<br />' . _('Changing users records'); + $sql = "UPDATE www_users SET defaultlocation='" . $_POST['NewLocationID'] . "' WHERE defaultlocation='" . $_POST['OldLocationID'] . "'"; + $ErrMsg = _('The SQL to update users records failed'); + $result = DB_query($sql,$db,$ErrMsg,$DbgMsg,true); + echo ' ... ' . _('completed'); + + DB_ReinstateForeignKeys($db); + + $result = DB_Txn_Commit($db); + + echo '<br />' . _('Deleting the old location record'); + $sql = "DELETE FROM locations WHERE loccode='" . $_POST['OldLocationID'] . "'"; + $ErrMsg = _('The SQL to delete the old location record failed'); + $result = DB_query($sql,$db,$ErrMsg,$DbgMsg,true); + echo ' ... ' . _('completed'); + + + echo '<p>' . _('Location code') . ': ' . $_POST['OldLocationID'] . ' ' . _('was successfully changed to') . ' : ' . $_POST['NewLocationID']; + } //only do the stuff above if $InputError==0 +} + +echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post">'; +echo '<div class="centre">'; +echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; + +echo '<br /> + <table> + <tr> + <td>' . _('Existing Location Code') . ':</td> + <td><input type="text" name="OldLocationID" size="5" maxlength="5" /></td> + </tr> + <tr> + <td>' . _('New Location Code') . ':</td> + <td><input type="text" name="NewLocationID" size="5" maxlength="5" /></td> + </tr> + <tr> + <td>' . _('New Location Name') . ':</td> + <td><input type="text" name="NewLocationName" size="50" maxlength="50" /></td> + </tr> + </table> + + <input type="submit" name="ProcessLocationChange" value="' . _('Process') . '" /> + </div> + </form>'; + +include('includes/footer.inc'); +?> \ No newline at end of file Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2012-06-18 01:21:18 UTC (rev 5441) +++ trunk/doc/Change.log 2012-06-19 03:49:10 UTC (rev 5442) @@ -1,4 +1,5 @@ webERP Change Log +19/06/2012 Ricard: Added new script Z_ChangeLocationCode. 17/06/2012 Ricard: Added a 2nd strategy for StockDispatch (items with overstock at FROM, RL=0 no matter if needed at TO). 15/6/12 Release 4.08 Modified: trunk/includes/MainMenuLinksArray.php =================================================================== --- trunk/includes/MainMenuLinksArray.php 2012-06-18 01:21:18 UTC (rev 5441) +++ trunk/includes/MainMenuLinksArray.php 2012-06-19 03:49:10 UTC (rev 5442) @@ -534,6 +534,7 @@ _('Change A Customer Branch Code'), _('Change An Inventory Item Code'), _('Change A Supplier Code'), + _('Change A Location Code'), _('Update costs for all BOM items, from the bottom up'), _('Re-apply costs to Sales Analysis'), _('Delete sales transactions'), @@ -543,6 +544,7 @@ '/Z_ChangeBranchCode.php', '/Z_ChangeStockCode.php', '/Z_ChangeSupplierCode.php', + '/Z_ChangeLocationCode.php', '/Z_BottomUpCosts.php', '/Z_ReApplyCostToSA.php', '/Z_DeleteSalesTransActions.php', This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <te...@us...> - 2012-06-19 03:49:16
|
Revision: 5442 http://web-erp.svn.sourceforge.net/web-erp/?rev=5442&view=rev Author: tehonu Date: 2012-06-19 03:49:10 +0000 (Tue, 19 Jun 2012) Log Message: ----------- Ricard: Added new script Z_ChangeLocationCode.php Modified Paths: -------------- trunk/doc/Change.log trunk/includes/MainMenuLinksArray.php Added Paths: ----------- trunk/Z_ChangeLocationCode.php Added: trunk/Z_ChangeLocationCode.php =================================================================== --- trunk/Z_ChangeLocationCode.php (rev 0) +++ trunk/Z_ChangeLocationCode.php 2012-06-19 03:49:10 UTC (rev 5442) @@ -0,0 +1,266 @@ +<?php + +/* $Id: Z_ChangeLocationCode.php 5296 2012-04-29 15:28:19Z vvs2012 $*/ + +include ('includes/session.inc'); +$title = _('UTILITY PAGE Change A Location Code'); +include('includes/header.inc'); +include('includes/SQL_CommonFunctions.inc'); + +if (isset($_POST['ProcessLocationChange'])){ + + $InputError =0; + + $_POST['NewLocationID'] = mb_strtoupper($_POST['NewLocationID']); + +/*First check the location code exists */ + $result=DB_query("SELECT loccode FROM locations WHERE loccode='" . $_POST['OldLocationID'] . "'",$db); + if (DB_num_rows($result)==0){ + prnMsg(_('The location code') . ': ' . $_POST['OldLocationID'] . ' ' . _('does not currently exist as a location code in the system'),'error'); + $InputError =1; + } + + if (ContainsIllegalCharacters($_POST['NewLocationID'])){ + prnMsg(_('The new location code to change the old code to contains illegal characters - no changes will be made'),'error'); + $InputError =1; + } + + if ($_POST['NewLocationID']==''){ + prnMsg(_('The new location code to change the old code to must be entered as well'),'error'); + $InputError =1; + } + + if (ContainsIllegalCharacters($_POST['NewLocationName'])){ + prnMsg(_('The new location name to change the old name to contains illegal characters - no changes will be made'),'error'); + $InputError =1; + } + + if ($_POST['NewLocationName']==''){ + prnMsg(_('The new location name to change the old name to must be entered as well'),'error'); + $InputError =1; + } +/*Now check that the new code doesn't already exist */ + $result=DB_query("SELECT loccode FROM locations WHERE loccode='" . $_POST['NewLocationID'] . "'",$db); + if (DB_num_rows($result)!=0){ + echo '<br /><br />'; + prnMsg(_('The replacement location code') . ': ' . $_POST['NewLocationID'] . ' ' . _('already exists as a location code in the system') . ' - ' . _('a unique location code must be entered for the new code'),'error'); + $InputError =1; + } + + if ($InputError ==0){ // no input errors + $result = DB_Txn_Begin($db); + DB_IgnoreForeignKeys($db); + + echo '<br />' . _('Adding the new location record'); + $sql = "INSERT INTO locations (loccode, + locationname, + deladd1, + deladd2, + deladd3, + deladd4, + deladd5, + deladd6, + tel, + fax, + email, + contact, + taxprovinceid, + managed, + cashsalecustomer, + cashsalebranch) + SELECT '" . $_POST['NewLocationID'] . "', + '" . $_POST['NewLocationName'] . "', + deladd1, + deladd2, + deladd3, + deladd4, + deladd5, + deladd6, + tel, + fax, + email, + contact, + taxprovinceid, + managed, + cashsalecustomer, + cashsalebranch + FROM locations + WHERE loccode='" . $_POST['OldLocationID'] . "'"; + + $DbgMsg = _('The SQL statement that failed was'); + $ErrMsg =_('The SQL to insert the new location record failed'); + $result = DB_query($sql,$db,$ErrMsg,$DbgMsg,true); + echo ' ... ' . _('completed'); + + echo '<br />' . _('Changing the BOM table records'); + $sql = "UPDATE bom SET loccode='" . $_POST['NewLocationID'] . "' WHERE loccode='" . $_POST['OldLocationID'] . "'"; + $ErrMsg = _('The SQL to update the BOM records failed'); + $result = DB_query($sql,$db,$ErrMsg,$DbgMsg,true); + echo ' ... ' . _('completed'); + + echo '<br />' . _('Changing the config table records'); + $sql = "UPDATE config SET confvalue='" . $_POST['NewLocationID'] . "' WHERE confvalue='" . $_POST['OldLocationID'] . "'"; + $ErrMsg = _('The SQL to update the BOM records failed'); + $result = DB_query($sql,$db,$ErrMsg,$DbgMsg,true); + echo ' ... ' . _('completed'); + + echo '<br />' . _('Changing the contracts table records'); + $sql = "UPDATE contracts SET loccode='" . $_POST['NewLocationID'] . "' WHERE loccode='" . $_POST['OldLocationID'] . "'"; + $ErrMsg = _('The SQL to update the contracts records failed'); + $result = DB_query($sql,$db,$ErrMsg,$DbgMsg,true); + echo ' ... ' . _('completed'); + + echo '<br />' . _('Changing the custbranch table records'); + $sql = "UPDATE custbranch SET defaultlocation='" . $_POST['NewLocationID'] . "' WHERE defaultlocation='" . $_POST['OldLocationID'] . "'"; + $ErrMsg = _('The SQL to update the custbranch records failed'); + $result = DB_query($sql,$db,$ErrMsg,$DbgMsg,true); + echo ' ... ' . _('completed'); + + echo '<br />' . _('Changing the freightcosts table records'); + $sql = "UPDATE freightcosts SET locationfrom='" . $_POST['NewLocationID'] . "' WHERE locationfrom='" . $_POST['OldLocationID'] . "'"; + $ErrMsg = _('The SQL to update the freightcosts records failed'); + $result = DB_query($sql,$db,$ErrMsg,$DbgMsg,true); + echo ' ... ' . _('completed'); + + echo '<br />' . _('Changing stock location records'); + $sql = "UPDATE locstock SET loccode='" . $_POST['NewLocationID'] . "' WHERE loccode='" . $_POST['OldLocationID'] . "'"; + $ErrMsg = _('The SQL to update stock location records failed'); + $result = DB_query($sql,$db,$ErrMsg,$DbgMsg,true); + echo ' ... ' . _('completed'); + + echo '<br />' . _('Changing location transfer information (Shipping location)'); + $sql = "UPDATE loctransfers SET shiploc='" . $_POST['NewLocationID'] . "' WHERE shiploc='" . $_POST['OldLocationID'] . "'"; + $ErrMsg = _('The SQL to update the loctransfers records failed'); + $result = DB_query($sql,$db,$ErrMsg,$DbgMsg,true); + echo ' ... ' . _('completed'); + + echo '<br />' . _('Changing location transfer information (Receiving location)'); + $sql = "UPDATE loctransfers SET recloc='" . $_POST['NewLocationID'] . "' WHERE recloc='" . $_POST['OldLocationID'] . "'"; + $ErrMsg = _('The SQL to update the loctransfers records failed'); + $result = DB_query($sql,$db,$ErrMsg,$DbgMsg,true); + echo ' ... ' . _('completed'); + + //check if MRP tables exist before assuming + + $result = DB_query("SELECT COUNT(*) FROM mrpparameters",$db,'','',false,false); + if (DB_error_no($db)==0) { + echo '<br />' . _('Changing MRP parameters information'); + $sql = "UPDATE mrpparameters SET location='" . $_POST['NewLocationID'] . "' WHERE location='" . $_POST['OldLocationID'] . "'"; + $ErrMsg = _('The SQL to update the mrpparameters records failed'); + $result = DB_query($sql,$db,$ErrMsg,$DbgMsg,true); + echo ' ... ' . _('completed'); + } + + echo '<br />' . _('Changing purchase orders information'); + $sql = "UPDATE purchorders SET intostocklocation='" . $_POST['NewLocationID'] . "' WHERE intostocklocation='" . $_POST['OldLocationID'] . "'"; + $ErrMsg = _('The SQL to update the purchase orders records failed'); + $result = DB_query($sql,$db,$ErrMsg,$DbgMsg,true); + echo ' ... ' . _('completed'); + + echo '<br />' . _('Changing recurring sales orders information'); + $sql = "UPDATE recurringsalesorders SET fromstkloc='" . $_POST['NewLocationID'] . "' WHERE fromstkloc='" . $_POST['OldLocationID'] . "'"; + $ErrMsg = _('The SQL to update the recurring sales orders records failed'); + $result = DB_query($sql,$db,$ErrMsg,$DbgMsg,true); + echo ' ... ' . _('completed'); + + echo '<br />' . _('Changing sales orders information'); + $sql = "UPDATE salesorders SET fromstkloc='" . $_POST['NewLocationID'] . "' WHERE fromstkloc='" . $_POST['OldLocationID'] . "'"; + $ErrMsg = _('The SQL to update the sales orders records failed'); + $result = DB_query($sql,$db,$ErrMsg,$DbgMsg,true); + echo ' ... ' . _('completed'); + + echo '<br />' . _('Changing stock check freeze records'); + $sql = "UPDATE stockcheckfreeze SET loccode='" . $_POST['NewLocationID'] . "' WHERE loccode='" . $_POST['OldLocationID'] . "'"; + $ErrMsg = _('The SQL to update stock check freeze records failed'); + $result = DB_query($sql,$db,$ErrMsg,$DbgMsg,true); + echo ' ... ' . _('completed'); + + echo '<br />' . _('Changing stockcounts records'); + $sql = "UPDATE stockcounts SET loccode='" . $_POST['NewLocationID'] . "' WHERE loccode='" . $_POST['OldLocationID'] . "'"; + $ErrMsg = _('The SQL to update stockcounts records failed'); + $result = DB_query($sql,$db,$ErrMsg,$DbgMsg,true); + echo ' ... ' . _('completed'); + + echo '<br />' . _('Changing stockmoves records'); + $sql = "UPDATE stockmoves SET loccode='" . $_POST['NewLocationID'] . "' WHERE loccode='" . $_POST['OldLocationID'] . "'"; + $ErrMsg = _('The SQL to update stockmoves records failed'); + $result = DB_query($sql,$db,$ErrMsg,$DbgMsg,true); + echo ' ... ' . _('completed'); + + echo '<br />' . _('Changing stockrequest records'); + $sql = "UPDATE stockrequest SET loccode='" . $_POST['NewLocationID'] . "' WHERE loccode='" . $_POST['OldLocationID'] . "'"; + $ErrMsg = _('The SQL to update stockrequest records failed'); + $result = DB_query($sql,$db,$ErrMsg,$DbgMsg,true); + echo ' ... ' . _('completed'); + + echo '<br />' . _('Changing stockserialitems records'); + $sql = "UPDATE stockserialitems SET loccode='" . $_POST['NewLocationID'] . "' WHERE loccode='" . $_POST['OldLocationID'] . "'"; + $ErrMsg = _('The SQL to update stockserialitems records failed'); + $result = DB_query($sql,$db,$ErrMsg,$DbgMsg,true); + echo ' ... ' . _('completed'); + + echo '<br />' . _('Changing tenders records'); + $sql = "UPDATE tenders SET location='" . $_POST['NewLocationID'] . "' WHERE location='" . $_POST['OldLocationID'] . "'"; + $ErrMsg = _('The SQL to update tenders records failed'); + $result = DB_query($sql,$db,$ErrMsg,$DbgMsg,true); + echo ' ... ' . _('completed'); + + echo '<br />' . _('Changing workcentres records'); + $sql = "UPDATE workcentres SET location='" . $_POST['NewLocationID'] . "' WHERE location='" . $_POST['OldLocationID'] . "'"; + $ErrMsg = _('The SQL to update workcentres records failed'); + $result = DB_query($sql,$db,$ErrMsg,$DbgMsg,true); + echo ' ... ' . _('completed'); + + echo '<br />' . _('Changing workorders records'); + $sql = "UPDATE workorders SET loccode='" . $_POST['NewLocationID'] . "' WHERE loccode='" . $_POST['OldLocationID'] . "'"; + $ErrMsg = _('The SQL to update workorders records failed'); + $result = DB_query($sql,$db,$ErrMsg,$DbgMsg,true); + echo ' ... ' . _('completed'); + + echo '<br />' . _('Changing users records'); + $sql = "UPDATE www_users SET defaultlocation='" . $_POST['NewLocationID'] . "' WHERE defaultlocation='" . $_POST['OldLocationID'] . "'"; + $ErrMsg = _('The SQL to update users records failed'); + $result = DB_query($sql,$db,$ErrMsg,$DbgMsg,true); + echo ' ... ' . _('completed'); + + DB_ReinstateForeignKeys($db); + + $result = DB_Txn_Commit($db); + + echo '<br />' . _('Deleting the old location record'); + $sql = "DELETE FROM locations WHERE loccode='" . $_POST['OldLocationID'] . "'"; + $ErrMsg = _('The SQL to delete the old location record failed'); + $result = DB_query($sql,$db,$ErrMsg,$DbgMsg,true); + echo ' ... ' . _('completed'); + + + echo '<p>' . _('Location code') . ': ' . $_POST['OldLocationID'] . ' ' . _('was successfully changed to') . ' : ' . $_POST['NewLocationID']; + } //only do the stuff above if $InputError==0 +} + +echo '<form action="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '" method="post">'; +echo '<div class="centre">'; +echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; + +echo '<br /> + <table> + <tr> + <td>' . _('Existing Location Code') . ':</td> + <td><input type="text" name="OldLocationID" size="5" maxlength="5" /></td> + </tr> + <tr> + <td>' . _('New Location Code') . ':</td> + <td><input type="text" name="NewLocationID" size="5" maxlength="5" /></td> + </tr> + <tr> + <td>' . _('New Location Name') . ':</td> + <td><input type="text" name="NewLocationName" size="50" maxlength="50" /></td> + </tr> + </table> + + <input type="submit" name="ProcessLocationChange" value="' . _('Process') . '" /> + </div> + </form>'; + +include('includes/footer.inc'); +?> \ No newline at end of file Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2012-06-18 01:21:18 UTC (rev 5441) +++ trunk/doc/Change.log 2012-06-19 03:49:10 UTC (rev 5442) @@ -1,4 +1,5 @@ webERP Change Log +19/06/2012 Ricard: Added new script Z_ChangeLocationCode. 17/06/2012 Ricard: Added a 2nd strategy for StockDispatch (items with overstock at FROM, RL=0 no matter if needed at TO). 15/6/12 Release 4.08 Modified: trunk/includes/MainMenuLinksArray.php =================================================================== --- trunk/includes/MainMenuLinksArray.php 2012-06-18 01:21:18 UTC (rev 5441) +++ trunk/includes/MainMenuLinksArray.php 2012-06-19 03:49:10 UTC (rev 5442) @@ -534,6 +534,7 @@ _('Change A Customer Branch Code'), _('Change An Inventory Item Code'), _('Change A Supplier Code'), + _('Change A Location Code'), _('Update costs for all BOM items, from the bottom up'), _('Re-apply costs to Sales Analysis'), _('Delete sales transactions'), @@ -543,6 +544,7 @@ '/Z_ChangeBranchCode.php', '/Z_ChangeStockCode.php', '/Z_ChangeSupplierCode.php', + '/Z_ChangeLocationCode.php', '/Z_BottomUpCosts.php', '/Z_ReApplyCostToSA.php', '/Z_DeleteSalesTransActions.php', This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <te...@us...> - 2012-06-20 02:43:37
|
Revision: 5443 http://web-erp.svn.sourceforge.net/web-erp/?rev=5443&view=rev Author: tehonu Date: 2012-06-20 02:43:30 +0000 (Wed, 20 Jun 2012) Log Message: ----------- Ricard: Added opposite currency pair graph to ExchangeRateTrend.php Modified Paths: -------------- trunk/ExchangeRateTrend.php trunk/doc/Change.log Modified: trunk/ExchangeRateTrend.php =================================================================== --- trunk/ExchangeRateTrend.php 2012-06-19 03:49:10 UTC (rev 5442) +++ trunk/ExchangeRateTrend.php 2012-06-20 02:43:30 UTC (rev 5443) @@ -58,14 +58,22 @@ // ************** - $graph = $CurrencyToShow. '/' . $FunctionalCurrency . $graph; - $image = 'http://www.x-rates.com/d/' . $graph; + $graphA = $CurrencyToShow. '/' . $FunctionalCurrency . $graph; + $image = 'http://www.x-rates.com/d/' . $graphA; echo '<br /><table class="selection">'; echo '<tr><th><div class="centre"><b>' . $FunctionalCurrency . ' / ' . $CurrencyToShow . '</b></div></th></tr>'; echo '<tr><td><img src="' . $image . '" alt="' ._('Trend Currently Unavailable') . '" /></td></tr>'; echo '</table>'; + $graphB = $FunctionalCurrency. '/' . $CurrencyToShow . $graph; + $image = 'http://www.x-rates.com/d/' . $graphB; + echo '<br /><table class="selection">'; + echo '<tr><th><div class="centre"><b>' . $CurrencyToShow . ' / ' . $FunctionalCurrency . '</b></div></th></tr>'; + echo '<tr><td><img src="' . $image . '" alt="' ._('Trend Currently Unavailable') . '" /></td></tr>'; + echo '</table>'; + + include('includes/footer.inc'); ?> \ No newline at end of file Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2012-06-19 03:49:10 UTC (rev 5442) +++ trunk/doc/Change.log 2012-06-20 02:43:30 UTC (rev 5443) @@ -1,4 +1,5 @@ webERP Change Log +20/06/2012 Ricard: Added opposite currency pair graph to ExchangeRateTrend.php. 19/06/2012 Ricard: Added new script Z_ChangeLocationCode. 17/06/2012 Ricard: Added a 2nd strategy for StockDispatch (items with overstock at FROM, RL=0 no matter if needed at TO). This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <te...@us...> - 2012-06-20 02:43:37
|
Revision: 5443 http://web-erp.svn.sourceforge.net/web-erp/?rev=5443&view=rev Author: tehonu Date: 2012-06-20 02:43:30 +0000 (Wed, 20 Jun 2012) Log Message: ----------- Ricard: Added opposite currency pair graph to ExchangeRateTrend.php Modified Paths: -------------- trunk/ExchangeRateTrend.php trunk/doc/Change.log Modified: trunk/ExchangeRateTrend.php =================================================================== --- trunk/ExchangeRateTrend.php 2012-06-19 03:49:10 UTC (rev 5442) +++ trunk/ExchangeRateTrend.php 2012-06-20 02:43:30 UTC (rev 5443) @@ -58,14 +58,22 @@ // ************** - $graph = $CurrencyToShow. '/' . $FunctionalCurrency . $graph; - $image = 'http://www.x-rates.com/d/' . $graph; + $graphA = $CurrencyToShow. '/' . $FunctionalCurrency . $graph; + $image = 'http://www.x-rates.com/d/' . $graphA; echo '<br /><table class="selection">'; echo '<tr><th><div class="centre"><b>' . $FunctionalCurrency . ' / ' . $CurrencyToShow . '</b></div></th></tr>'; echo '<tr><td><img src="' . $image . '" alt="' ._('Trend Currently Unavailable') . '" /></td></tr>'; echo '</table>'; + $graphB = $FunctionalCurrency. '/' . $CurrencyToShow . $graph; + $image = 'http://www.x-rates.com/d/' . $graphB; + echo '<br /><table class="selection">'; + echo '<tr><th><div class="centre"><b>' . $CurrencyToShow . ' / ' . $FunctionalCurrency . '</b></div></th></tr>'; + echo '<tr><td><img src="' . $image . '" alt="' ._('Trend Currently Unavailable') . '" /></td></tr>'; + echo '</table>'; + + include('includes/footer.inc'); ?> \ No newline at end of file Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2012-06-19 03:49:10 UTC (rev 5442) +++ trunk/doc/Change.log 2012-06-20 02:43:30 UTC (rev 5443) @@ -1,4 +1,5 @@ webERP Change Log +20/06/2012 Ricard: Added opposite currency pair graph to ExchangeRateTrend.php. 19/06/2012 Ricard: Added new script Z_ChangeLocationCode. 17/06/2012 Ricard: Added a 2nd strategy for StockDispatch (items with overstock at FROM, RL=0 no matter if needed at TO). This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <te...@us...> - 2012-06-20 08:52:14
|
Revision: 5444 http://web-erp.svn.sourceforge.net/web-erp/?rev=5444&view=rev Author: tehonu Date: 2012-06-20 08:52:04 +0000 (Wed, 20 Jun 2012) Log Message: ----------- Ricard: Added total QOH to NoSalesItems.php Modified Paths: -------------- trunk/NoSalesItems.php trunk/doc/Change.log Modified: trunk/NoSalesItems.php =================================================================== --- trunk/NoSalesItems.php 2012-06-20 02:43:30 UTC (rev 5443) +++ trunk/NoSalesItems.php 2012-06-20 08:52:04 UTC (rev 5444) @@ -1,6 +1,6 @@ <?php -/* $Id: NoSalesItems.php 2012-05-12 Kapal Laut $*/ +/* $Id: NoSalesItems.php 2012-05-12 $*/ /* Session started in session.inc for password checking and authorisation level check config.php is in turn included in session.inc*/ @@ -146,7 +146,7 @@ $SQL = $SQL. "ORDER BY stockmaster.stockid"; $result = DB_query($SQL, $db); echo '<p class="page_title_text" align="center"><strong>' . _('No Sales Items') . '</strong></p>'; - echo '<form action="PDFNoSalesItems2.php" method="GET"> + echo '<form action="PDFNoSalesItems.php" method="GET"> <table class="selection">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; $TableHeader = '<tr> @@ -154,7 +154,8 @@ <th>' . _('Location') . '</th> <th>' . _('Code') . '</th> <th>' . _('Description') . '</th> - <th>' . _('On Hand') . '</th> + <th>' . _('Location QOH') . '</th> + <th>' . _('Total QOH') . '</th> <th>' . _('Units') . '</th> </tr>'; echo $TableHeader; @@ -171,18 +172,28 @@ echo '<tr class="OddTableRows">'; $k = 1; } + $QOHResult = DB_query("SELECT sum(quantity) + FROM locstock + WHERE stockid = '" . $myrow['stockid'] . "'", $db); + $QOHRow = DB_fetch_row($QOHResult); + $QOH = $QOHRow[0]; + + $CodeLink = '<a href="' . $rootpath . '/SelectProduct.php?StockID=' . $myrow['stockid'] . '">' . $myrow['stockid'] . '</a>'; + printf('<td class="number">%s</td> <td>%s</td> <td>%s</td> <td>%s</td> <td class="number">%s</td> <td class="number">%s</td> + <td>%s</td> </tr>', $i, $myrow['locationname'], - $myrow['0'], + $CodeLink, $myrow['description'], - $myrow['quantity'], //onhand + $myrow['quantity'], //on hand on location selected only + $QOH, // total on hand $myrow['units'] //unit ); $i++; Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2012-06-20 02:43:30 UTC (rev 5443) +++ trunk/doc/Change.log 2012-06-20 08:52:04 UTC (rev 5444) @@ -1,4 +1,5 @@ webERP Change Log +20/06/2012 Ricard: Added total QOH to NoSalesItems.php. 20/06/2012 Ricard: Added opposite currency pair graph to ExchangeRateTrend.php. 19/06/2012 Ricard: Added new script Z_ChangeLocationCode. 17/06/2012 Ricard: Added a 2nd strategy for StockDispatch (items with overstock at FROM, RL=0 no matter if needed at TO). This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <te...@us...> - 2012-06-20 08:52:15
|
Revision: 5444 http://web-erp.svn.sourceforge.net/web-erp/?rev=5444&view=rev Author: tehonu Date: 2012-06-20 08:52:04 +0000 (Wed, 20 Jun 2012) Log Message: ----------- Ricard: Added total QOH to NoSalesItems.php Modified Paths: -------------- trunk/NoSalesItems.php trunk/doc/Change.log Modified: trunk/NoSalesItems.php =================================================================== --- trunk/NoSalesItems.php 2012-06-20 02:43:30 UTC (rev 5443) +++ trunk/NoSalesItems.php 2012-06-20 08:52:04 UTC (rev 5444) @@ -1,6 +1,6 @@ <?php -/* $Id: NoSalesItems.php 2012-05-12 Kapal Laut $*/ +/* $Id: NoSalesItems.php 2012-05-12 $*/ /* Session started in session.inc for password checking and authorisation level check config.php is in turn included in session.inc*/ @@ -146,7 +146,7 @@ $SQL = $SQL. "ORDER BY stockmaster.stockid"; $result = DB_query($SQL, $db); echo '<p class="page_title_text" align="center"><strong>' . _('No Sales Items') . '</strong></p>'; - echo '<form action="PDFNoSalesItems2.php" method="GET"> + echo '<form action="PDFNoSalesItems.php" method="GET"> <table class="selection">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; $TableHeader = '<tr> @@ -154,7 +154,8 @@ <th>' . _('Location') . '</th> <th>' . _('Code') . '</th> <th>' . _('Description') . '</th> - <th>' . _('On Hand') . '</th> + <th>' . _('Location QOH') . '</th> + <th>' . _('Total QOH') . '</th> <th>' . _('Units') . '</th> </tr>'; echo $TableHeader; @@ -171,18 +172,28 @@ echo '<tr class="OddTableRows">'; $k = 1; } + $QOHResult = DB_query("SELECT sum(quantity) + FROM locstock + WHERE stockid = '" . $myrow['stockid'] . "'", $db); + $QOHRow = DB_fetch_row($QOHResult); + $QOH = $QOHRow[0]; + + $CodeLink = '<a href="' . $rootpath . '/SelectProduct.php?StockID=' . $myrow['stockid'] . '">' . $myrow['stockid'] . '</a>'; + printf('<td class="number">%s</td> <td>%s</td> <td>%s</td> <td>%s</td> <td class="number">%s</td> <td class="number">%s</td> + <td>%s</td> </tr>', $i, $myrow['locationname'], - $myrow['0'], + $CodeLink, $myrow['description'], - $myrow['quantity'], //onhand + $myrow['quantity'], //on hand on location selected only + $QOH, // total on hand $myrow['units'] //unit ); $i++; Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2012-06-20 02:43:30 UTC (rev 5443) +++ trunk/doc/Change.log 2012-06-20 08:52:04 UTC (rev 5444) @@ -1,4 +1,5 @@ webERP Change Log +20/06/2012 Ricard: Added total QOH to NoSalesItems.php. 20/06/2012 Ricard: Added opposite currency pair graph to ExchangeRateTrend.php. 19/06/2012 Ricard: Added new script Z_ChangeLocationCode. 17/06/2012 Ricard: Added a 2nd strategy for StockDispatch (items with overstock at FROM, RL=0 no matter if needed at TO). This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dai...@us...> - 2012-06-21 19:36:26
|
Revision: 5445 http://web-erp.svn.sourceforge.net/web-erp/?rev=5445&view=rev Author: daintree Date: 2012-06-21 19:36:19 +0000 (Thu, 21 Jun 2012) Log Message: ----------- tooltip of long description Modified Paths: -------------- trunk/SelectProduct.php trunk/TaxCategories.php trunk/api/api_stock.php trunk/api/api_taxgroups.php trunk/api/api_xml-rpc.php trunk/doc/Change.log trunk/doc/Manual/ManualContributors.html trunk/includes/MiscFunctions.php trunk/sql/mysql/weberp-demo.sql Modified: trunk/SelectProduct.php =================================================================== --- trunk/SelectProduct.php 2012-06-20 08:52:04 UTC (rev 5444) +++ trunk/SelectProduct.php 2012-06-21 19:36:19 UTC (rev 5445) @@ -560,6 +560,7 @@ if ($_POST['StockCat'] == 'All') { $SQL = "SELECT stockmaster.stockid, stockmaster.description, + stockmaster.longdescription, SUM(locstock.quantity) AS qoh, stockmaster.units, stockmaster.mbflag, @@ -573,6 +574,7 @@ AND stockmaster.description " . LIKE . " '$SearchString' GROUP BY stockmaster.stockid, stockmaster.description, + stockmaster.longdescription, stockmaster.units, stockmaster.mbflag, stockmaster.discontinued, @@ -581,6 +583,7 @@ } else { $SQL = "SELECT stockmaster.stockid, stockmaster.description, + stockmaster.longdescription, SUM(locstock.quantity) AS qoh, stockmaster.units, stockmaster.mbflag, @@ -593,6 +596,7 @@ AND categoryid='" . $_POST['StockCat'] . "' GROUP BY stockmaster.stockid, stockmaster.description, + stockmaster.longdescription, stockmaster.units, stockmaster.mbflag, stockmaster.discontinued, @@ -604,6 +608,7 @@ if ($_POST['StockCat'] == 'All') { $SQL = "SELECT stockmaster.stockid, stockmaster.description, + stockmaster.longdescription, stockmaster.mbflag, stockmaster.discontinued, SUM(locstock.quantity) AS qoh, @@ -617,6 +622,7 @@ AND stockmaster.stockid " . LIKE . " '%" . $_POST['StockCode'] . "%' GROUP BY stockmaster.stockid, stockmaster.description, + stockmaster.longdescription, stockmaster.units, stockmaster.mbflag, stockmaster.discontinued, @@ -625,6 +631,7 @@ } else { $SQL = "SELECT stockmaster.stockid, stockmaster.description, + stockmaster.longdescription, stockmaster.mbflag, stockmaster.discontinued, sum(locstock.quantity) as qoh, @@ -637,6 +644,7 @@ AND categoryid='" . $_POST['StockCat'] . "' GROUP BY stockmaster.stockid, stockmaster.description, + stockmaster.longdescription, stockmaster.units, stockmaster.mbflag, stockmaster.discontinued, @@ -647,6 +655,7 @@ if ($_POST['StockCat'] == 'All') { $SQL = "SELECT stockmaster.stockid, stockmaster.description, + stockmaster.longdescription, stockmaster.mbflag, stockmaster.discontinued, SUM(locstock.quantity) AS qoh, @@ -659,6 +668,7 @@ WHERE stockmaster.stockid=locstock.stockid GROUP BY stockmaster.stockid, stockmaster.description, + stockmaster.longdescription, stockmaster.units, stockmaster.mbflag, stockmaster.discontinued, @@ -667,6 +677,7 @@ } else { $SQL = "SELECT stockmaster.stockid, stockmaster.description, + stockmaster.longdescription, stockmaster.mbflag, stockmaster.discontinued, SUM(locstock.quantity) AS qoh, @@ -678,6 +689,7 @@ AND categoryid='" . $_POST['StockCat'] . "' GROUP BY stockmaster.stockid, stockmaster.description, + stockmaster.longdescription, stockmaster.units, stockmaster.mbflag, stockmaster.discontinued, @@ -773,7 +785,7 @@ } echo '<td><input type="submit" name="Select" value="' . $myrow['stockid'] . '" /></td> - <td>'.$myrow['description'].'</td> + <td title="'. $myrow['longdescription'] . '">' . $myrow['description'] . '</td> <td class="number">' . $qoh . '</td> <td>' . $myrow['units'] . '</td> <td>' . $ItemStatus . '</td> Modified: trunk/TaxCategories.php =================================================================== --- trunk/TaxCategories.php 2012-06-20 08:52:04 UTC (rev 5444) +++ trunk/TaxCategories.php 2012-06-21 19:36:19 UTC (rev 5445) @@ -121,9 +121,9 @@ // This is probably the safest way there is prnMsg( _('Cannot delete this tax category because it no longer exists'),'warn'); } else { - $myrow = DB_fetch_row($result); - $OldTaxCategoryName = $myrow[0]; - $sql= "SELECT COUNT(*) FROM stockmaster WHERE taxcatid ".LIKE." '" . $OldTaxCategoryName . "'"; + $myrow = DB_fetch_array($result); + $TaxCatName = $myrow['taxcatname']; + $sql= "SELECT COUNT(*) FROM stockmaster WHERE taxcatid = '" . $SelectedTaxCategory . "'"; $result = DB_query($sql,$db); $myrow = DB_fetch_row($result); if ($myrow[0]>0) { @@ -134,7 +134,7 @@ $result = DB_query($sql,$db); $sql = "DELETE FROM taxcategories WHERE taxcatid = '" . $SelectedTaxCategory . "'"; $result = DB_query($sql,$db); - prnMsg( $OldTaxCategoryName . ' ' . _('tax category and any tax rates set for it have been deleted'),'success'); + prnMsg( $TaxCatName . ' ' . _('tax category and any tax rates set for it have been deleted'),'success'); } } //end if unset ($SelectedTaxCategory); Modified: trunk/api/api_stock.php =================================================================== --- trunk/api/api_stock.php 2012-06-20 08:52:04 UTC (rev 5444) +++ trunk/api/api_stock.php 2012-06-21 19:36:19 UTC (rev 5445) @@ -563,7 +563,7 @@ $sql="SELECT quantity, loccode FROM locstock WHERE stockid='" . $StockID."'"; - $result = DB_Query($sql, $db); + $result = DB_query($sql, $db); if (sizeof($Errors)==0) { $i=0; while ($myrow=DB_fetch_array($result)) { Modified: trunk/api/api_taxgroups.php =================================================================== --- trunk/api/api_taxgroups.php 2012-06-20 08:52:04 UTC (rev 5444) +++ trunk/api/api_taxgroups.php 2012-06-21 19:36:19 UTC (rev 5445) @@ -5,7 +5,7 @@ * currently setup on webERP */ - function GetTaxgroupList($user, $password) { + function GetTaxGroupList($user, $password) { $Errors = array(); $db = db($user, $password); if (gettype($db)=='integer') { @@ -27,7 +27,7 @@ * tax group. */ - function GetTaxgroupDetails($taxgroup, $user, $password) { + function GetTaxGroupDetails($taxgroup, $user, $password) { $Errors = array(); $db = db($user, $password); if (gettype($db)=='integer') { @@ -51,9 +51,20 @@ $Errors[0]=NoAuthorisation; return $Errors; } - $sql = "SELECT * FROM taxgrouptaxes WHERE taxgroupid='".$TaxGroup."'"; + $sql = "SELECT taxgroupid, taxauthid, calculationorder, taxontax FROM taxgrouptaxes WHERE taxgroupid='".$TaxGroup."'"; $result = DB_query($sql, $db); - return DB_fetch_array($result); + $i=0; + $Answer = array(); + while ($myrow=DB_fetch_array($result)){ + $Answer[$i]['taxgroupid'] = $myrow['taxgroupid']; + $Answer[$i]['taxauthid'] = $myrow['taxauthid']; + $Answer[$i]['calculationorder'] = $myrow['calculationorder']; + $Answer[$i]['taxontax'] = $myrow['taxontax']; + $i++; + } + $Errors[0]=0; + $Errors[1]=$Answer; + return $Errors; } /* This function returns a list of the tax authority ids @@ -90,20 +101,9 @@ } $sql = "SELECT * FROM taxauthorities WHERE taxid='".$TaxAuthority."'"; $result = DB_query($sql, $db); - $i=0; - while ($myrow=DB_fetch_array($result)){ - $Answer[$i]['taxcatid'] = $myrow['taxcatid']; - $Answer[$i]['dispatchtaxprovince'] = $myrow['dispatchtaxprovince']; - $Answer[$i]['taxrate'] = $myrow['taxrate']; - } - $Errors[0]=0; - $Errors[1]=$Answer; - return $Errors; + return DB_fetch_array($result); } - -/ - /* This function takes as a parameter a tax authority id and a tax category id * and returns an array containing the rate of tax for the selected * tax authority and tax category @@ -116,11 +116,19 @@ $Errors[0]=NoAuthorisation; return $Errors; } - $sql = "SELECT taxcatid, dispatchtaxprovince, taxrate FROM taxauthrates WHERE taxauthority='".$TaxAuthority."' AND taxcatid='" . $TaxCatID . "'"; + $sql = "SELECT taxcatid, dispatchtaxprovince, taxrate FROM taxauthrates WHERE taxauthority='".$TaxAuthority."'"; $result = DB_query($sql, $db); - $TaxRateRow = DB_fetch_row($result); - return $TaxRateRow[0]; + $i=0; + $Answer = array(); + while ($myrow=DB_fetch_array($result)){ + $Answer[$i]['taxcatid'] = $myrow['taxcatid']; + $Answer[$i]['dispatchtaxprovince'] = $myrow['dispatchtaxprovince']; + $Answer[$i]['taxrate'] = $myrow['taxrate']; + $i++; + } + $Errors[0]=0; + $Errors[1]=$Answer; + return $Errors; } - ?> \ No newline at end of file Modified: trunk/api/api_xml-rpc.php =================================================================== --- trunk/api/api_xml-rpc.php 2012-06-20 08:52:04 UTC (rev 5444) +++ trunk/api/api_xml-rpc.php 2012-06-21 19:36:19 UTC (rev 5445) @@ -1844,16 +1844,16 @@ $Parameter[1]['description'] = _('The weberp password associated with this user name. '); $ReturnValue[0] = _('This function returns an array of tax group IDs.'); -/*E*/$GetTaxgroupList_sig = array(array($xmlrpcStruct), +/*E*/$GetTaxGroupList_sig = array(array($xmlrpcStruct), /*x*/ array($xmlrpcStruct,$xmlrpcString,$xmlrpcString)); - $GetTaxgroupList_doc = apiBuildDocHTML( $Description,$Parameter,$ReturnValue ); + $GetTaxGroupList_doc = apiBuildDocHTML( $Description,$Parameter,$ReturnValue ); - function xmlrpc_GetTaxgroupList($xmlrpcmsg){ + function xmlrpc_GetTaxGroupList($xmlrpcmsg){ ob_start('ob_file_callback'); /*x*/ if ($xmlrpcmsg->getNumParams() == 2) { -/*x*/ $rtn = new xmlrpcresp( php_xmlrpc_encode(GetTaxgroupList($xmlrpcmsg->getParam( 0 )->scalarval( ), $xmlrpcmsg->getParam( 1 )->scalarval( ))) ); +/*x*/ $rtn = new xmlrpcresp( php_xmlrpc_encode(GetTaxGroupList($xmlrpcmsg->getParam( 0 )->scalarval( ), $xmlrpcmsg->getParam( 1 )->scalarval( ))) ); /*x*/ } else { -/*e*/ $rtn = new xmlrpcresp( php_xmlrpc_encode(GetTaxgroupList( '', ''))); +/*e*/ $rtn = new xmlrpcresp( php_xmlrpc_encode(GetTaxGroupList( '', ''))); /*x*/ } ob_end_flush(); return $rtn; @@ -1873,18 +1873,18 @@ $Parameter[2]['description'] = _('The weberp password associated with this user name. '); $ReturnValue[0] = _('This function returns an array of tax group details.'); -/*E*/$GetTaxgroupDetails_sig = array(array($xmlrpcStruct,$xmlrpcString), +/*E*/$GetTaxGroupDetails_sig = array(array($xmlrpcStruct,$xmlrpcString), /*x*/ array($xmlrpcStruct,$xmlrpcString,$xmlrpcString,$xmlrpcString)); - $GetTaxgroupDetails_doc = apiBuildDocHTML( $Description,$Parameter,$ReturnValue ); + $GetTaxGroupDetails_doc = apiBuildDocHTML( $Description,$Parameter,$ReturnValue ); - function xmlrpc_GetTaxgroupDetails($xmlrpcmsg){ + function xmlrpc_GetTaxGroupDetails($xmlrpcmsg){ ob_start('ob_file_callback'); /*x*/ if ($xmlrpcmsg->getNumParams() == 3) { -/*x*/ $rtn = new xmlrpcresp( php_xmlrpc_encode(GetTaxgroupDetails($xmlrpcmsg->getParam( 0 )->scalarval( ), +/*x*/ $rtn = new xmlrpcresp( php_xmlrpc_encode(GetTaxGroupDetails($xmlrpcmsg->getParam( 0 )->scalarval( ), /*x*/ $xmlrpcmsg->getParam( 1 )->scalarval( ), /*x*/ $xmlrpcmsg->getParam( 2 )->scalarval( ))) ); /*x*/ } else { -/*e*/ $rtn = new xmlrpcresp( php_xmlrpc_encode(GetTaxgroupDetails($xmlrpcmsg->getParam( 0 )->scalarval( ), '', ''))); +/*e*/ $rtn = new xmlrpcresp( php_xmlrpc_encode(GetTaxGroupDetails($xmlrpcmsg->getParam( 0 )->scalarval( ), '', ''))); /*x*/ } ob_end_flush(); return $rtn; @@ -1932,7 +1932,7 @@ function xmlrpc_GetTaxAuthorityDetails($xmlrpcmsg){ ob_start('ob_file_callback'); /*x*/ if ($xmlrpcmsg->getNumParams() == 3) { -/*x*/ $rtn = new xmlrpcresp( php_xmlrpc_encode(GetTaxAuthorityDetails($xmlrpcmsg->getParam( 0 )->scalarval( ), $xmlrpcmsg->getParam( 1 )->scalarval( ), $xmlrpcmsg->getParam( 2 )->scalarval( ))) ); +/*x*/ $rtn = new xmlrpcresp( php_xmlrpc_encode(GetTaxAuthorityDetails($xmlrpcmsg->getParam( 0 )->scalarval( ), $xmlrpcmsg->getParam( 1 )->scalarval( ), $xmlrpcmsg->getParam( 2 )->scalarval( ))) ); /*x*/ } else { /*e*/ $rtn = new xmlrpcresp( php_xmlrpc_encode(GetTaxAuthorityDetails($xmlrpcmsg->getParam( 0 )->scalarval( ), '', ''))); /*x*/ } @@ -3240,18 +3240,14 @@ "function" => "xmlrpc_InsertSalesman", "signature" => $InsertSalesman_sig, "docstring" => $InsertSalesman_doc), - "weberp.xmlrpc_GetTaxgroupList" => array( - "function" => "xmlrpc_GetTaxgroupList", - "signature" => $GetTaxgroupList_sig, - "docstring" => $GetTaxgroupList_doc), - "weberp.xmlrpc_GetTaxCategoryList" => array( - "function" => "xmlrpc_GetTaxCategoryList", - "signature" => $GetTaxCategoryList_sig, - "docstring" => $GetTaxCategoryList_doc), - "weberp.xmlrpc_GetTaxgroupDetails" => array( - "function" => "xmlrpc_GetTaxgroupDetails", - "signature" => $GetTaxgroupDetails_sig, - "docstring" => $GetTaxgroupDetails_doc), + "weberp.xmlrpc_GetTaxGroupList" => array( + "function" => "xmlrpc_GetTaxGroupList", + "signature" => $GetTaxGroupList_sig, + "docstring" => $GetTaxGroupList_doc), + "weberp.xmlrpc_GetTaxGroupDetails" => array( + "function" => "xmlrpc_GetTaxGroupDetails", + "signature" => $GetTaxGroupDetails_sig, + "docstring" => $GetTaxGroupDetails_doc), "weberp.xmlrpc_GetTaxGroupTaxes" => array( "function" => "xmlrpc_GetTaxGroupTaxes", "signature" => $GetTaxGroupTaxes_sig, @@ -3264,10 +3260,10 @@ "function" => "xmlrpc_GetTaxAuthorityDetails", "signature" => $GetTaxAuthorityDetails_sig, "docstring" => $GetTaxAuthorityDetails_doc), - "weberp.xmlrpc_GetTaxAuthorityRate" => array( - "function" => "xmlrpc_GetTaxAuthorityRate", - "signature" => $GetTaxAuthorityRate_sig, - "docstring" => $GetTaxAuthorityRate_doc), + "weberp.xmlrpc_GetTaxAuthorityRates" => array( + "function" => "xmlrpc_GetTaxAuthorityRates", + "signature" => $GetTaxAuthorityRates_sig, + "docstring" => $GetTaxAuthorityRates_doc), "weberp.xmlrpc_GetCustomerTypeList" => array( "function" => "xmlrpc_GetCustomerTypeList", "signature" => $GetCustomerTypeList_sig, @@ -3409,4 +3405,4 @@ return $doc; } -?> +?> \ No newline at end of file Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2012-06-20 08:52:04 UTC (rev 5444) +++ trunk/doc/Change.log 2012-06-21 19:36:19 UTC (rev 5445) @@ -1,4 +1,6 @@ webERP Change Log + +21/06/2012 Phil: Added tooltip of long description to SelectProduct.php 20/06/2012 Ricard: Added total QOH to NoSalesItems.php. 20/06/2012 Ricard: Added opposite currency pair graph to ExchangeRateTrend.php. 19/06/2012 Ricard: Added new script Z_ChangeLocationCode. Modified: trunk/doc/Manual/ManualContributors.html =================================================================== --- trunk/doc/Manual/ManualContributors.html 2012-06-20 08:52:04 UTC (rev 5444) +++ trunk/doc/Manual/ManualContributors.html 2012-06-21 19:36:19 UTC (rev 5445) @@ -13,6 +13,8 @@ <br /><br /> Shane Barnaby <br /><br /> +Klaus Beucher +<br /><br /> Chris Bice <br /><br /> Danie Brink @@ -33,10 +35,14 @@ <br /><br /> Edd Dumbill (phpxmlrpc) <br /><br /> +Ahmed Fawzy +<br /><br /> Tom Fox <br /><br /> Braian Gomez <br /><br /> +Paul Harness +<br /><br /> Lindsay Harris <br /><br /> David Hawke @@ -45,6 +51,8 @@ <br /><br /> High-Tech Bridge SA Security Research Lab <br /><br /> +Tomáš Horáček (barcodepack) +<br /><br /> Hindra Joshua <br /><br /> Alan Jones @@ -53,6 +61,8 @@ <br /><br /> Nico Kaiser (php-gettext) <br /><br /> +CQZ,KE +<br /><br /> Mo Kelly - due dates and customer po by sales order line <br /><br /> Meraj Khattak - database diagram @@ -83,6 +93,8 @@ <br /><br /> Afan Ottenheimer (phplot) <br /><br /> +Kunshan-Ouhai +<br /><br /> Ricardo Pedroso <br /><br /> Jesse Peterson @@ -136,12 +148,16 @@ <td valign="top"> <b>Translation </b> <br /><br /> +Billy Chang,劉世琪 - Taiwanese +<br /><br /> Csillag Péter Hungarian <br /><br /> Danu Satrio Pratomo Djojosoemarto and his cousin - Indonesian <br /><br /> Janusz Dobrowolski - Polish <br /><br /> +James Dupin - French +<br /><br /> Matt Elbrecht - Estonian <br /><br /> Igor Felix - Portuguese Brazilian Modified: trunk/includes/MiscFunctions.php =================================================================== --- trunk/includes/MiscFunctions.php 2012-06-20 08:52:04 UTC (rev 5444) +++ trunk/includes/MiscFunctions.php 2012-06-21 19:36:19 UTC (rev 5445) @@ -160,8 +160,12 @@ if ($tag['type'] == 'complete' OR $tag['type'] == 'open') { $elements[$index] = new XmlElement; $elements[$index]->name = $tag['tag']; - $elements[$index]->attributes = $tag['attributes']; - $elements[$index]->content = $tag['value']; + if (isset($tag['attributes'])){ + $elements[$index]->attributes = $tag['attributes']; + } + if (isset($tag['value'])){ + $elements[$index]->content = $tag['value']; + } if ($tag['type'] == 'open') { // push $elements[$index]->children = array(); $stack[count($stack)] = &$elements; Modified: trunk/sql/mysql/weberp-demo.sql =================================================================== --- trunk/sql/mysql/weberp-demo.sql 2012-06-20 08:52:04 UTC (rev 5444) +++ trunk/sql/mysql/weberp-demo.sql 2012-06-21 19:36:19 UTC (rev 5445) @@ -17,8 +17,6 @@ -- Table structure for table `accountgroups` -- -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; CREATE TABLE `accountgroups` ( `groupname` char(30) NOT NULL DEFAULT '', `sectioninaccounts` int(11) NOT NULL DEFAULT '0', This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dai...@us...> - 2012-06-21 19:36:27
|
Revision: 5445 http://web-erp.svn.sourceforge.net/web-erp/?rev=5445&view=rev Author: daintree Date: 2012-06-21 19:36:19 +0000 (Thu, 21 Jun 2012) Log Message: ----------- tooltip of long description Modified Paths: -------------- trunk/SelectProduct.php trunk/TaxCategories.php trunk/api/api_stock.php trunk/api/api_taxgroups.php trunk/api/api_xml-rpc.php trunk/doc/Change.log trunk/doc/Manual/ManualContributors.html trunk/includes/MiscFunctions.php trunk/sql/mysql/weberp-demo.sql Modified: trunk/SelectProduct.php =================================================================== --- trunk/SelectProduct.php 2012-06-20 08:52:04 UTC (rev 5444) +++ trunk/SelectProduct.php 2012-06-21 19:36:19 UTC (rev 5445) @@ -560,6 +560,7 @@ if ($_POST['StockCat'] == 'All') { $SQL = "SELECT stockmaster.stockid, stockmaster.description, + stockmaster.longdescription, SUM(locstock.quantity) AS qoh, stockmaster.units, stockmaster.mbflag, @@ -573,6 +574,7 @@ AND stockmaster.description " . LIKE . " '$SearchString' GROUP BY stockmaster.stockid, stockmaster.description, + stockmaster.longdescription, stockmaster.units, stockmaster.mbflag, stockmaster.discontinued, @@ -581,6 +583,7 @@ } else { $SQL = "SELECT stockmaster.stockid, stockmaster.description, + stockmaster.longdescription, SUM(locstock.quantity) AS qoh, stockmaster.units, stockmaster.mbflag, @@ -593,6 +596,7 @@ AND categoryid='" . $_POST['StockCat'] . "' GROUP BY stockmaster.stockid, stockmaster.description, + stockmaster.longdescription, stockmaster.units, stockmaster.mbflag, stockmaster.discontinued, @@ -604,6 +608,7 @@ if ($_POST['StockCat'] == 'All') { $SQL = "SELECT stockmaster.stockid, stockmaster.description, + stockmaster.longdescription, stockmaster.mbflag, stockmaster.discontinued, SUM(locstock.quantity) AS qoh, @@ -617,6 +622,7 @@ AND stockmaster.stockid " . LIKE . " '%" . $_POST['StockCode'] . "%' GROUP BY stockmaster.stockid, stockmaster.description, + stockmaster.longdescription, stockmaster.units, stockmaster.mbflag, stockmaster.discontinued, @@ -625,6 +631,7 @@ } else { $SQL = "SELECT stockmaster.stockid, stockmaster.description, + stockmaster.longdescription, stockmaster.mbflag, stockmaster.discontinued, sum(locstock.quantity) as qoh, @@ -637,6 +644,7 @@ AND categoryid='" . $_POST['StockCat'] . "' GROUP BY stockmaster.stockid, stockmaster.description, + stockmaster.longdescription, stockmaster.units, stockmaster.mbflag, stockmaster.discontinued, @@ -647,6 +655,7 @@ if ($_POST['StockCat'] == 'All') { $SQL = "SELECT stockmaster.stockid, stockmaster.description, + stockmaster.longdescription, stockmaster.mbflag, stockmaster.discontinued, SUM(locstock.quantity) AS qoh, @@ -659,6 +668,7 @@ WHERE stockmaster.stockid=locstock.stockid GROUP BY stockmaster.stockid, stockmaster.description, + stockmaster.longdescription, stockmaster.units, stockmaster.mbflag, stockmaster.discontinued, @@ -667,6 +677,7 @@ } else { $SQL = "SELECT stockmaster.stockid, stockmaster.description, + stockmaster.longdescription, stockmaster.mbflag, stockmaster.discontinued, SUM(locstock.quantity) AS qoh, @@ -678,6 +689,7 @@ AND categoryid='" . $_POST['StockCat'] . "' GROUP BY stockmaster.stockid, stockmaster.description, + stockmaster.longdescription, stockmaster.units, stockmaster.mbflag, stockmaster.discontinued, @@ -773,7 +785,7 @@ } echo '<td><input type="submit" name="Select" value="' . $myrow['stockid'] . '" /></td> - <td>'.$myrow['description'].'</td> + <td title="'. $myrow['longdescription'] . '">' . $myrow['description'] . '</td> <td class="number">' . $qoh . '</td> <td>' . $myrow['units'] . '</td> <td>' . $ItemStatus . '</td> Modified: trunk/TaxCategories.php =================================================================== --- trunk/TaxCategories.php 2012-06-20 08:52:04 UTC (rev 5444) +++ trunk/TaxCategories.php 2012-06-21 19:36:19 UTC (rev 5445) @@ -121,9 +121,9 @@ // This is probably the safest way there is prnMsg( _('Cannot delete this tax category because it no longer exists'),'warn'); } else { - $myrow = DB_fetch_row($result); - $OldTaxCategoryName = $myrow[0]; - $sql= "SELECT COUNT(*) FROM stockmaster WHERE taxcatid ".LIKE." '" . $OldTaxCategoryName . "'"; + $myrow = DB_fetch_array($result); + $TaxCatName = $myrow['taxcatname']; + $sql= "SELECT COUNT(*) FROM stockmaster WHERE taxcatid = '" . $SelectedTaxCategory . "'"; $result = DB_query($sql,$db); $myrow = DB_fetch_row($result); if ($myrow[0]>0) { @@ -134,7 +134,7 @@ $result = DB_query($sql,$db); $sql = "DELETE FROM taxcategories WHERE taxcatid = '" . $SelectedTaxCategory . "'"; $result = DB_query($sql,$db); - prnMsg( $OldTaxCategoryName . ' ' . _('tax category and any tax rates set for it have been deleted'),'success'); + prnMsg( $TaxCatName . ' ' . _('tax category and any tax rates set for it have been deleted'),'success'); } } //end if unset ($SelectedTaxCategory); Modified: trunk/api/api_stock.php =================================================================== --- trunk/api/api_stock.php 2012-06-20 08:52:04 UTC (rev 5444) +++ trunk/api/api_stock.php 2012-06-21 19:36:19 UTC (rev 5445) @@ -563,7 +563,7 @@ $sql="SELECT quantity, loccode FROM locstock WHERE stockid='" . $StockID."'"; - $result = DB_Query($sql, $db); + $result = DB_query($sql, $db); if (sizeof($Errors)==0) { $i=0; while ($myrow=DB_fetch_array($result)) { Modified: trunk/api/api_taxgroups.php =================================================================== --- trunk/api/api_taxgroups.php 2012-06-20 08:52:04 UTC (rev 5444) +++ trunk/api/api_taxgroups.php 2012-06-21 19:36:19 UTC (rev 5445) @@ -5,7 +5,7 @@ * currently setup on webERP */ - function GetTaxgroupList($user, $password) { + function GetTaxGroupList($user, $password) { $Errors = array(); $db = db($user, $password); if (gettype($db)=='integer') { @@ -27,7 +27,7 @@ * tax group. */ - function GetTaxgroupDetails($taxgroup, $user, $password) { + function GetTaxGroupDetails($taxgroup, $user, $password) { $Errors = array(); $db = db($user, $password); if (gettype($db)=='integer') { @@ -51,9 +51,20 @@ $Errors[0]=NoAuthorisation; return $Errors; } - $sql = "SELECT * FROM taxgrouptaxes WHERE taxgroupid='".$TaxGroup."'"; + $sql = "SELECT taxgroupid, taxauthid, calculationorder, taxontax FROM taxgrouptaxes WHERE taxgroupid='".$TaxGroup."'"; $result = DB_query($sql, $db); - return DB_fetch_array($result); + $i=0; + $Answer = array(); + while ($myrow=DB_fetch_array($result)){ + $Answer[$i]['taxgroupid'] = $myrow['taxgroupid']; + $Answer[$i]['taxauthid'] = $myrow['taxauthid']; + $Answer[$i]['calculationorder'] = $myrow['calculationorder']; + $Answer[$i]['taxontax'] = $myrow['taxontax']; + $i++; + } + $Errors[0]=0; + $Errors[1]=$Answer; + return $Errors; } /* This function returns a list of the tax authority ids @@ -90,20 +101,9 @@ } $sql = "SELECT * FROM taxauthorities WHERE taxid='".$TaxAuthority."'"; $result = DB_query($sql, $db); - $i=0; - while ($myrow=DB_fetch_array($result)){ - $Answer[$i]['taxcatid'] = $myrow['taxcatid']; - $Answer[$i]['dispatchtaxprovince'] = $myrow['dispatchtaxprovince']; - $Answer[$i]['taxrate'] = $myrow['taxrate']; - } - $Errors[0]=0; - $Errors[1]=$Answer; - return $Errors; + return DB_fetch_array($result); } - -/ - /* This function takes as a parameter a tax authority id and a tax category id * and returns an array containing the rate of tax for the selected * tax authority and tax category @@ -116,11 +116,19 @@ $Errors[0]=NoAuthorisation; return $Errors; } - $sql = "SELECT taxcatid, dispatchtaxprovince, taxrate FROM taxauthrates WHERE taxauthority='".$TaxAuthority."' AND taxcatid='" . $TaxCatID . "'"; + $sql = "SELECT taxcatid, dispatchtaxprovince, taxrate FROM taxauthrates WHERE taxauthority='".$TaxAuthority."'"; $result = DB_query($sql, $db); - $TaxRateRow = DB_fetch_row($result); - return $TaxRateRow[0]; + $i=0; + $Answer = array(); + while ($myrow=DB_fetch_array($result)){ + $Answer[$i]['taxcatid'] = $myrow['taxcatid']; + $Answer[$i]['dispatchtaxprovince'] = $myrow['dispatchtaxprovince']; + $Answer[$i]['taxrate'] = $myrow['taxrate']; + $i++; + } + $Errors[0]=0; + $Errors[1]=$Answer; + return $Errors; } - ?> \ No newline at end of file Modified: trunk/api/api_xml-rpc.php =================================================================== --- trunk/api/api_xml-rpc.php 2012-06-20 08:52:04 UTC (rev 5444) +++ trunk/api/api_xml-rpc.php 2012-06-21 19:36:19 UTC (rev 5445) @@ -1844,16 +1844,16 @@ $Parameter[1]['description'] = _('The weberp password associated with this user name. '); $ReturnValue[0] = _('This function returns an array of tax group IDs.'); -/*E*/$GetTaxgroupList_sig = array(array($xmlrpcStruct), +/*E*/$GetTaxGroupList_sig = array(array($xmlrpcStruct), /*x*/ array($xmlrpcStruct,$xmlrpcString,$xmlrpcString)); - $GetTaxgroupList_doc = apiBuildDocHTML( $Description,$Parameter,$ReturnValue ); + $GetTaxGroupList_doc = apiBuildDocHTML( $Description,$Parameter,$ReturnValue ); - function xmlrpc_GetTaxgroupList($xmlrpcmsg){ + function xmlrpc_GetTaxGroupList($xmlrpcmsg){ ob_start('ob_file_callback'); /*x*/ if ($xmlrpcmsg->getNumParams() == 2) { -/*x*/ $rtn = new xmlrpcresp( php_xmlrpc_encode(GetTaxgroupList($xmlrpcmsg->getParam( 0 )->scalarval( ), $xmlrpcmsg->getParam( 1 )->scalarval( ))) ); +/*x*/ $rtn = new xmlrpcresp( php_xmlrpc_encode(GetTaxGroupList($xmlrpcmsg->getParam( 0 )->scalarval( ), $xmlrpcmsg->getParam( 1 )->scalarval( ))) ); /*x*/ } else { -/*e*/ $rtn = new xmlrpcresp( php_xmlrpc_encode(GetTaxgroupList( '', ''))); +/*e*/ $rtn = new xmlrpcresp( php_xmlrpc_encode(GetTaxGroupList( '', ''))); /*x*/ } ob_end_flush(); return $rtn; @@ -1873,18 +1873,18 @@ $Parameter[2]['description'] = _('The weberp password associated with this user name. '); $ReturnValue[0] = _('This function returns an array of tax group details.'); -/*E*/$GetTaxgroupDetails_sig = array(array($xmlrpcStruct,$xmlrpcString), +/*E*/$GetTaxGroupDetails_sig = array(array($xmlrpcStruct,$xmlrpcString), /*x*/ array($xmlrpcStruct,$xmlrpcString,$xmlrpcString,$xmlrpcString)); - $GetTaxgroupDetails_doc = apiBuildDocHTML( $Description,$Parameter,$ReturnValue ); + $GetTaxGroupDetails_doc = apiBuildDocHTML( $Description,$Parameter,$ReturnValue ); - function xmlrpc_GetTaxgroupDetails($xmlrpcmsg){ + function xmlrpc_GetTaxGroupDetails($xmlrpcmsg){ ob_start('ob_file_callback'); /*x*/ if ($xmlrpcmsg->getNumParams() == 3) { -/*x*/ $rtn = new xmlrpcresp( php_xmlrpc_encode(GetTaxgroupDetails($xmlrpcmsg->getParam( 0 )->scalarval( ), +/*x*/ $rtn = new xmlrpcresp( php_xmlrpc_encode(GetTaxGroupDetails($xmlrpcmsg->getParam( 0 )->scalarval( ), /*x*/ $xmlrpcmsg->getParam( 1 )->scalarval( ), /*x*/ $xmlrpcmsg->getParam( 2 )->scalarval( ))) ); /*x*/ } else { -/*e*/ $rtn = new xmlrpcresp( php_xmlrpc_encode(GetTaxgroupDetails($xmlrpcmsg->getParam( 0 )->scalarval( ), '', ''))); +/*e*/ $rtn = new xmlrpcresp( php_xmlrpc_encode(GetTaxGroupDetails($xmlrpcmsg->getParam( 0 )->scalarval( ), '', ''))); /*x*/ } ob_end_flush(); return $rtn; @@ -1932,7 +1932,7 @@ function xmlrpc_GetTaxAuthorityDetails($xmlrpcmsg){ ob_start('ob_file_callback'); /*x*/ if ($xmlrpcmsg->getNumParams() == 3) { -/*x*/ $rtn = new xmlrpcresp( php_xmlrpc_encode(GetTaxAuthorityDetails($xmlrpcmsg->getParam( 0 )->scalarval( ), $xmlrpcmsg->getParam( 1 )->scalarval( ), $xmlrpcmsg->getParam( 2 )->scalarval( ))) ); +/*x*/ $rtn = new xmlrpcresp( php_xmlrpc_encode(GetTaxAuthorityDetails($xmlrpcmsg->getParam( 0 )->scalarval( ), $xmlrpcmsg->getParam( 1 )->scalarval( ), $xmlrpcmsg->getParam( 2 )->scalarval( ))) ); /*x*/ } else { /*e*/ $rtn = new xmlrpcresp( php_xmlrpc_encode(GetTaxAuthorityDetails($xmlrpcmsg->getParam( 0 )->scalarval( ), '', ''))); /*x*/ } @@ -3240,18 +3240,14 @@ "function" => "xmlrpc_InsertSalesman", "signature" => $InsertSalesman_sig, "docstring" => $InsertSalesman_doc), - "weberp.xmlrpc_GetTaxgroupList" => array( - "function" => "xmlrpc_GetTaxgroupList", - "signature" => $GetTaxgroupList_sig, - "docstring" => $GetTaxgroupList_doc), - "weberp.xmlrpc_GetTaxCategoryList" => array( - "function" => "xmlrpc_GetTaxCategoryList", - "signature" => $GetTaxCategoryList_sig, - "docstring" => $GetTaxCategoryList_doc), - "weberp.xmlrpc_GetTaxgroupDetails" => array( - "function" => "xmlrpc_GetTaxgroupDetails", - "signature" => $GetTaxgroupDetails_sig, - "docstring" => $GetTaxgroupDetails_doc), + "weberp.xmlrpc_GetTaxGroupList" => array( + "function" => "xmlrpc_GetTaxGroupList", + "signature" => $GetTaxGroupList_sig, + "docstring" => $GetTaxGroupList_doc), + "weberp.xmlrpc_GetTaxGroupDetails" => array( + "function" => "xmlrpc_GetTaxGroupDetails", + "signature" => $GetTaxGroupDetails_sig, + "docstring" => $GetTaxGroupDetails_doc), "weberp.xmlrpc_GetTaxGroupTaxes" => array( "function" => "xmlrpc_GetTaxGroupTaxes", "signature" => $GetTaxGroupTaxes_sig, @@ -3264,10 +3260,10 @@ "function" => "xmlrpc_GetTaxAuthorityDetails", "signature" => $GetTaxAuthorityDetails_sig, "docstring" => $GetTaxAuthorityDetails_doc), - "weberp.xmlrpc_GetTaxAuthorityRate" => array( - "function" => "xmlrpc_GetTaxAuthorityRate", - "signature" => $GetTaxAuthorityRate_sig, - "docstring" => $GetTaxAuthorityRate_doc), + "weberp.xmlrpc_GetTaxAuthorityRates" => array( + "function" => "xmlrpc_GetTaxAuthorityRates", + "signature" => $GetTaxAuthorityRates_sig, + "docstring" => $GetTaxAuthorityRates_doc), "weberp.xmlrpc_GetCustomerTypeList" => array( "function" => "xmlrpc_GetCustomerTypeList", "signature" => $GetCustomerTypeList_sig, @@ -3409,4 +3405,4 @@ return $doc; } -?> +?> \ No newline at end of file Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2012-06-20 08:52:04 UTC (rev 5444) +++ trunk/doc/Change.log 2012-06-21 19:36:19 UTC (rev 5445) @@ -1,4 +1,6 @@ webERP Change Log + +21/06/2012 Phil: Added tooltip of long description to SelectProduct.php 20/06/2012 Ricard: Added total QOH to NoSalesItems.php. 20/06/2012 Ricard: Added opposite currency pair graph to ExchangeRateTrend.php. 19/06/2012 Ricard: Added new script Z_ChangeLocationCode. Modified: trunk/doc/Manual/ManualContributors.html =================================================================== --- trunk/doc/Manual/ManualContributors.html 2012-06-20 08:52:04 UTC (rev 5444) +++ trunk/doc/Manual/ManualContributors.html 2012-06-21 19:36:19 UTC (rev 5445) @@ -13,6 +13,8 @@ <br /><br /> Shane Barnaby <br /><br /> +Klaus Beucher +<br /><br /> Chris Bice <br /><br /> Danie Brink @@ -33,10 +35,14 @@ <br /><br /> Edd Dumbill (phpxmlrpc) <br /><br /> +Ahmed Fawzy +<br /><br /> Tom Fox <br /><br /> Braian Gomez <br /><br /> +Paul Harness +<br /><br /> Lindsay Harris <br /><br /> David Hawke @@ -45,6 +51,8 @@ <br /><br /> High-Tech Bridge SA Security Research Lab <br /><br /> +Tomáš Horáček (barcodepack) +<br /><br /> Hindra Joshua <br /><br /> Alan Jones @@ -53,6 +61,8 @@ <br /><br /> Nico Kaiser (php-gettext) <br /><br /> +CQZ,KE +<br /><br /> Mo Kelly - due dates and customer po by sales order line <br /><br /> Meraj Khattak - database diagram @@ -83,6 +93,8 @@ <br /><br /> Afan Ottenheimer (phplot) <br /><br /> +Kunshan-Ouhai +<br /><br /> Ricardo Pedroso <br /><br /> Jesse Peterson @@ -136,12 +148,16 @@ <td valign="top"> <b>Translation </b> <br /><br /> +Billy Chang,劉世琪 - Taiwanese +<br /><br /> Csillag Péter Hungarian <br /><br /> Danu Satrio Pratomo Djojosoemarto and his cousin - Indonesian <br /><br /> Janusz Dobrowolski - Polish <br /><br /> +James Dupin - French +<br /><br /> Matt Elbrecht - Estonian <br /><br /> Igor Felix - Portuguese Brazilian Modified: trunk/includes/MiscFunctions.php =================================================================== --- trunk/includes/MiscFunctions.php 2012-06-20 08:52:04 UTC (rev 5444) +++ trunk/includes/MiscFunctions.php 2012-06-21 19:36:19 UTC (rev 5445) @@ -160,8 +160,12 @@ if ($tag['type'] == 'complete' OR $tag['type'] == 'open') { $elements[$index] = new XmlElement; $elements[$index]->name = $tag['tag']; - $elements[$index]->attributes = $tag['attributes']; - $elements[$index]->content = $tag['value']; + if (isset($tag['attributes'])){ + $elements[$index]->attributes = $tag['attributes']; + } + if (isset($tag['value'])){ + $elements[$index]->content = $tag['value']; + } if ($tag['type'] == 'open') { // push $elements[$index]->children = array(); $stack[count($stack)] = &$elements; Modified: trunk/sql/mysql/weberp-demo.sql =================================================================== --- trunk/sql/mysql/weberp-demo.sql 2012-06-20 08:52:04 UTC (rev 5444) +++ trunk/sql/mysql/weberp-demo.sql 2012-06-21 19:36:19 UTC (rev 5445) @@ -17,8 +17,6 @@ -- Table structure for table `accountgroups` -- -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; CREATE TABLE `accountgroups` ( `groupname` char(30) NOT NULL DEFAULT '', `sectioninaccounts` int(11) NOT NULL DEFAULT '0', This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dai...@us...> - 2012-06-23 08:48:57
|
Revision: 5446 http://web-erp.svn.sourceforge.net/web-erp/?rev=5446&view=rev Author: daintree Date: 2012-06-23 08:48:47 +0000 (Sat, 23 Jun 2012) Log Message: ----------- icedlava changes Modified Paths: -------------- trunk/AccountSections.php trunk/doc/Change.log Modified: trunk/AccountSections.php =================================================================== --- trunk/AccountSections.php 2012-06-21 19:36:19 UTC (rev 5445) +++ trunk/AccountSections.php 2012-06-23 08:48:47 UTC (rev 5446) @@ -14,7 +14,7 @@ if( DB_num_rows($result) == 0 ) { $sql = "INSERT INTO accountsection (sectionid, - sectionname) + sectionname) VALUES (1, 'Income')"; $result = DB_query($sql,$db); @@ -25,7 +25,7 @@ if( DB_num_rows($result) == 0 ) { $sql = "INSERT INTO accountsection (sectionid, - sectionname) + sectionname) VALUES (2, 'Cost Of Sales')"; $result = DB_query($sql,$db); @@ -93,7 +93,7 @@ /*SelectedSectionID could also exist if submit had not been clicked this code would not run in this case cos submit is false of course see the delete code below*/ $sql = "UPDATE accountsection SET sectionname='" . $_POST['SectionName'] . "' - WHERE sectionid = " . $_POST['SelectedSectionID']; + WHERE sectionid = '" . $_POST['SelectedSectionID'] . "'"; $msg = _('Record Updated'); } elseif ($InputError !=1) { @@ -104,7 +104,7 @@ sectionname ) VALUES ( " . $_POST['SectionID'] . ", - '" . $_POST['SectionName'] .")"; + '" . $_POST['SectionName'] ."')"; $msg = _('Record inserted'); } @@ -255,8 +255,11 @@ <td><input tabindex="2" ' . (in_array('SectionName',$Errors) ? 'class="inputerror"' : '' ) .' type="text" name="SectionName" size="30" maxlength="30" value="' . $_POST['SectionName'] . '" /></td> </tr>'; - echo '<tr><td colspan="2"><div class="centre"><input tabindex="3" type="submit" name="submit" value="' . _('Enter Information') . '" /></div></td></tr>'; - echo '</table><br />'; + echo '<tr> + <td colspan="2"><div class="centre"><input tabindex="3" type="submit" name="submit" value="' . _('Enter Information') . '" /></div></td> + </tr> + </table> + <br />'; if (!isset($_GET['SelectedSectionID']) or $_GET['SelectedSectionID']=='') { echo '<script type="text/javascript">defaultControl(document.AccountSections.SectionID);</script>'; Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2012-06-21 19:36:19 UTC (rev 5445) +++ trunk/doc/Change.log 2012-06-23 08:48:47 UTC (rev 5446) @@ -1,10 +1,11 @@ webERP Change Log +22/06/2012 Icedlava: Fixed bug preventing insert of new account section 21/06/2012 Phil: Added tooltip of long description to SelectProduct.php -20/06/2012 Ricard: Added total QOH to NoSalesItems.php. -20/06/2012 Ricard: Added opposite currency pair graph to ExchangeRateTrend.php. -19/06/2012 Ricard: Added new script Z_ChangeLocationCode. -17/06/2012 Ricard: Added a 2nd strategy for StockDispatch (items with overstock at FROM, RL=0 no matter if needed at TO). +20/06/2012 Ricard: Added total QOH to NoSalesItems.php. +20/06/2012 Ricard: Added opposite currency pair graph to ExchangeRateTrend.php. +19/06/2012 Ricard: Added new script Z_ChangeLocationCode. +17/06/2012 Ricard: Added a 2nd strategy for StockDispatch (items with overstock at FROM, RL=0 no matter if needed at TO). 15/6/12 Release 4.08 @@ -13,20 +14,20 @@ 28/5/2012 Phil: Configure xmlrpc api to work correctly with utf-8 character encoding. 26/5/2012 Phil: Fix barcode printing on PDFPrintLabel.php - barcode functionality is unreliable so used (http://www.barcodepack.com) by Tomáš Horáček very simple and clean 23/5/2012 Klaus: PO_PDFPurchOrders.php print purchase orders with supplier's code where it is available in the purchasing data -23/5/2012 Exson: Revise GLAccounts.php to make more than 10 digits account code is allowed. +23/5/2012 Exson: Revise GLAccounts.php to make more than 10 digits account code is allowed. 2012/05/22 Exson: Modify accountcode to varchar(20) to meet some countries accounting regulation for more digits account code. 22/5/2012 Phil Klaus's spot - removed issue location (must always be the same as the manufacture location) and the issued date from WorkOrderStatus.php form - as materials could be issued on many different dates and incorrect to say they are always issued on the current date 20/5/2012 Klaus Beucher (Opto): move leadtime calculation into levelnetting function and resolve bug which does not use leadtime for highest level items of a BOM see also http://www.weberp.org/forum/showthread.php?tid=203 18/5/2012 Ahmed: Fixed bugs that the offer cannot store more than one item and remove function does not work in SupplierTenders.php and DefineOfferClass.php 18/5/2012 Ahmed.Fawzy: Fixed Branch code validation rule to rule out '-' in CustomerBranches.php. -14/5/2012 Exson: Fixed bug that when users input a Exchang Rate manually, when ones changed minds and select another currency, it'll not show the suggested rate correctly in Payments.php. +14/5/2012 Exson: Fixed bug that when users input a Exchang Rate manually, when ones changed minds and select another currency, it'll not show the suggested rate correctly in Payments.php. 14/5/2012 Exson: Fixed when user change the currency, the suggested rate can not changed accordingly in CustomerReceipt.php. Reported by Ahmed.Fawzy. 14/5/2012 Ahmed.Fawzy: Fixed bugs that ExchangRateText be applied with locale_number_format() function in CustomerReceipt.php -10/5/2012 Exson: Fixed bug that Date selection does not work in ReverseGRN.php. Add GRN batch column. +10/5/2012 Exson: Fixed bug that Date selection does not work in ReverseGRN.php. Add GRN batch column. 9/5/2012 Ahmed.Fawzy: Fixed bugs in Stocks.php that the properties for new items cannot be saved. Checked status is not kept and numeric values between max and min are not validated. -8/5/2012 Exson: Fixed typo in SalesCategories.php which leads to the jpg pictures do not appear. +8/5/2012 Exson: Fixed typo in SalesCategories.php which leads to the jpg pictures do not appear. 8/05/2012 Exson Fix typo and add 'L' type for selection in SelectOrderItems.php. -8/05/2012 Exson: Fixed the bug of Credit_Invoice.php the total will be doubled when use Update button. The bug is introduced for a fix of directly proceed the Credit. Reported by PakRichard. +8/05/2012 Exson: Fixed the bug of Credit_Invoice.php the total will be doubled when use Update button. The bug is introduced for a fix of directly proceed the Credit. Reported by PakRichard. 6/5/12 Phil: PaymentMethods.php added open cash drawer field for my POS. 4/5/12 Phil: Labels.php PDFPrintLabel.php fine tuning of new labels code 4/5/12 Phil: Fixed customer type name displayed when it is successfully deleted as reported by James Dupin @@ -34,23 +35,23 @@ 4/5/12 Phil: Allow SelectOrderItems.php to select labour type items 4/5/12 Phil: updated tcpdf to 5.9.160 4/5/12 Phil: Default lastcostupdate to 0000-00-00 to avoid issues inserting new items. -1/5/12 MTPubRadio: Measurement unit in FormDesigner.php should be points instead of millimeters. -1/5/12 MTPubRadio: Fixed Purch Order PDF file text of Order Total- Excl tax does not align with amount horizontally. +1/5/12 MTPubRadio: Measurement unit in FormDesigner.php should be points instead of millimeters. +1/5/12 MTPubRadio: Fixed Purch Order PDF file text of Order Total- Excl tax does not align with amount horizontally. 29/4/12 Opto/Klaus: SelectWorkOrder.php added start date for the work order to the work orders displayed for selection 29/4/12 David Short: Added EDISendInvoices_Reece.php to send Reece format EDI invoices - approved by Reece (Australian Plumbing retailer) 28/4/2012 Exson: Fixed bugs in MRPCalendar.php which caused working days cannot be calculated correctly. 06/4/2012 Exson: Fixed PO header that does not display user's default warehous when iusse a new PO in PO_Header.php. 25/4/12 Phil: Complete rewrite of PDFPrintLabels.php and Labels.php in webERP style - half the code and maintainable with templates stored with all the other data in the database. The new labels also allow fields to be printed as barcodes too. 24/4/2012 Phil: fix CopyBOM.php that was insering a blank stockid into stockmaster as reported by Ricard -21/04/2012 Vitaly: Editable item description in PO. +21/04/2012 Vitaly: Editable item description in PO. 16/04/2012 Vitaly: Added option to display only items that are currently on purchase order in StockLocStatus.php 16/04/2012 Vitaly: Fixed Days textbox where it did not remember entered value. 16/04/2012 Ricard: ReorderLevelLocation.php only showing items not discontinued (current). 14/04/2012 Ricard: Adding stock category as filter for selection in TopItems.php 12/4/2012 TurboPT: Replaced table row bgcolor [or style=background-color] with the appropriate css class. -11/4/2012 Ricard: Code simplified on TopItems.php -7/4/2012 TurboPT: Remove invalid attribute colspan found within table tag elements. -5/4/2012 Exson: Fixed order delivery comments overlapped with Shipper in Packing slip of PDFOrderPageHeader_generic.inc Reported by CQZ from webERP Chinese Community QQ group +11/4/2012 Ricard: Code simplified on TopItems.php +7/4/2012 TurboPT: Remove invalid attribute colspan found within table tag elements. +5/4/2012 Exson: Fixed order delivery comments overlapped with Shipper in Packing slip of PDFOrderPageHeader_generic.inc Reported by CQZ from webERP Chinese Community QQ group 3/4/2012 Vitaly: Cleaned up Petty Cash module. Fixed several errors in SQL INSERT statements. 3/4/2012 Exson: Fixed typo in PurchData.php. 3/4/2012 Tim: fixed Supplier Code and Supplier part code inconsistent with database field length definition in PurchData.php. Reported by rfthomas. @@ -59,7 +60,7 @@ 2/4/2012 Exson: fixed CopyBOM.php sql errors and header already sent error. 31/3/2012 Exson: Fixed for PcAuthorizeExpenses.php cannot authorized expenses due to no applying gettext function to 'Update' 31/3/2012: PakRichard: Fixed problem that on PCAssignCashToTab.php it should be used the decimal places of the currency of the tab, not the decimal places of the functional currency.The same in PcClaimExpensesFromTab.php -31/3/2012 Kunshan-Ouhai?G Fixed bug in PDFStockCheckComparision.php when selecting Report and Close the Inventory Comparison, there will be seriously sql errors. Reported and fixed by Kunshan-Ouhai from webERP Chinese community QQ group. +31/3/2012 Kunshan-Ouhai?G Fixed bug in PDFStockCheckComparision.php when selecting Report and Close the Inventory Comparison, there will be seriously sql errors. Reported and fixed by Kunshan-Ouhai from webERP Chinese community QQ group. 31/3/2012 Dafydd Crosby: Revise scripts Add_SerialItemsOut.php and OutputSerialItems.php fixes a problem that occurs when receiving a bulk inventory transfer. There was a hard-coded loop that prevented adding bundles that were greater than 10. 30/3/2012 Richard Andreu Modified security role to order by role name instead of by roleid to make it more user friendly in WWW_Access.php and WWW_Users.php 29/3/2012Exson:Fixed href typo error which lead to Select another location link does not work in InternalStockRequestFulfill.php @@ -72,7 +73,7 @@ 23/3/2012 Exson: Fixed accounting period displayed abnormal in simplified Chinese language in Win OS. Reported by CQZ from webERP Chinese community QQ group. 22/3/2012 Exson: Fixed no control of accumulated quantity of the same item during transferring which lead to negative quantity of stock in StockLocTransfer.php reported by Rong. 22/3/2012 Exson: Fixed time displayed incorrectly in footer in Win OS since the strftime() encoding is not UTF-8. Reported by CQZ and KE in webERP Chinese Community QQ group. -22/3/2012 Exson: Fixed period displayed incorrectly in GL inquiry in Win OS since the strftime() encoding is not UTF-8. Reported by CQZ and KE in webERP Chinese Community QQ group. +22/3/2012 Exson: Fixed period displayed incorrectly in GL inquiry in Win OS since the strftime() encoding is not UTF-8. Reported by CQZ and KE in webERP Chinese Community QQ group. 21/03/2012 CQZ,KE: (From webERP chinese community QQ Group) Fixed the csv file cannot display UTF-8 characters correctly in Excel. 20/03/2012 Exson: Fixed Multi currency payment exchange rate errors in Payments.php. Reported by PakRichard 20/3/2012 Exson: Fixed bugs that users push Process Credit button in Credit_Invoice.php directly without update will lead to unbalance Journal entry. Reported by Russ @@ -100,7 +101,7 @@ 26/02/2012 Exson: PO_Items.php Add $_SESSION and $_POST variables to fixed extra lines added while page refreshing or push F5. Reported by CQZ and Ke from webERP Chinese forum QQ group. 25/2/12 Vitaly: sql in PDFSuppTransListing.php would not fetch any data and debug message was not showing. Missing FROM in upgrade4.07-4.08.sql. -25/2/12 James Dupin: Remove extra ) after Create GL entries for stock transactions in CompanyPreferences.php +25/2/12 James Dupin: Remove extra ) after Create GL entries for stock transactions in CompanyPreferences.php 23/2/12 Ricard: Moved Utility scripts from Z_index.php to their own module named Utilities 22/2/12 Phil: Make daily sales inquiry work correctly with assembly items where costs are recalculated in the case of negatives stock when supplier invoices entered 22/2/12 James Dupin: Update to French translation This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dai...@us...> - 2012-06-23 08:48:59
|
Revision: 5446 http://web-erp.svn.sourceforge.net/web-erp/?rev=5446&view=rev Author: daintree Date: 2012-06-23 08:48:47 +0000 (Sat, 23 Jun 2012) Log Message: ----------- icedlava changes Modified Paths: -------------- trunk/AccountSections.php trunk/doc/Change.log Modified: trunk/AccountSections.php =================================================================== --- trunk/AccountSections.php 2012-06-21 19:36:19 UTC (rev 5445) +++ trunk/AccountSections.php 2012-06-23 08:48:47 UTC (rev 5446) @@ -14,7 +14,7 @@ if( DB_num_rows($result) == 0 ) { $sql = "INSERT INTO accountsection (sectionid, - sectionname) + sectionname) VALUES (1, 'Income')"; $result = DB_query($sql,$db); @@ -25,7 +25,7 @@ if( DB_num_rows($result) == 0 ) { $sql = "INSERT INTO accountsection (sectionid, - sectionname) + sectionname) VALUES (2, 'Cost Of Sales')"; $result = DB_query($sql,$db); @@ -93,7 +93,7 @@ /*SelectedSectionID could also exist if submit had not been clicked this code would not run in this case cos submit is false of course see the delete code below*/ $sql = "UPDATE accountsection SET sectionname='" . $_POST['SectionName'] . "' - WHERE sectionid = " . $_POST['SelectedSectionID']; + WHERE sectionid = '" . $_POST['SelectedSectionID'] . "'"; $msg = _('Record Updated'); } elseif ($InputError !=1) { @@ -104,7 +104,7 @@ sectionname ) VALUES ( " . $_POST['SectionID'] . ", - '" . $_POST['SectionName'] .")"; + '" . $_POST['SectionName'] ."')"; $msg = _('Record inserted'); } @@ -255,8 +255,11 @@ <td><input tabindex="2" ' . (in_array('SectionName',$Errors) ? 'class="inputerror"' : '' ) .' type="text" name="SectionName" size="30" maxlength="30" value="' . $_POST['SectionName'] . '" /></td> </tr>'; - echo '<tr><td colspan="2"><div class="centre"><input tabindex="3" type="submit" name="submit" value="' . _('Enter Information') . '" /></div></td></tr>'; - echo '</table><br />'; + echo '<tr> + <td colspan="2"><div class="centre"><input tabindex="3" type="submit" name="submit" value="' . _('Enter Information') . '" /></div></td> + </tr> + </table> + <br />'; if (!isset($_GET['SelectedSectionID']) or $_GET['SelectedSectionID']=='') { echo '<script type="text/javascript">defaultControl(document.AccountSections.SectionID);</script>'; Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2012-06-21 19:36:19 UTC (rev 5445) +++ trunk/doc/Change.log 2012-06-23 08:48:47 UTC (rev 5446) @@ -1,10 +1,11 @@ webERP Change Log +22/06/2012 Icedlava: Fixed bug preventing insert of new account section 21/06/2012 Phil: Added tooltip of long description to SelectProduct.php -20/06/2012 Ricard: Added total QOH to NoSalesItems.php. -20/06/2012 Ricard: Added opposite currency pair graph to ExchangeRateTrend.php. -19/06/2012 Ricard: Added new script Z_ChangeLocationCode. -17/06/2012 Ricard: Added a 2nd strategy for StockDispatch (items with overstock at FROM, RL=0 no matter if needed at TO). +20/06/2012 Ricard: Added total QOH to NoSalesItems.php. +20/06/2012 Ricard: Added opposite currency pair graph to ExchangeRateTrend.php. +19/06/2012 Ricard: Added new script Z_ChangeLocationCode. +17/06/2012 Ricard: Added a 2nd strategy for StockDispatch (items with overstock at FROM, RL=0 no matter if needed at TO). 15/6/12 Release 4.08 @@ -13,20 +14,20 @@ 28/5/2012 Phil: Configure xmlrpc api to work correctly with utf-8 character encoding. 26/5/2012 Phil: Fix barcode printing on PDFPrintLabel.php - barcode functionality is unreliable so used (http://www.barcodepack.com) by Tomáš Horáček very simple and clean 23/5/2012 Klaus: PO_PDFPurchOrders.php print purchase orders with supplier's code where it is available in the purchasing data -23/5/2012 Exson: Revise GLAccounts.php to make more than 10 digits account code is allowed. +23/5/2012 Exson: Revise GLAccounts.php to make more than 10 digits account code is allowed. 2012/05/22 Exson: Modify accountcode to varchar(20) to meet some countries accounting regulation for more digits account code. 22/5/2012 Phil Klaus's spot - removed issue location (must always be the same as the manufacture location) and the issued date from WorkOrderStatus.php form - as materials could be issued on many different dates and incorrect to say they are always issued on the current date 20/5/2012 Klaus Beucher (Opto): move leadtime calculation into levelnetting function and resolve bug which does not use leadtime for highest level items of a BOM see also http://www.weberp.org/forum/showthread.php?tid=203 18/5/2012 Ahmed: Fixed bugs that the offer cannot store more than one item and remove function does not work in SupplierTenders.php and DefineOfferClass.php 18/5/2012 Ahmed.Fawzy: Fixed Branch code validation rule to rule out '-' in CustomerBranches.php. -14/5/2012 Exson: Fixed bug that when users input a Exchang Rate manually, when ones changed minds and select another currency, it'll not show the suggested rate correctly in Payments.php. +14/5/2012 Exson: Fixed bug that when users input a Exchang Rate manually, when ones changed minds and select another currency, it'll not show the suggested rate correctly in Payments.php. 14/5/2012 Exson: Fixed when user change the currency, the suggested rate can not changed accordingly in CustomerReceipt.php. Reported by Ahmed.Fawzy. 14/5/2012 Ahmed.Fawzy: Fixed bugs that ExchangRateText be applied with locale_number_format() function in CustomerReceipt.php -10/5/2012 Exson: Fixed bug that Date selection does not work in ReverseGRN.php. Add GRN batch column. +10/5/2012 Exson: Fixed bug that Date selection does not work in ReverseGRN.php. Add GRN batch column. 9/5/2012 Ahmed.Fawzy: Fixed bugs in Stocks.php that the properties for new items cannot be saved. Checked status is not kept and numeric values between max and min are not validated. -8/5/2012 Exson: Fixed typo in SalesCategories.php which leads to the jpg pictures do not appear. +8/5/2012 Exson: Fixed typo in SalesCategories.php which leads to the jpg pictures do not appear. 8/05/2012 Exson Fix typo and add 'L' type for selection in SelectOrderItems.php. -8/05/2012 Exson: Fixed the bug of Credit_Invoice.php the total will be doubled when use Update button. The bug is introduced for a fix of directly proceed the Credit. Reported by PakRichard. +8/05/2012 Exson: Fixed the bug of Credit_Invoice.php the total will be doubled when use Update button. The bug is introduced for a fix of directly proceed the Credit. Reported by PakRichard. 6/5/12 Phil: PaymentMethods.php added open cash drawer field for my POS. 4/5/12 Phil: Labels.php PDFPrintLabel.php fine tuning of new labels code 4/5/12 Phil: Fixed customer type name displayed when it is successfully deleted as reported by James Dupin @@ -34,23 +35,23 @@ 4/5/12 Phil: Allow SelectOrderItems.php to select labour type items 4/5/12 Phil: updated tcpdf to 5.9.160 4/5/12 Phil: Default lastcostupdate to 0000-00-00 to avoid issues inserting new items. -1/5/12 MTPubRadio: Measurement unit in FormDesigner.php should be points instead of millimeters. -1/5/12 MTPubRadio: Fixed Purch Order PDF file text of Order Total- Excl tax does not align with amount horizontally. +1/5/12 MTPubRadio: Measurement unit in FormDesigner.php should be points instead of millimeters. +1/5/12 MTPubRadio: Fixed Purch Order PDF file text of Order Total- Excl tax does not align with amount horizontally. 29/4/12 Opto/Klaus: SelectWorkOrder.php added start date for the work order to the work orders displayed for selection 29/4/12 David Short: Added EDISendInvoices_Reece.php to send Reece format EDI invoices - approved by Reece (Australian Plumbing retailer) 28/4/2012 Exson: Fixed bugs in MRPCalendar.php which caused working days cannot be calculated correctly. 06/4/2012 Exson: Fixed PO header that does not display user's default warehous when iusse a new PO in PO_Header.php. 25/4/12 Phil: Complete rewrite of PDFPrintLabels.php and Labels.php in webERP style - half the code and maintainable with templates stored with all the other data in the database. The new labels also allow fields to be printed as barcodes too. 24/4/2012 Phil: fix CopyBOM.php that was insering a blank stockid into stockmaster as reported by Ricard -21/04/2012 Vitaly: Editable item description in PO. +21/04/2012 Vitaly: Editable item description in PO. 16/04/2012 Vitaly: Added option to display only items that are currently on purchase order in StockLocStatus.php 16/04/2012 Vitaly: Fixed Days textbox where it did not remember entered value. 16/04/2012 Ricard: ReorderLevelLocation.php only showing items not discontinued (current). 14/04/2012 Ricard: Adding stock category as filter for selection in TopItems.php 12/4/2012 TurboPT: Replaced table row bgcolor [or style=background-color] with the appropriate css class. -11/4/2012 Ricard: Code simplified on TopItems.php -7/4/2012 TurboPT: Remove invalid attribute colspan found within table tag elements. -5/4/2012 Exson: Fixed order delivery comments overlapped with Shipper in Packing slip of PDFOrderPageHeader_generic.inc Reported by CQZ from webERP Chinese Community QQ group +11/4/2012 Ricard: Code simplified on TopItems.php +7/4/2012 TurboPT: Remove invalid attribute colspan found within table tag elements. +5/4/2012 Exson: Fixed order delivery comments overlapped with Shipper in Packing slip of PDFOrderPageHeader_generic.inc Reported by CQZ from webERP Chinese Community QQ group 3/4/2012 Vitaly: Cleaned up Petty Cash module. Fixed several errors in SQL INSERT statements. 3/4/2012 Exson: Fixed typo in PurchData.php. 3/4/2012 Tim: fixed Supplier Code and Supplier part code inconsistent with database field length definition in PurchData.php. Reported by rfthomas. @@ -59,7 +60,7 @@ 2/4/2012 Exson: fixed CopyBOM.php sql errors and header already sent error. 31/3/2012 Exson: Fixed for PcAuthorizeExpenses.php cannot authorized expenses due to no applying gettext function to 'Update' 31/3/2012: PakRichard: Fixed problem that on PCAssignCashToTab.php it should be used the decimal places of the currency of the tab, not the decimal places of the functional currency.The same in PcClaimExpensesFromTab.php -31/3/2012 Kunshan-Ouhai?G Fixed bug in PDFStockCheckComparision.php when selecting Report and Close the Inventory Comparison, there will be seriously sql errors. Reported and fixed by Kunshan-Ouhai from webERP Chinese community QQ group. +31/3/2012 Kunshan-Ouhai?G Fixed bug in PDFStockCheckComparision.php when selecting Report and Close the Inventory Comparison, there will be seriously sql errors. Reported and fixed by Kunshan-Ouhai from webERP Chinese community QQ group. 31/3/2012 Dafydd Crosby: Revise scripts Add_SerialItemsOut.php and OutputSerialItems.php fixes a problem that occurs when receiving a bulk inventory transfer. There was a hard-coded loop that prevented adding bundles that were greater than 10. 30/3/2012 Richard Andreu Modified security role to order by role name instead of by roleid to make it more user friendly in WWW_Access.php and WWW_Users.php 29/3/2012Exson:Fixed href typo error which lead to Select another location link does not work in InternalStockRequestFulfill.php @@ -72,7 +73,7 @@ 23/3/2012 Exson: Fixed accounting period displayed abnormal in simplified Chinese language in Win OS. Reported by CQZ from webERP Chinese community QQ group. 22/3/2012 Exson: Fixed no control of accumulated quantity of the same item during transferring which lead to negative quantity of stock in StockLocTransfer.php reported by Rong. 22/3/2012 Exson: Fixed time displayed incorrectly in footer in Win OS since the strftime() encoding is not UTF-8. Reported by CQZ and KE in webERP Chinese Community QQ group. -22/3/2012 Exson: Fixed period displayed incorrectly in GL inquiry in Win OS since the strftime() encoding is not UTF-8. Reported by CQZ and KE in webERP Chinese Community QQ group. +22/3/2012 Exson: Fixed period displayed incorrectly in GL inquiry in Win OS since the strftime() encoding is not UTF-8. Reported by CQZ and KE in webERP Chinese Community QQ group. 21/03/2012 CQZ,KE: (From webERP chinese community QQ Group) Fixed the csv file cannot display UTF-8 characters correctly in Excel. 20/03/2012 Exson: Fixed Multi currency payment exchange rate errors in Payments.php. Reported by PakRichard 20/3/2012 Exson: Fixed bugs that users push Process Credit button in Credit_Invoice.php directly without update will lead to unbalance Journal entry. Reported by Russ @@ -100,7 +101,7 @@ 26/02/2012 Exson: PO_Items.php Add $_SESSION and $_POST variables to fixed extra lines added while page refreshing or push F5. Reported by CQZ and Ke from webERP Chinese forum QQ group. 25/2/12 Vitaly: sql in PDFSuppTransListing.php would not fetch any data and debug message was not showing. Missing FROM in upgrade4.07-4.08.sql. -25/2/12 James Dupin: Remove extra ) after Create GL entries for stock transactions in CompanyPreferences.php +25/2/12 James Dupin: Remove extra ) after Create GL entries for stock transactions in CompanyPreferences.php 23/2/12 Ricard: Moved Utility scripts from Z_index.php to their own module named Utilities 22/2/12 Phil: Make daily sales inquiry work correctly with assembly items where costs are recalculated in the case of negatives stock when supplier invoices entered 22/2/12 James Dupin: Update to French translation This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dai...@us...> - 2012-06-23 21:41:15
|
Revision: 5447 http://web-erp.svn.sourceforge.net/web-erp/?rev=5447&view=rev Author: daintree Date: 2012-06-23 21:41:05 +0000 (Sat, 23 Jun 2012) Log Message: ----------- before 4.08.1 Modified Paths: -------------- trunk/UpgradeDatabase.php trunk/doc/Change.log trunk/includes/ConnectDB.inc trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.mo trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.po trunk/locale/cs_CZ.utf8/LC_MESSAGES/messages.mo trunk/locale/cs_CZ.utf8/LC_MESSAGES/messages.po trunk/locale/de_DE.utf8/LC_MESSAGES/messages.mo trunk/locale/de_DE.utf8/LC_MESSAGES/messages.po trunk/locale/el_GR.utf8/LC_MESSAGES/messages.mo trunk/locale/el_GR.utf8/LC_MESSAGES/messages.po trunk/locale/en_GB.utf8/LC_MESSAGES/messages.pot trunk/locale/en_US.utf8/LC_MESSAGES/messages.mo trunk/locale/en_US.utf8/LC_MESSAGES/messages.po trunk/locale/es_ES.utf8/LC_MESSAGES/messages.mo trunk/locale/es_ES.utf8/LC_MESSAGES/messages.po trunk/locale/et_EE.utf8/LC_MESSAGES/messages.mo trunk/locale/et_EE.utf8/LC_MESSAGES/messages.po trunk/locale/fr_FR.utf8/LC_MESSAGES/messages.mo trunk/locale/fr_FR.utf8/LC_MESSAGES/messages.po trunk/locale/hi_IN.utf8/LC_MESSAGES/messages.mo trunk/locale/hi_IN.utf8/LC_MESSAGES/messages.po trunk/locale/hr_HR.utf8/LC_MESSAGES/messages.mo trunk/locale/hr_HR.utf8/LC_MESSAGES/messages.po trunk/locale/hu_HU.utf8/LC_MESSAGES/messages.mo trunk/locale/hu_HU.utf8/LC_MESSAGES/messages.po trunk/locale/id_ID.utf8/LC_MESSAGES/messages.mo trunk/locale/id_ID.utf8/LC_MESSAGES/messages.po trunk/locale/it_IT.utf8/LC_MESSAGES/messages.mo trunk/locale/it_IT.utf8/LC_MESSAGES/messages.po trunk/locale/ja_JP.utf8/LC_MESSAGES/messages.mo trunk/locale/ja_JP.utf8/LC_MESSAGES/messages.po trunk/locale/lv_LV.utf8/LC_MESSAGES/messages.mo trunk/locale/lv_LV.utf8/LC_MESSAGES/messages.po trunk/locale/nl_NL.utf8/LC_MESSAGES/messages.mo trunk/locale/nl_NL.utf8/LC_MESSAGES/messages.po trunk/locale/pl_PL.utf8/LC_MESSAGES/messages.mo trunk/locale/pl_PL.utf8/LC_MESSAGES/messages.po trunk/locale/pt_BR.utf8/LC_MESSAGES/messages.mo trunk/locale/pt_BR.utf8/LC_MESSAGES/messages.po trunk/locale/pt_PT.utf8/LC_MESSAGES/messages.mo trunk/locale/pt_PT.utf8/LC_MESSAGES/messages.po trunk/locale/ro_RO.utf8/LC_MESSAGES/messages.mo trunk/locale/ro_RO.utf8/LC_MESSAGES/messages.po trunk/locale/ru_RU.utf8/LC_MESSAGES/messages.mo trunk/locale/ru_RU.utf8/LC_MESSAGES/messages.po trunk/locale/sq_AL.utf8/LC_MESSAGES/messages.mo trunk/locale/sq_AL.utf8/LC_MESSAGES/messages.po trunk/locale/sv_SE.utf8/LC_MESSAGES/messages.mo trunk/locale/sv_SE.utf8/LC_MESSAGES/messages.po trunk/locale/sw_KE.utf8/LC_MESSAGES/messages.mo trunk/locale/sw_KE.utf8/LC_MESSAGES/messages.po trunk/locale/tr_TR.utf8/LC_MESSAGES/messages.mo trunk/locale/tr_TR.utf8/LC_MESSAGES/messages.po trunk/locale/vi_VN.utf8/LC_MESSAGES/messages.mo trunk/locale/vi_VN.utf8/LC_MESSAGES/messages.po trunk/locale/zh_CN.utf8/LC_MESSAGES/messages.mo trunk/locale/zh_CN.utf8/LC_MESSAGES/messages.po trunk/locale/zh_HK.utf8/LC_MESSAGES/messages.mo trunk/locale/zh_HK.utf8/LC_MESSAGES/messages.po trunk/sql/mysql/weberp-demo.sql trunk/sql/mysql/weberp-new.sql Removed Paths: ------------- branches/stable/ Modified: trunk/UpgradeDatabase.php =================================================================== --- trunk/UpgradeDatabase.php 2012-06-23 08:48:47 UTC (rev 5446) +++ trunk/UpgradeDatabase.php 2012-06-23 21:41:05 UTC (rev 5447) @@ -145,6 +145,7 @@ case '4.07.6': $SQLScripts[] = './sql/mysql/upgrade4.07-4.08.sql'; case '4.08.0': + case '4.08.1': break; } //end switch } Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2012-06-23 08:48:47 UTC (rev 5446) +++ trunk/doc/Change.log 2012-06-23 21:41:05 UTC (rev 5447) @@ -1,5 +1,7 @@ webERP Change Log +24/6/2012 Release 4.08.1 + 22/06/2012 Icedlava: Fixed bug preventing insert of new account section 21/06/2012 Phil: Added tooltip of long description to SelectProduct.php 20/06/2012 Ricard: Added total QOH to NoSalesItems.php. Modified: trunk/includes/ConnectDB.inc =================================================================== --- trunk/includes/ConnectDB.inc 2012-06-23 08:48:47 UTC (rev 5446) +++ trunk/includes/ConnectDB.inc 2012-06-23 21:41:05 UTC (rev 5447) @@ -4,7 +4,7 @@ * this value is saved in the $_SESSION['Versionumber'] when includes/GetConfig.php is run * if VersionNumber is < $Version then the DB update script is run */ -$Version='4.08'; //must update manually every time there is a DB change +$Version='4.08.1'; //must update manually every time there is a DB change require_once ($PathPrefix .'includes/MiscFunctions.php'); Modified: trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.mo =================================================================== (Binary files differ) Modified: trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.po =================================================================== --- trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.po 2012-06-23 08:48:47 UTC (rev 5446) +++ trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.po 2012-06-23 21:41:05 UTC (rev 5447) @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: web-erp\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-16 16:39+1200\n" +"POT-Creation-Date: 2012-06-24 09:40+1200\n" "PO-Revision-Date: 2012-01-26 10:26+0000\n" "Last-Translator: JC_Chuck <Unknown>\n" "Language-Team: Arabic <ar...@li...>\n" @@ -447,7 +447,7 @@ msgid "Section In Accounts" msgstr "" -#: AccountGroups.php:415 AccountSections.php:258 AddCustomerContacts.php:260 +#: AccountGroups.php:415 AccountSections.php:259 AddCustomerContacts.php:260 #: AddCustomerNotes.php:242 AddCustomerTypeNotes.php:221 Areas.php:228 #: BankAccounts.php:398 BOMs.php:785 COGSGLPostings.php:355 #: CreditStatus.php:259 Currencies.php:402 CustLoginSetup.php:273 @@ -582,8 +582,8 @@ #: AddCustomerContacts.php:126 CompanyPreferences.php:224 #: CustomerBranches.php:368 Customers.php:1020 Customers.php:1028 -#: SalesPeople.php:200 SelectCustomer.php:610 StockDispatch.php:243 -#: StockDispatch.php:254 StockDispatch.php:265 SupplierContacts.php:150 +#: SalesPeople.php:200 SelectCustomer.php:610 StockDispatch.php:237 +#: StockDispatch.php:248 StockDispatch.php:259 SupplierContacts.php:150 #: SuppTransGLAnalysis.php:105 includes/InputSerialItemsFile.php:92 #: includes/InputSerialItemsFile.php:144 includes/PDFTaxPageHeader.inc:37 msgid "Name" @@ -694,7 +694,7 @@ #: PcAuthorizeExpenses.php:88 PDFRemittanceAdvice.php:308 #: PrintCustTrans.php:826 PrintCustTransPortrait.php:870 ReverseGRN.php:392 #: ShipmentCosting.php:538 ShipmentCosting.php:615 Shipments.php:491 -#: StockDispatch.php:245 StockDispatch.php:256 StockDispatch.php:267 +#: StockDispatch.php:239 StockDispatch.php:250 StockDispatch.php:261 #: StockLocMovements.php:91 StockMovements.php:95 #: StockSerialItemResearch.php:81 SupplierAllocations.php:456 #: SupplierAllocations.php:569 SupplierAllocations.php:644 @@ -870,7 +870,7 @@ #: PrintCustOrder.php:233 ReorderLevel.php:63 ReorderLevel.php:182 #: SalesAnalysis_UserDefined.php:28 SelectCreditItems.php:30 StockCheck.php:46 #: StockCheck.php:68 StockCheck.php:99 StockCheck.php:142 StockCheck.php:153 -#: StockCheck.php:194 StockDispatch.php:100 StockDispatch.php:113 +#: StockCheck.php:194 StockDispatch.php:104 StockDispatch.php:117 #: SupplierBalsAtPeriodEnd.php:54 SupplierBalsAtPeriodEnd.php:65 #: SuppPaymentRun.php:112 SuppPaymentRun.php:122 SuppPaymentRun.php:186 #: SuppPaymentRun.php:217 SuppPriceList.php:134 Tax.php:63 Tax.php:168 @@ -996,7 +996,7 @@ #: OutstandingGRNs.php:182 PDFCustomerList.php:419 PDFLowGP.php:146 #: PDFPriceList.php:312 PDFRemittanceAdvice.php:175 #: PDFStockCheckComparison.php:361 PrintCustTrans.php:542 -#: PrintCustTransPortrait.php:579 ReorderLevel.php:259 StockDispatch.php:394 +#: PrintCustTransPortrait.php:579 ReorderLevel.php:259 StockDispatch.php:407 #: SupplierBalsAtPeriodEnd.php:160 SuppPriceList.php:255 Tax.php:352 msgid "Print PDF" msgstr "" @@ -1181,8 +1181,8 @@ #: SalesGraph.php:144 SalesGraph.php:146 SalesGraph.php:180 #: SalesInquiry.php:1079 SalesInquiry.php:1142 SelectCreditItems.php:955 #: SelectOrderItems.php:1626 SelectOrderItems.php:1629 SelectProduct.php:513 -#: SelectProduct.php:515 StockDispatch.php:59 StockDispatch.php:364 -#: StockDispatch.php:366 StockLocStatus.php:69 StockLocStatus.php:71 +#: SelectProduct.php:515 StockDispatch.php:59 StockDispatch.php:355 +#: StockDispatch.php:357 StockLocStatus.php:69 StockLocStatus.php:71 #: StockLocStatus.php:89 StockLocStatus.php:94 StockLocStatus.php:99 #: StockLocStatus.php:104 StockQuantityByDate.php:25 SupplierPriceList.php:23 #: SupplierPriceList.php:25 SupplierTenderCreate.php:647 @@ -1204,7 +1204,7 @@ msgstr "" #: AuditTrail.php:82 InternalStockRequest.php:550 MRPReport.php:778 -#: PO_SelectPurchOrder.php:431 SelectContract.php:180 SelectProduct.php:780 +#: PO_SelectPurchOrder.php:431 SelectContract.php:180 SelectProduct.php:792 msgid "View" msgstr "" @@ -2000,7 +2000,7 @@ #: MRPPlannedWorkOrders.php:366 MRPReport.php:816 MRPReschedules.php:180 #: MRPShortages.php:334 PDFOrderStatus.php:308 PDFPriceList.php:344 #: PDFReceipt.php:31 PO_Header.php:829 PO_PDFPurchOrder.php:61 -#: PO_SelectOSPurchOrder.php:519 ReorderLevel.php:283 StockDispatch.php:424 +#: PO_SelectOSPurchOrder.php:519 ReorderLevel.php:283 StockDispatch.php:437 #: SuppPriceList.php:284 Tax.php:243 includes/PDFAgedDebtorsPageHeader.inc:34 #: includes/PDFAgedSuppliersPageHeader.inc:21 #: includes/PDFBalanceSheetPageHeader.inc:25 @@ -2039,7 +2039,7 @@ #: PrintCustOrder.php:170 PrintCustTrans.php:741 PrintCustTrans.php:950 #: PrintCustTrans.php:999 PrintCustTransPortrait.php:781 #: PrintCustTransPortrait.php:1003 PrintCustTransPortrait.php:1059 -#: ReorderLevel.php:284 StockDispatch.php:425 SuppPriceList.php:285 +#: ReorderLevel.php:284 StockDispatch.php:438 SuppPriceList.php:285 #: Tax.php:243 includes/PDFAgedDebtorsPageHeader.inc:34 #: includes/PDFAgedSuppliersPageHeader.inc:21 #: includes/PDFBalanceSheetPageHeader.inc:26 @@ -2096,12 +2096,11 @@ #: BOMExtendedQty.php:321 BOMInquiry.php:110 BOMs.php:883 #: CounterSales.php:2044 CounterSales.php:2233 InternalStockRequest.php:586 -#: NoSalesItems.php:157 PO_SelectOSPurchOrder.php:236 -#: PO_SelectPurchOrder.php:214 ReorderLevelLocation.php:70 -#: ReorderLevelLocation.php:71 SelectCompletedOrder.php:552 -#: SelectOrderItems.php:1506 SelectOrderItems.php:1690 -#: SelectSalesOrder.php:583 SelectWorkOrder.php:194 Shipt_Select.php:192 -#: TopItems.php:168 includes/PDFTopItemsHeader.inc:54 +#: PO_SelectOSPurchOrder.php:236 PO_SelectPurchOrder.php:214 +#: ReorderLevelLocation.php:70 ReorderLevelLocation.php:71 +#: SelectCompletedOrder.php:552 SelectOrderItems.php:1506 +#: SelectOrderItems.php:1690 SelectSalesOrder.php:583 SelectWorkOrder.php:194 +#: Shipt_Select.php:192 TopItems.php:168 includes/PDFTopItemsHeader.inc:54 msgid "On Hand" msgstr "" @@ -2121,7 +2120,7 @@ #: POReport.php:539 POReport.php:625 POReport.php:725 POReport.php:1267 #: POReport.php:1276 POReport.php:1290 POReport.php:1305 POReport.php:1356 #: POReport.php:1419 POReport.php:1523 POReport.php:1588 POReport.php:1597 -#: ReorderLevel.php:297 StockDispatch.php:445 StockDispatch.php:452 +#: ReorderLevel.php:297 StockDispatch.php:463 StockDispatch.php:470 msgid "Part Number" msgstr "" @@ -2189,9 +2188,9 @@ #: SecurityTokens.php:104 SecurityTokens.php:120 SelectAsset.php:255 #: SelectCompletedOrder.php:551 SelectContract.php:140 #: SelectCreditItems.php:991 SelectOrderItems.php:1504 -#: SelectOrderItems.php:1688 SelectProduct.php:525 SelectProduct.php:744 +#: SelectOrderItems.php:1688 SelectProduct.php:525 SelectProduct.php:756 #: SelectSalesOrder.php:582 SelectWorkOrder.php:193 Shipt_Select.php:191 -#: StockCategories.php:234 StockDispatch.php:446 StockLocStatus.php:168 +#: StockCategories.php:234 StockDispatch.php:464 StockLocStatus.php:168 #: StockQuantityByDate.php:108 SuppCreditGRNs.php:92 SuppCreditGRNs.php:187 #: SuppFixedAssetChgs.php:75 SuppInvGRNs.php:126 SuppInvGRNs.php:307 #: SupplierCredit.php:317 SupplierCredit.php:385 SupplierInvoice.php:294 @@ -2208,7 +2207,7 @@ #: includes/PDFStockLocTransferHeader.inc:49 #: includes/PDFStockTransferHeader.inc:36 includes/PDFTopItemsHeader.inc:50 #: includes/PDFTransPageHeader.inc:207 -#: includes/PDFTransPageHeaderPortrait.inc:262 api/api_xml-rpc.php:3398 +#: includes/PDFTransPageHeaderPortrait.inc:262 api/api_xml-rpc.php:3394 msgid "Description" msgstr "" @@ -2376,7 +2375,7 @@ #: PricesByCost.php:151 PurchData.php:382 ReorderLevelLocation.php:67 #: SalesPeople.php:199 SelectCompletedOrder.php:550 SelectCreditItems.php:990 #: SelectCustomer.php:415 SelectGLAccount.php:119 SelectOrderItems.php:1503 -#: SelectOrderItems.php:1687 SelectProduct.php:743 SelectSalesOrder.php:581 +#: SelectOrderItems.php:1687 SelectProduct.php:755 SelectSalesOrder.php:581 #: SelectSupplier.php:259 SelectWorkOrder.php:192 Shipt_Select.php:190 #: SpecialOrder.php:149 SupplierPriceList.php:260 SupplierPriceList.php:445 #: SupplierTenderCreate.php:583 SupplierTenderCreate.php:817 @@ -2392,11 +2391,11 @@ #: Credit_Invoice.php:273 GoodsReceived.php:102 GoodsReceived.php:106 #: InternalStockRequestAuthorisation.php:89 #: InternalStockRequestFulfill.php:301 InternalStockRequest.php:518 -#: InternalStockRequest.php:585 MRPReport.php:751 NoSalesItems.php:158 +#: InternalStockRequest.php:585 MRPReport.php:751 NoSalesItems.php:159 #: OffersReceived.php:109 PO_Items.php:1076 PO_SelectOSPurchOrder.php:238 #: PO_SelectPurchOrder.php:216 SelectCompletedOrder.php:555 #: SelectCreditItems.php:992 SelectOrderItems.php:1505 -#: SelectOrderItems.php:1689 SelectProduct.php:121 SelectProduct.php:746 +#: SelectOrderItems.php:1689 SelectProduct.php:121 SelectProduct.php:758 #: SelectSalesOrder.php:584 SelectWorkOrder.php:195 Shipments.php:402 #: Shipments.php:489 Shipt_Select.php:194 StockLocTransferReceive.php:433 #: SupplierPriceList.php:262 SupplierTenderCreate.php:819 @@ -2527,7 +2526,7 @@ #: PaymentTerms.php:196 PO_SelectOSPurchOrder.php:524 #: SalesAnalReptCols.php:285 SelectProduct.php:119 SelectProduct.php:165 #: SelectProduct.php:178 SelectProduct.php:262 SelectProduct.php:263 -#: SelectProduct.php:765 TopItems.php:187 TopItems.php:188 +#: SelectProduct.php:777 TopItems.php:187 TopItems.php:188 msgid "N/A" msgstr "" @@ -2546,11 +2545,11 @@ msgstr "" #: BOMs.php:254 StockAdjustments.php:135 StockTransfers.php:172 -#: WorkOrderEntry.php:281 +#: WorkOrderEntry.php:281 Z_StockConversion.php:26 msgid "The quantity entered must be numeric" msgstr "" -#: BOMs.php:260 StockAdjustments.php:138 +#: BOMs.php:260 StockAdjustments.php:138 Z_StockConversion.php:29 msgid "The quantity entered cannot be zero" msgstr "" @@ -3643,7 +3642,7 @@ #: ShipmentCosting.php:432 ShipmentCosting.php:451 ShipmentCosting.php:465 #: StockAdjustments.php:203 StockAdjustments.php:234 StockAdjustments.php:252 #: StockAdjustments.php:268 StockAdjustments.php:281 StockAdjustments.php:309 -#: StockAdjustments.php:331 StockDispatch.php:235 StockLocTransfer.php:189 +#: StockAdjustments.php:331 StockDispatch.php:229 StockLocTransfer.php:189 #: StockLocTransfer.php:213 StockLocTransfer.php:217 #: StockLocTransferReceive.php:102 StockLocTransferReceive.php:136 #: StockLocTransferReceive.php:150 StockLocTransferReceive.php:169 @@ -3686,9 +3685,9 @@ #: WorkOrderReceive.php:499 WorkOrderReceive.php:514 WorkOrderReceive.php:524 #: WorkOrderReceive.php:543 WorkOrderReceive.php:570 WorkOrderReceive.php:585 #: WorkOrderReceive.php:605 WorkOrderReceive.php:639 WorkOrderReceive.php:659 -#: WorkOrderReceive.php:669 includes/SQL_CommonFunctions.inc:24 -#: includes/SQL_CommonFunctions.inc:31 includes/SQL_CommonFunctions.inc:185 -#: includes/SQL_CommonFunctions.inc:204 +#: WorkOrderReceive.php:669 Z_StockConversion.php:94 Z_StockConversion.php:106 +#: includes/SQL_CommonFunctions.inc:24 includes/SQL_CommonFunctions.inc:31 +#: includes/SQL_CommonFunctions.inc:185 includes/SQL_CommonFunctions.inc:204 msgid "CRITICAL ERROR" msgstr "" @@ -3800,9 +3799,10 @@ #: WorkOrderReceive.php:462 WorkOrderReceive.php:499 WorkOrderReceive.php:514 #: WorkOrderReceive.php:524 WorkOrderReceive.php:543 WorkOrderReceive.php:570 #: WorkOrderReceive.php:585 WorkOrderReceive.php:605 WorkOrderReceive.php:639 -#: WorkOrderReceive.php:659 WorkOrderReceive.php:669 -#: includes/SQL_CommonFunctions.inc:24 includes/SQL_CommonFunctions.inc:31 -#: includes/SQL_CommonFunctions.inc:185 includes/SQL_CommonFunctions.inc:204 +#: WorkOrderReceive.php:659 WorkOrderReceive.php:669 Z_StockConversion.php:94 +#: Z_StockConversion.php:106 includes/SQL_CommonFunctions.inc:24 +#: includes/SQL_CommonFunctions.inc:31 includes/SQL_CommonFunctions.inc:185 +#: includes/SQL_CommonFunctions.inc:204 msgid "NOTE DOWN THIS ERROR AND SEEK ASSISTANCE" msgstr "" @@ -4276,8 +4276,8 @@ msgstr "" #: ContractBOM.php:140 PO_Items.php:990 SupplierTenderCreate.php:800 -#: SupplierTenders.php:670 Z_ChangeStockCategory.php:63 -#: Z_ChangeStockCode.php:104 +#: SupplierTenders.php:670 Z_ChangeLocationCode.php:90 +#: Z_ChangeStockCategory.php:63 Z_ChangeStockCode.php:104 msgid "The SQL statement that failed was" msgstr "" @@ -4560,7 +4560,7 @@ #: PDFStockCheckComparison.php:127 ReverseGRN.php:219 StockAdjustments.php:281 #: StockLocTransferReceive.php:293 StockLocTransferReceive.php:302 #: StockTransfers.php:431 StockTransfers.php:440 WorkOrderIssue.php:161 -#: WorkOrderReceive.php:432 +#: WorkOrderReceive.php:432 Z_StockConversion.php:106 msgid "The location stock record could not be updated because" msgstr "" @@ -5097,7 +5097,7 @@ #: Contracts.php:845 InventoryQuantities.php:237 PDFPriceList.php:365 #: PricesByCost.php:244 ReorderLevelLocation.php:172 ReorderLevel.php:286 #: SalesCategoryPeriodInquiry.php:164 SalesTopItemsInquiry.php:221 -#: SpecialOrder.php:697 StockDispatch.php:434 Stocks.php:881 +#: SpecialOrder.php:697 StockDispatch.php:447 Stocks.php:881 #: SuppPriceList.php:229 SuppPriceList.php:291 #: includes/PDFInventoryValnPageHeader.inc:32 #: includes/PDFInventoryValnPageHeader.inc:38 @@ -5484,7 +5484,8 @@ #: SuppContractChgs.php:168 SupplierCredit.php:421 SupplierCredit.php:460 #: SupplierInvoice.php:414 SupplierInvoice.php:458 #: SupplierTransInquiry.php:174 SuppTransGLAnalysis.php:107 -#: SuppTransGLAnalysis.php:200 includes/PDFBankingSummaryPageHeader.inc:58 +#: SuppTransGLAnalysis.php:200 Z_StockConversion.php:172 +#: includes/PDFBankingSummaryPageHeader.inc:58 msgid "Narrative" msgstr "" @@ -5742,8 +5743,8 @@ msgstr "" #: CounterSales.php:2047 CounterSales.php:2236 InternalStockRequest.php:589 -#: SelectOrderItems.php:1509 SelectOrderItems.php:1693 StockDispatch.php:459 -#: StockDispatch.php:460 StockLocStatus.php:172 StockStatus.php:90 +#: SelectOrderItems.php:1509 SelectOrderItems.php:1693 StockDispatch.php:477 +#: StockDispatch.php:478 StockLocStatus.php:172 StockStatus.php:90 #: includes/OutputSerialItems.php:37 includes/PDFStockCheckPageHeader.inc:40 msgid "Available" msgstr "" @@ -5804,7 +5805,7 @@ #: CounterSales.php:2227 CounterSales.php:2352 InternalStockRequest.php:506 #: InternalStockRequest.php:581 InternalStockRequest.php:703 MRPReport.php:740 #: SelectAsset.php:248 SelectCustomer.php:409 SelectCustomer.php:492 -#: SelectOrderItems.php:1685 SelectOrderItems.php:1805 SelectProduct.php:734 +#: SelectOrderItems.php:1685 SelectOrderItems.php:1805 SelectProduct.php:746 #: SelectSupplier.php:250 SelectSupplier.php:312 SupplierPriceList.php:251 #: SupplierTenderCreate.php:574 msgid "Next" @@ -7640,7 +7641,7 @@ #: CustomerReceipt.php:904 GoodsReceived.php:103 GoodsReceived.php:107 #: GoodsReceived.php:113 POReport.php:629 POReport.php:1360 ReverseGRN.php:392 #: ReverseGRN.php:393 ShipmentCosting.php:150 Shipments.php:403 -#: Shipments.php:490 StockDispatch.php:450 StockDispatch.php:457 +#: Shipments.php:490 StockDispatch.php:468 StockDispatch.php:475 #: SuppCreditGRNs.php:189 msgid "Received" msgstr "" @@ -8041,7 +8042,7 @@ #: FixedAssetRegister.php:358 PcReportTab.php:139 PcReportTab.php:260 #: SalesAnalRepts.php:432 SalesAnalRepts.php:460 SalesAnalRepts.php:489 #: SalesAnalRepts.php:508 ShipmentCosting.php:56 Shipments.php:308 -#: StockDispatch.php:454 StockLocTransferReceive.php:209 +#: StockDispatch.php:472 StockLocTransferReceive.php:209 #: StockTransfers.php:349 SuppContractChgs.php:72 SuppCreditGRNs.php:179 #: SuppFixedAssetChgs.php:70 SupplierTransInquiry.php:51 SuppShiptChgs.php:77 #: includes/PDFChequeListingPageHeader.inc:17 @@ -8062,7 +8063,7 @@ #: CustomerTransInquiry.php:54 FixedAssetRegister.php:359 PcReportTab.php:266 #: POReport.php:517 POReport.php:1519 SalesAnalRepts.php:433 #: SalesAnalRepts.php:461 SalesAnalRepts.php:490 SalesAnalRepts.php:509 -#: SalesInquiry.php:780 SalesInquiry.php:1090 StockDispatch.php:455 +#: SalesInquiry.php:780 SalesInquiry.php:1090 StockDispatch.php:473 #: StockLocTransferReceive.php:97 SupplierTransInquiry.php:53 #: includes/PO_PDFOrderPageHeader.inc:41 msgid "To" @@ -9767,7 +9768,7 @@ msgid "View Currency Trend" msgstr "" -#: ExchangeRateTrend.php:66 +#: ExchangeRateTrend.php:66 ExchangeRateTrend.php:74 msgid "Trend Currently Unavailable" msgstr "" @@ -12443,21 +12444,21 @@ #: ImportStockQuantites.php:155 InternalStockRequestFulfill.php:82 #: PDFStockCheckComparison.php:119 StockAdjustments.php:203 #: StockLocTransferReceive.php:102 StockTransfers.php:239 -#: StockTransfers.php:353 +#: StockTransfers.php:353 Z_StockConversion.php:94 msgid "The stock movement record cannot be inserted because" msgstr "" #: ImportStockQuantites.php:156 InternalStockRequestFulfill.php:83 #: PDFStockCheckComparison.php:120 StockAdjustments.php:204 #: StockLocTransferReceive.php:103 StockLocTransferReceive.php:215 -#: StockTransfers.php:240 StockTransfers.php:354 +#: StockTransfers.php:240 StockTransfers.php:354 Z_StockConversion.php:95 msgid "The following SQL to insert the stock movement record was used" msgstr "" #: ImportStockQuantites.php:164 InternalStockRequestFulfill.php:96 #: InternalStockRequestFulfill.php:104 PDFStockCheckComparison.php:128 #: StockAdjustments.php:282 StockLocTransferReceive.php:294 -#: StockLocTransferReceive.php:303 +#: StockLocTransferReceive.php:303 Z_StockConversion.php:107 msgid "The following SQL to update the stock record was used" msgstr "" @@ -12591,7 +12592,7 @@ #: InternalStockRequestFulfill.php:35 InternalStockRequest.php:492 #: MRPReport.php:726 SelectAsset.php:234 SelectCustomer.php:395 -#: SelectCustomer.php:478 SelectOrderItems.php:1398 SelectProduct.php:720 +#: SelectCustomer.php:478 SelectOrderItems.php:1398 SelectProduct.php:732 #: SelectSupplier.php:236 SelectSupplier.php:298 StockLocTransfer.php:61 #: SupplierPriceList.php:237 SupplierTenderCreate.php:560 #: WorkOrderIssue.php:353 WorkOrderReceive.php:681 @@ -12777,7 +12778,7 @@ msgstr "" #: InternalStockRequest.php:288 InventoryQuantities.php:181 MRPReport.php:508 -#: ReorderLevel.php:231 SelectProduct.php:39 StockDispatch.php:346 +#: ReorderLevel.php:231 SelectProduct.php:39 StockDispatch.php:340 #: StockLocStatus.php:57 SupplierTenderCreate.php:636 SupplierTenders.php:398 msgid "" "There are no stock categories currently defined please use the link below to " @@ -12785,14 +12786,14 @@ msgstr "" #: InternalStockRequest.php:290 InventoryQuantities.php:182 MRPReport.php:509 -#: ReorderLevel.php:232 SelectProduct.php:40 StockDispatch.php:347 +#: ReorderLevel.php:232 SelectProduct.php:40 StockDispatch.php:341 #: StockLocStatus.php:58 SupplierTenderCreate.php:637 SupplierTenders.php:399 msgid "Define Stock Categories" msgstr "" #: InternalStockRequest.php:295 InventoryQuantities.php:188 MRPReport.php:518 #: NoSalesItems.php:65 ReorderLevel.php:238 SelectProduct.php:507 -#: StockDispatch.php:358 StockLocStatus.php:63 SupplierPriceList.php:17 +#: StockDispatch.php:349 StockLocStatus.php:63 SupplierPriceList.php:17 #: SupplierTenderCreate.php:642 SupplierTenders.php:403 TopItems.php:60 msgid "In Stock Category" msgstr "" @@ -12806,14 +12807,14 @@ msgstr "" #: InternalStockRequest.php:492 MRPReport.php:726 SelectAsset.php:234 -#: SelectCustomer.php:395 SelectCustomer.php:478 SelectProduct.php:720 +#: SelectCustomer.php:395 SelectCustomer.php:478 SelectProduct.php:732 #: SelectSupplier.php:236 SelectSupplier.php:298 SupplierPriceList.php:237 #: SupplierTenderCreate.php:560 msgid "pages" msgstr "" #: InternalStockRequest.php:492 MRPReport.php:726 SelectAsset.php:234 -#: SelectCustomer.php:395 SelectCustomer.php:478 SelectProduct.php:720 +#: SelectCustomer.php:395 SelectCustomer.php:478 SelectProduct.php:732 #: SelectSupplier.php:236 SelectSupplier.php:298 SupplierPriceList.php:237 #: SupplierTenderCreate.php:560 msgid "Go to Page" @@ -12822,28 +12823,28 @@ #: InternalStockRequest.php:504 MRPReport.php:738 PcAssignCashToTab.php:231 #: PcAuthorizeExpenses.php:61 PcClaimExpensesFromTab.php:204 #: SelectAsset.php:246 SelectCustomer.php:407 SelectCustomer.php:490 -#: SelectProduct.php:732 SelectSupplier.php:248 SelectSupplier.php:310 +#: SelectProduct.php:744 SelectSupplier.php:248 SelectSupplier.php:310 #: SupplierPriceList.php:249 SupplierTenderCreate.php:572 msgid "Go" msgstr "" #: InternalStockRequest.php:505 MRPReport.php:739 SelectAsset.php:247 -#: SelectCustomer.php:408 SelectCustomer.php:491 SelectProduct.php:733 +#: SelectCustomer.php:408 SelectCustomer.php:491 SelectProduct.php:745 #: SelectSupplier.php:249 SelectSupplier.php:311 SupplierPriceList.php:250 #: SupplierTenderCreate.php:573 msgid "Previous" msgstr "" -#: InternalStockRequest.php:517 MRPReport.php:750 SelectProduct.php:745 +#: InternalStockRequest.php:517 MRPReport.php:750 SelectProduct.php:757 msgid "Total Qty On Hand" msgstr "" -#: InternalStockRequest.php:519 MRPReport.php:752 SelectProduct.php:747 +#: InternalStockRequest.php:519 MRPReport.php:752 SelectProduct.php:759 #: StockStatus.php:7 msgid "Stock Status" msgstr "" -#: InternalStockRequest.php:541 SelectProduct.php:74 SelectProduct.php:770 +#: InternalStockRequest.php:541 SelectProduct.php:74 SelectProduct.php:782 #: Stocks.php:1020 Stocks.php:1022 msgid "Obsolete" msgstr "" @@ -13007,7 +13008,7 @@ msgstr "" #: InventoryPlanningPrefSupplier.php:80 ShipmentCosting.php:154 -#: StockDispatch.php:387 +#: StockDispatch.php:397 msgid "Standard" msgstr "" @@ -13117,7 +13118,7 @@ #: MRPDemands.php:27 MRPDemandTypes.php:17 MRP.php:517 #: MRPPlannedPurchaseOrders.php:265 MRPPlannedWorkOrders.php:247 #: MRPPlannedWorkOrders.php:321 PricesByCost.php:8 ReorderLevelLocation.php:12 -#: ReorderLevel.php:194 SelectProduct.php:80 StockDispatch.php:287 +#: ReorderLevel.php:194 SelectProduct.php:80 StockDispatch.php:281 #: StockMovements.php:19 StockQties_csv.php:8 StockQuantityByDate.php:10 #: StockReorderLevel.php:18 StockSerialItemResearch.php:9 #: StockSerialItems.php:9 StockStatus.php:40 StockTransferControlled.php:14 @@ -14281,17 +14282,17 @@ msgstr "" #: MRPReport.php:693 PO_SelectOSPurchOrder.php:124 PO_SelectPurchOrder.php:105 -#: SelectCompletedOrder.php:223 SelectProduct.php:688 SelectSalesOrder.php:472 +#: SelectCompletedOrder.php:223 SelectProduct.php:700 SelectSalesOrder.php:472 #: SupplierPriceList.php:203 msgid "No stock items were returned by the SQL because" msgstr "" -#: MRPReport.php:694 SelectAsset.php:202 SelectProduct.php:689 +#: MRPReport.php:694 SelectAsset.php:202 SelectProduct.php:701 #: SupplierPriceList.php:204 msgid "The SQL that returned an error was" msgstr "" -#: MRPReport.php:697 SelectProduct.php:692 SupplierPriceList.php:207 +#: MRPReport.php:697 SelectProduct.php:704 SupplierPriceList.php:207 msgid "" "No stock items were returned by this search please re-enter alternative " "criteria to try again" @@ -14467,6 +14468,14 @@ msgid "Number Of Days" msgstr "" +#: NoSalesItems.php:157 +msgid "Location QOH" +msgstr "" + +#: NoSalesItems.php:158 +msgid "Total QOH" +msgstr "" + #: OffersReceived.php:6 OffersReceived.php:100 msgid "Supplier Offers" msgstr "" @@ -18188,7 +18197,7 @@ msgid "The report has been exported as a csv file." msgstr "" -#: POReport.php:1505 SalesInquiry.php:1049 StockDispatch.php:377 +#: POReport.php:1505 SalesInquiry.php:1049 StockDispatch.php:381 msgid "Report Type" msgstr "" @@ -20021,7 +20030,7 @@ msgid "Inventory Reorder Level Report" msgstr "" -#: ReorderLevel.php:206 SelectSalesOrder.php:497 StockDispatch.php:314 +#: ReorderLevel.php:206 SelectSalesOrder.php:497 StockDispatch.php:308 #: StockLocMovements.php:19 StockLocStatus.php:32 StockLocTransfer.php:259 #: StockMovements.php:35 StockTransfers.php:494 StockUsage.php:66 msgid "From Stock Location" @@ -23796,21 +23805,21 @@ msgstr "" #: StockAdjustments.php:132 StockCostUpdate.php:42 StockCostUpdate.php:64 -#: StockTransfers.php:168 StockTransfers.php:261 +#: StockTransfers.php:168 StockTransfers.php:261 Z_StockConversion.php:23 msgid "The entered item code does not exist" msgstr "" -#: StockAdjustments.php:138 +#: StockAdjustments.php:138 Z_StockConversion.php:29 msgid "There would be no adjustment to make" msgstr "" -#: StockAdjustments.php:141 +#: StockAdjustments.php:141 Z_StockConversion.php:32 msgid "" "The item entered is a controlled item that requires the detail of the serial " "numbers or batch references to be adjusted to be entered" msgstr "" -#: StockAdjustments.php:153 +#: StockAdjustments.php:153 Z_StockConversion.php:44 msgid "" "The system parameters are set to prohibit negative stocks. Processing this " "stock adjustment would result in negative stock at this location. This " @@ -24358,7 +24367,7 @@ msgid "Save Changes" msgstr "" -#: StockDispatch.php:17 StockDispatch.php:285 +#: StockDispatch.php:17 StockDispatch.php:279 msgid "Stock Dispatch Report" msgstr "" @@ -24370,120 +24379,150 @@ msgid "Could not retrieve location name from the database" msgstr "" -#: StockDispatch.php:96 StockDispatch.php:108 +#: StockDispatch.php:100 StockDispatch.php:112 msgid "Stock Dispatch - Problem Report" msgstr "" -#: StockDispatch.php:98 +#: StockDispatch.php:102 msgid "The Stock Dispatch report could not be retrieved by the SQL because" msgstr "" -#: StockDispatch.php:111 +#: StockDispatch.php:115 msgid "The stock dispatch did not have any items to list" msgstr "" -#: StockDispatch.php:235 StockLocTransfer.php:213 +#: StockDispatch.php:229 StockLocTransfer.php:213 msgid "Unable to enter Location Transfer record for" msgstr "" -#: StockDispatch.php:242 +#: StockDispatch.php:236 msgid "Prepared By :" msgstr "" -#: StockDispatch.php:247 StockDispatch.php:258 StockDispatch.php:269 +#: StockDispatch.php:241 StockDispatch.php:252 StockDispatch.php:263 msgid "Hour" msgstr "" -#: StockDispatch.php:249 StockDispatch.php:260 StockDispatch.php:271 +#: StockDispatch.php:243 StockDispatch.php:254 StockDispatch.php:265 msgid "Signature" msgstr "" -#: StockDispatch.php:253 +#: StockDispatch.php:247 msgid "Shipped By :" msgstr "" -#: StockDispatch.php:264 +#: StockDispatch.php:258 msgid "Received By :" msgstr "" -#: StockDispatch.php:287 +#: StockDispatch.php:281 msgid "Inventory Stock Dispatch Report" msgstr "" -#: StockDispatch.php:288 +#: StockDispatch.php:282 msgid "" -"Create batch of overstock from one location to transfer to another location " -"that is below reorder level.<br/>\n" -"\t\t\t\t\t\t\t\t\t\t Quantity to ship is based on reorder level minus the " -"quantity on hand at the To Location; if there is a<br/>\n" -"\t\t\t\t\t\t\t\t\t\t dispatch percentage entered, that needed quantity is " -"inflated by the percentage entered.<br/>\n" -"\t\t\t\t\t\t\t\t\t\t Use Bulk Inventory Transfer - Receive to process the " -"batch" +"Create a transfer batch of overstock from one location to another location " +"that is below reorder level." msgstr "" -#: StockDispatch.php:310 +#: StockDispatch.php:283 +msgid "" +"Quantity to ship is based on reorder level minus the quantity on hand at the " +"To Location; if there is a" +msgstr "" + +#: StockDispatch.php:284 +msgid "" +"dispatch percentage entered, that needed quantity is inflated by the " +"percentage entered." +msgstr "" + +#: StockDispatch.php:285 +msgid "Use Bulk Inventory Transfer - Receive to process the batch" +msgstr "" + +#: StockDispatch.php:304 msgid "Dispatch Percent" msgstr "" -#: StockDispatch.php:330 StockLocTransfer.php:279 StockTransfers.php:518 +#: StockDispatch.php:324 StockLocTransfer.php:279 StockTransfers.php:518 msgid "To Stock Location" msgstr "" -#: StockDispatch.php:379 +#: StockDispatch.php:370 +msgid "Dispatch Strategy:" +msgstr "" + +#: StockDispatch.php:373 +msgid "Items needed at TO location with overstock at FROM location" +msgstr "" + +#: StockDispatch.php:374 +msgid "Items with overstock at FROM location" +msgstr "" + +#: StockDispatch.php:384 msgid "Create Batch" msgstr "" -#: StockDispatch.php:380 +#: StockDispatch.php:385 msgid "Report Only" msgstr "" -#: StockDispatch.php:384 +#: StockDispatch.php:393 msgid "Template" msgstr "" -#: StockDispatch.php:386 +#: StockDispatch.php:396 msgid "Full" msgstr "" -#: StockDispatch.php:388 +#: StockDispatch.php:398 msgid "Simple" msgstr "" -#: StockDispatch.php:420 +#: StockDispatch.php:433 msgid "Stock Dispatch " msgstr "" -#: StockDispatch.php:421 +#: StockDispatch.php:434 msgid "From :" msgstr "" -#: StockDispatch.php:427 +#: StockDispatch.php:440 msgid "Transfer No." msgstr "" -#: StockDispatch.php:430 +#: StockDispatch.php:443 msgid "To :" msgstr "" -#: StockDispatch.php:438 -msgid "Percent" +#: StockDispatch.php:451 +msgid "Over transfer" msgstr "" -#: StockDispatch.php:447 +#: StockDispatch.php:454 +msgid "Overstock items at " +msgstr "" + +#: StockDispatch.php:456 +msgid "Items needed at " +msgstr "" + +#: StockDispatch.php:465 msgid "QOH-From" msgstr "" -#: StockDispatch.php:448 +#: StockDispatch.php:466 msgid "QOH-To" msgstr "" -#: StockDispatch.php:449 StockDispatch.php:456 +#: StockDispatch.php:467 StockDispatch.php:474 #: includes/PDFStockLocTransferHeader.inc:22 msgid "Shipped" msgstr "" -#: StockDispatch.php:453 +#: StockDispatch.php:471 #, fuzzy msgid "Image/Description" msgstr "وصف القطاع" @@ -27508,8 +27547,9 @@ msgstr "" #: SupplierTenders.php:508 Z_ChangeBranchCode.php:215 -#: Z_ChangeCustomerCode.php:242 Z_ChangeStockCategory.php:108 -#: Z_ChangeStockCode.php:340 Z_DeleteSalesTransActions.php:179 +#: Z_ChangeCustomerCode.php:242 Z_ChangeLocationCode.php:261 +#: Z_ChangeStockCategory.php:108 Z_ChangeStockCode.php:340 +#: Z_DeleteSalesTransActions.php:179 msgid "Process" msgstr "" @@ -28601,15 +28641,15 @@ "and every user login" msgstr "" -#: SystemParameters.php:848 includes/MiscFunctions.php:230 +#: SystemParameters.php:848 includes/MiscFunctions.php:234 msgid "WackoWiki" msgstr "" -#: SystemParameters.php:849 includes/MiscFunctions.php:232 +#: SystemParameters.php:849 includes/MiscFunctions.php:236 msgid "MediaWiki" msgstr "" -#: SystemParameters.php:850 includes/MiscFunctions.php:234 +#: SystemParameters.php:850 includes/MiscFunctions.php:238 msgid "DokuWiki" msgstr "" @@ -31186,6 +31226,294 @@ msgid "New Debtor Code" msgstr "" +#: Z_ChangeLocationCode.php:6 +msgid "UTILITY PAGE Change A Location Code" +msgstr "" + +#: Z_ChangeLocationCode.php:19 +msgid "The location code" +msgstr "" + +#: Z_ChangeLocationCode.php:19 +msgid "does not currently exist as a location code in the system" +msgstr "" + +#: Z_ChangeLocationCode.php:24 +msgid "" +"The new location code to change the old code to contains illegal characters " +"- no changes will be made" +msgstr "" + +#: Z_ChangeLocationCode.php:29 +msgid "The new location code to change the old code to must be entered as well" +msgstr "" + +#: Z_ChangeLocationCode.php:34 +#, fuzzy +msgid "" +"The new location name to change the old name to contains illegal characters " +"- no changes will be made" +msgstr "لا يمكن ان يحتوى اسم العضوية على الحرف" + +#: Z_ChangeLocationCode.php:39 +msgid "The new location name to change the old name to must be entered as well" +msgstr "" + +#: Z_ChangeLocationCode.php:46 +msgid "The replacement location code" +msgstr "" + +#: Z_ChangeLocationCode.php:46 +msgid "already exists as a location code in the system" +msgstr "" + +#: Z_ChangeLocationCode.php:46 +msgid "a unique location code must be entered for the new code" +msgstr "" + +#: Z_ChangeLocationCode.php:54 +msgid "Adding the new location record" +msgstr "" + +#: Z_ChangeLocationCode.php:91 +#, fuzzy +msgid "The SQL to insert the new location record failed" +msgstr "الطلب المستخدم لإضافة مجموعة الحسابات هي" + +#: Z_ChangeLocationCode.php:93 Z_ChangeLocationCode.php:99 +#: Z_ChangeLocationCode.php:105 Z_ChangeLocationCode.php:111 +#: Z_ChangeLocationCode.php:117 Z_ChangeLocationCode.php:123 +#: Z_ChangeLocationCode.php:129 Z_ChangeLocationCode.php:135 +#: Z_ChangeLocationCode.php:141 Z_ChangeLocationCode.php:151 +#: Z_ChangeLocationCode.php:158 Z_ChangeLocationCode.php:164 +#: Z_ChangeLocationCode.php:170 Z_ChangeLocationCode.php:176 +#: Z_ChangeLocationCode.php:182 Z_ChangeLocationCode.php:188 +#: Z_ChangeLocationCode.php:194 Z_ChangeLocationCode.php:200 +#: Z_ChangeLocationCode.php:206 Z_ChangeLocationCode.php:212 +#: Z_ChangeLocationCode.php:218 Z_ChangeLocationCode.php:224 +#: Z_ChangeLocationCode.php:234 Z_ChangeStockCategory.php:66 +#: Z_ChangeStockCategory.php:71 Z_ChangeStockCategory.php:76 +#: Z_ChangeStockCategory.php:81 Z_ChangeStockCategory.php:89 +#: Z_ChangeStockCode.php:107 Z_ChangeStockCode.php:113 +#: Z_ChangeStockCode.php:119 Z_ChangeStockCode.php:126 +#: Z_ChangeStockCode.php:132 Z_ChangeStockCode.php:142 +#: Z_ChangeStockCode.php:151 Z_ChangeStockCode.php:159 +#: Z_ChangeStockCode.php:166 Z_ChangeStockCode.php:173 +#: Z_ChangeStockCode.php:180 Z_ChangeStockCode.php:187 +#: Z_ChangeStockCode.php:194 Z_ChangeStockCode.php:201 +#: Z_ChangeStockCode.php:207 Z_ChangeStockCode.php:213 +#: Z_ChangeStockCode.php:219 Z_ChangeStockCode.php:226 +#: Z_ChangeStockCode.php:233 Z_ChangeStockCode.php:240 +#: Z_ChangeStockCode.php:248 Z_ChangeStockCode.php:254 +#: Z_ChangeStockCode.php:259 Z_ChangeStockCode.php:266 +#: Z_ChangeStockCode.php:274 Z_ChangeStockCode.php:279 +#: Z_ChangeStockCode.php:286 Z_ChangeStockCode.php:292 +#: Z_ChangeStockCode.php:304 Z_ChangeStockCode.php:316 +msgid "completed" +msgstr "" + +#: Z_ChangeLocationCode.php:95 Z_ChangeStockCode.php:236 +#: Z_ChangeStockCode.php:244 +msgid "Changing the BOM table records" +msgstr "" + +#: Z_ChangeLocationCode.php:97 Z_ChangeLocationCode.php:103 +#: Z_ChangeStockCode.php:238 +msgid "The SQL to update the BOM records failed" +msgstr "" + +#: Z_ChangeLocationCode.php:101 +msgid "Changing the config table records" +msgstr "" + +#: Z_ChangeLocationCode.php:107 +msgid "Changing the contracts table records" +msgstr "" + +#: Z_ChangeLocationCode.php:109 +#, fuzzy +msgid "The SQL to update the contracts records failed" +msgstr "الطلب المستخدم لإسترجاع المعلومات كان" + +#: Z_ChangeLocationCode.php:113 +msgid "Changing the custbranch table records" +msgstr "" + +#: Z_ChangeLocationCode.php:115 +#, fuzzy +msgid "The SQL to update the custbranch records failed" +msgstr "الطلب المستخدم لإضافة مجموعة الحسابات هي" + +#: Z_ChangeLocationCode.php:119 +msgid "Changing the freightcosts table records" +msgstr "" + +#: Z_ChangeLocationCode.php:121 +#, fuzzy +msgid "The SQL to update the freightcosts records failed" +msgstr "الطلب المستخدم لإضافة مجموعة الحسابات هي" + +#: Z_ChangeLocationCode.php:125 Z_ChangeStockCode.php:109 +msgid "Changing stock location records" +msgstr "" + +#: Z_ChangeLocationCode.php:127 Z_ChangeStockCode.php:111 +msgid "The SQL to update stock location records failed" +msgstr "" + +#: Z_ChangeLocationCode.php:131 +msgid "Changing location transfer information (Shipping location)" +msgstr "" + +#: Z_ChangeLocationCode.php:133 Z_ChangeLocationCode.php:139 +#: Z_ChangeStockCode.php:124 +msgid "The SQL to update the loctransfers records failed" +msgstr "" + +#: Z_ChangeLocationCode.php:137 +msgid "Changing location transfer information (Receiving location)" +msgstr "" + +#: Z_ChangeLocationCode.php:147 +msgid "Changing MRP parameters information" +msgstr "" + +#: Z_ChangeLocationCode.php:149 +msgid "The SQL to update the mrpparameters records failed" +msgstr "" + +#: Z_ChangeLocationCode.php:154 +msgid "Changing purchase orders information" +msgstr "" + +#: Z_ChangeLocationCode.php:156 +#, fuzzy +msgid "The SQL to update the purchase orders records failed" +msgstr "الطلب المستخدم لإسترجاع المعلومات كان" + +#: Z_ChangeLocationCode.php:160 +msgid "Changing recurring sales orders information" +msgstr "" + +#: Z_ChangeLocationCode.php:162 +msgid "The SQL to update the recurring sales orders records failed" +msgstr "" + +#: Z_ChangeLocationCode.php:166 +msgid "Changing sales orders information" +msgstr "" + +#: Z_ChangeLocationCode.php:168 +msgid "The SQL to update the sales orders records failed" +msgstr "" + +#: Z_ChangeLocationCode.php:172 +msgid "Changing stock check freeze records" +msgstr "" + +#: Z_ChangeLocationCode.php:174 Z_ChangeStockCode.php:211 +msgid "The SQL to update stock check freeze records failed" +msgstr "" + +#: Z_ChangeLocationCode.php:178 +msgid "Changing stockcounts records" +msgstr "" + +#: Z_ChangeLocationCode.php:180 +#, fuzzy +msgid "The SQL to update stockcounts records failed" +msgstr "الطلب المستخدم لإضافة مجموعة الحسابات هي" + +#: Z_ChangeLocationCode.php:184 +msgid "Changing stockmoves records" +msgstr "" + +#: Z_ChangeLocationCode.php:186 +#, fuzzy +msgid "The SQL to update stockmoves records failed" +msgstr "الطلب المستخدم لإضافة مجموعة الحسابات هي" + +#: Z_ChangeLocationCode.php:190 +msgid "Changing stockrequest records" +msgstr "" + +#: Z_ChangeLocationCode.php:192 +msgid "The SQL to update stockrequest records failed" +msgstr "" + +#: Z_ChangeLocationCode.php:196 +msgid "Changing stockserialitems records" +msgstr "" + +#: Z_ChangeLocationCode.php:198 +msgid "The SQL to update stockserialitems records failed" +msgstr "" + +#: Z_ChangeLocationCode.php:202 +msgid "Changing tenders records" +msgstr "" + +#: Z_ChangeLocationCode.php:204 +#, fuzzy +msgid "The SQL to update tenders records failed" +msgstr "الطلب المستخدم لإضافة مجموعة الحسابات هي" + +#: Z_ChangeLocationCode.php:208 +msgid "Changing workcentres records" +msgstr "" + +#: Z_ChangeLocationCode.php:210 +msgid "The SQL to update workcentres records failed" +msgstr "" + +#: Z_ChangeLocationCode.php:214 +msgid "Changing workorders records" +msgstr "" + +#: Z_ChangeLocationCode.php:216 +#, fuzzy +msgid "The SQL to update workorders records failed" +msgstr "الطلب المستخدم لإسترجاع المعلومات كان" + +#: Z_ChangeLocationCode.php:220 +msgid "Changing users records" +msgstr "" + +#: Z_ChangeLocationCode.php:222 +msgid "The SQL to update users records failed" +msgstr "" + +#: Z_ChangeLocationCode.php:230 +msgid "Deleting the old location record" +msgstr "" + +#: Z_ChangeLocationCode.php:232 +#, fuzzy +msgid "The SQL to delete the old location record failed" +msgstr "الطلب المستخدم لإسترجاع المعلومات كان" + +#: Z_ChangeLocationCode.php:237 +msgid "Location code" +msgstr "" + +#: Z_ChangeLocationCode.php:237 Z_ChangeStockCategory.php:90 +#: Z_ChangeStockCode.php:319 +msgid "was successfully changed to" +msgstr "" + +#: Z_ChangeLocationCode.php:248 +msgid "Existing Location Code" +msgstr "" + +#: Z_ChangeLocationCode.php:252 +msgid "New Location Code" +msgstr "" + +#: Z_ChangeLocationCode.php:256 +#, fuzzy +msgid "New Location Name" +msgstr "رقم القطاع" + #: Z_ChangeStockCategory.php:6 msgid "UTILITY PAGE Change A Stock Category" msgstr "" @@ -31228,27 +31556,6 @@ msgid "The SQL to insert the new stock category record failed" msgstr "" -#: Z_ChangeStockCategory.php:66 Z_ChangeStockCategory.php:71 -#: Z_ChangeStockCategory.php:76 Z_ChangeStockCategory.php:81 -#: Z_ChangeStockCategory.php:89 Z_ChangeStockCode.php:107 -#: Z_ChangeStockCode.php:113 Z_ChangeStockCode.php:119 -#: Z_ChangeStockCode.php:126 Z_ChangeStockCode.php:132 -#: Z_ChangeStockCode.php:142 Z_ChangeStockCode.php:151 -#: Z_ChangeStockCode.php:159 Z_ChangeStockCode.php:166 -#: Z_ChangeStockCode.php:173 Z_ChangeStockCode.php:180 -#: Z_ChangeStockCode.php:187 Z_ChangeStockCode.php:194 -#: Z_ChangeStockCode.php:201 Z_ChangeStockCode.php:207 -#: Z_ChangeStockCode.php:213 Z_ChangeStockCode.php:219 -#: Z_ChangeStockCode.php:226 Z_ChangeStockCode.php:233 -#: Z_ChangeStockCode.php:240 Z_ChangeStockCode.php:248 -#: Z_ChangeStockCode.php:254 Z_ChangeStockCode.php:259 -#: Z_ChangeStockCode.php:266 Z_ChangeStockCode.php:274 -#: Z_ChangeStockCode.php:279 Z_ChangeStockCode.php:286 -#: Z_ChangeStockCode.php:292 Z_ChangeStockCode.php:304 -#: Z_ChangeStockCode.php:316 -msgid "completed" -msgstr "" - #: Z_ChangeStockCategory.php:67 msgid "Changing stock properties" msgstr "" @@ -31273,10 +31580,6 @@ msgid "The SQL to delete the old stock category record failed" msgstr "" -#: Z_ChangeStockCategory.php:90 Z_ChangeStockCode.php:319 -msgid "was successfully changed to" -msgstr "" - #: Z_ChangeStockCategory.php:99 msgid "Existing Inventory Category Code" msgstr "" @@ -31317,14 +31620,6 @@ msgid "The SQL to insert the new stock master record failed" msgstr "" -#: Z_ChangeStockCode.php:109 -msgid "Changing stock location records" -msgstr "" - -#: Z_ChangeStockCode.php:111 -msgid "The SQL to update stock location records failed" -msgstr "" - #: Z_ChangeStockCode.php:117 msgid "The SQL to update stock movement transaction records failed" msgstr "" @@ -31333,10 +31628,6 @@ msgid "Changing location transfer information" msgstr "" -#: Z_ChangeStockCode.php:124 -msgid "The SQL to update the loctransfers records failed" -msgstr "" - #: Z_ChangeStockCode.php:128 msgid "Changing MRP demands information" msgstr "" @@ -31401,10 +31692,6 @@ msgid "Changing the stock check freeze file records" msgstr "" -#: Z_ChangeStockCode.php:211 -msgid "The SQL to update stock check freeze records failed" -msgstr "" - #: Z_ChangeStockCode.php:215 msgid "Changing the stock counts table records" msgstr "" @@ -31429,18 +31716,10 @@ msgid "The SQL to contract BOM records failed" msgstr "" -#: Z_ChangeStockCode.php:236 Z_ChangeStockCode.php:244 -msgid "Changing the BOM table records" -msgstr "" - #: Z_ChangeStockCode.php:236 msgid "components" msgstr "" -#: Z_ChangeStockCode.php:238 -msgid "The SQL to update the BOM records failed" -msgstr "" - #: Z_ChangeStockCode.php:244 Z_ChangeStockCode.php:262 msgid "parents" msgstr "" @@ -33002,6 +33281,38 @@ msgid "Sales Integrity Check completed." msgstr "" +#: Z_StockConversion.php:8 +msgid "Stock Conversion Utility" +msgstr "" + +#: Z_StockConversion.php:14 +msgid "Inventory Conversion Utility" +msgstr "" + +#: Z_StockConversion.php:128 +msgid "Conversion Details" +msgstr "" + +#: Z_StockConversion.php:143 +msgid "Convert From Stock Code" +msgstr "" + +#: Z_StockConversion.php:148 +msgid "Convert To Stock Code" +msgstr "" + +#: Z_StockConversion.php:152 +msgid "Convert Stock At Location" +msgstr "" + +#: Z_StockConversion.php:176 +msgid "Quantity To Convert" +msgstr "" + +#: Z_StockConversion.php:186 +msgid "Convert Items" +msgstr "" + #: Z_test.php:6 msgid "Test Script" msgstr "" @@ -34440,62 +34751,66 @@ msgstr "" #: includes/MainMenuLinksArray.php:537 +msgid "Change A Location Code" +msgstr "" + +#: includes/MainMenuLinksArray.php:538 msgid "Update costs for all BOM items, from the bottom up" msgstr "" -#: includes/MainMenuLinksArray.php:538 +#: includes/MainMenuLinksArray.php:539 msgid "Re-apply costs to Sales Analysis" msgstr "" -#: includes/MainMenuLinksArray.php:539 +#: includes/MainMenuLinksArray.php:540 msgid "Delete sales transactions" msgstr "" -#: includes/MainMenuLinksArray.php:540 +#: includes/MainMenuLinksArray.php:541 msgid "Reverse all supplier payments on a specified date" msgstr "" -#: includes/MainMenuLinksArray.php:551 +#: includes/MainMenuLinksArray.php:553 msgid "Show Local Currency Total Debtor Balances" msgstr "" -#: includes/MainMenuLinksArray.php:552 +#: includes/MainMenuLinksArray.php:554 msgid "Show Local Currency Total Suppliers Balances" msgstr "" -#: includes/MainMenuLinksArray.php:553 +#: includes/MainMenuLinksArray.php:555 msgid "Show General Transactions That Do Not Balance" msgstr "" -#: includes/MainMenuLinksArray.php:559 +#: includes/MainMenuLinksArray.php:561 msgid "Maintain Language Files" msgstr "" -#: includes/MainMenuLinksArray.php:560 +#: includes/MainMenuLinksArray.php:562 msgid "Make New Company" msgstr "" -#: includes/MainMenuLinksArray.php:561 +#: includes/MainMenuLinksArray.php:563 msgid "Data Export Options" msgstr "" -#: includes/MainMenuLinksArray.php:562 +#: includes/MainMenuLinksArray.php:564 msgid "Import Stock Items from .csv" msgstr "" -#: includes/MainMenuLinksArray.php:563 +#: includes/MainMenuLinksArray.php:565 msgid "Import Fixed Assets from .csv file" msgstr "" -#: includes/MainMenuLinksArray.php:564 +#: includes/MainMenuLinksArray.php:566 msgid "Create new company template SQL file and submit to webERP" msgstr "" -#: includes/MainMenuLinksArray.php:565 +#: includes/MainMenuLinksArray.php:567 msgid "Re-calculate brought forward amounts in GL" msgstr "" -#: includes/MainMenuLinksArray.php:566 +#: includes/MainMenuLinksArray.php:568 msgid "Re-Post all GL transactions from a specified period" msgstr "" @@ -34515,8 +34830,8 @@ msgid "Message" msgstr "" -#: includes/MiscFunctions.php:231 includes/MiscFunctions.php:233 -#: includes/MiscFunctions.php:235 +#: includes/MiscFunctions.php:235 includes/MiscFunctions.php:237 +#: includes/MiscFunctions.php:239 msgid "Wiki " msgstr "" @@ -37768,10 +38083,10 @@ "error code in element 0 and the error string in element 1. " msgstr "" -#: api/api_xml-rpc.php:3399 +#: api/api_xml-rpc.php:3395 msgid "Parameters" msgstr "" -#: api/api_xml-rpc.php:3404 +#: api/api_xml-rpc.php:3400 msgid "Return Value" msgstr "" Modified: trunk/locale/cs_CZ.utf8/LC_MESSAGES/messages.mo =================================================================== (Binary files differ) Modified: trunk/locale/cs_CZ.utf8/LC_MESSAGES/messages.po =================================================================== --- trunk/locale/cs_CZ.utf8/LC_MESSAGES/messages.po 2012-06-23 08:48:47 UTC (rev 5446) +++ trunk/locale/cs_CZ.utf8/LC_MESSAGES/messages.po 2012-06-23 21:41:05 UTC (rev 5447) @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: webERP 3.08\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-16 16:39+1200\n" +"POT-Creation-Date: 2012-06-24 09:40+1200\n" "PO-Revision-Date: 2011-02-07 15:33+0000\n" "Last-Translator: Tim Schofield <Unknown>\n" "Language-Team: Czech <cs...@li...>\n" @@ -463,7 +463,7 @@ msgid "Section In Accounts" msgstr "Sekce v účtech" -#: AccountGroups.php:415 AccountSections.php:258 AddCustomerContacts.php:260 +#: AccountGroups.php:415 AccountSections.php:259 AddCustomerContacts.php:260 #: AddCustomerNotes.php:242 AddCustomerTypeNotes.php:221 Areas.php:228 #: BankAccounts.php:398 BOMs.php:785 COGSGLPostings.php:355 #: CreditStatus.php:259 Currencies.php:402 CustLoginSetup.php:273 @@ -605,8 +605,8 @@ #: AddCustomerContacts.php:126 CompanyPreferences.php:224 #: CustomerBranches.php:368 Customers.php:1020 Customers.php:1028 -#: SalesPeople.php:200 SelectCustomer.php:610 StockDispatch.php:243 -#: StockDispatch.php:254 StockDispatch.php:265 SupplierContacts.php:150 +#: SalesPeople.php:200 SelectCustomer.php:610 StockDispatch.php:237 +#: StockDispatch.php:248 StockDispatch.php:259 SupplierContacts.php:150 #: SuppTransGLAnalysis.php:105 includes/InputSerialItemsFile.php:92 #: includes/InputSerialItemsFile.php:144 includes/PDFTaxPageHeader.inc:37 msgid "Name" @@ -717,7 +717,7 @@ #: PcAuthorizeExpenses.php:88 PDFRemittanceAdvice.php:308 #: PrintCustTrans.php:826 PrintCustTransPortrait.php:870 ReverseGRN.php:392 #: ShipmentCosting.php:538 ShipmentCosting.php:615 Shipments.php:491 -#: StockDispatch.php:245 StockDispatch.php:256 StockDispatch.php:267 +#: StockDispatch.php:239 StockDispatch.php:250 StockDispatch.php:261 #: StockLocMovements.php:91 StockMovements.php:95 #: StockSerialItemResearch.php:81 SupplierAllocations.php:456 #: SupplierAllocations.php:569 SupplierAllocations.php:644 @@ -894,7 +894,7 @@ #: PrintCustOrder.php:233 ReorderLevel.php:63 ReorderLevel.php:182 #: SalesAnalysis_UserDefined.php:28 SelectCreditItems.php:30 StockCheck.php:46 #: StockCheck.php:68 StockCheck.php:99 StockCheck.php:142 StockCheck.php:153 -#: StockCheck.php:194 StockDispatch.php:100 StockDispatch.php:113 +#: StockCheck.php:194 StockDispatch.php:104 StockDispatch.php:117 #: SupplierBalsAtPeriodEnd.php:54 SupplierBalsAtPeriodEnd.php:65 #: SuppPaymentRun.php:112 SuppPaymentRun.php:122 SuppPaymentRun.php:186 #: SuppPaymentRun.php:217 SuppPriceList.php:134 Tax.php:63 Tax.php:168 @@ -1022,7 +1022,7 @@ #: OutstandingGRNs.php:182 PDFCustomerList.php:419 PDFLowGP.php:146 #: PDFPriceList.php:312 PDFRemittanceAdvice.php:175 #: PDFStockCheckComparison.php:361 PrintCustTrans.php:542 -#: PrintCustTransPortrait.php:579 ReorderLevel.php:259 StockDispatch.php:394 +#: PrintCustTransPortrait.php:579 ReorderLevel.php:259 StockDispatch.php:407 #: SupplierBalsAtPeriodEnd.php:160 SuppPriceList.php:255 Tax.php:352 msgid "Print PDF" msgstr "Tisknout PDF" @@ -1212,8 +1212,8 @@ #: SalesGraph.php:144 SalesGraph.php:146 SalesGraph.php:180 #: SalesInquiry.php:1079 SalesInquiry.php:1142 SelectCreditItems.php:955 #: SelectOrderItems.php:1626 SelectOrderItems.php:1629 SelectProduct.php:513 -#: SelectProduct.php:515 StockDispatch.php:59 StockDispatch.php:364 -#: StockDispatch.php:366 StockLocStatus.php:69 StockLocStatus.php:71 +#: SelectProduct.php:515 StockDispatch.php:59 StockDispatch.php:355 +#: StockDispatch.php:357 StockLocStatus.php:69 StockLocStatus.php:71 #: StockLocStatus.php:89 StockLocStatus.php:94 StockLocStatus.php:99 #: StockLocStatus.php:104 StockQuantityByDate.php:25 SupplierPriceList.php:23 #: SupplierPriceList.php:25 SupplierTenderCreate.php:647 @@ -1236,7 +1236,7 @@ msgstr "Konstantní" #: AuditTrail.php:82 InternalStockRequest.php:550 MRPReport.php:778 -#: PO_SelectPurchOrder.php:431 SelectContract.php:180 SelectProduct.php:780 +#: PO_SelectPurchOrder.php:431 SelectContract.php:180 SelectProduct.php:792 msgid "View" msgstr "Zobrazit" @@ -2060,7 +2060,7 @@ #: MRPPlannedWorkOrders.php:366 MRPReport.php:816 MRPReschedules.php:180 #: MRPShortages.php:334 PDFOrderStatus.php:308 PDFPriceList.php:344 #: PDFReceipt.php:31 PO_Header.php:829 PO_PDFPurchOrder.php:61 -#: PO_SelectOSPurchOrder.php:519 ReorderLevel.php:283 StockDispatch.php:424 +#: PO_SelectOSPurchOrder.php:519 ReorderLevel.php:283 StockDispatch.php:437 #: SuppPriceList.php:284 Tax.php:243 includes/PDFAgedDebtorsPageHeader.inc:34 #: includes/PDFAgedSuppliersPageHeader.inc:21 #: includes/PDFBalanceSheetPageHeader.inc:25 @@ -2099,7 +2099,7 @@ #: PrintCustOrder.php:170 PrintCustTrans.php:741 PrintCustTrans.php:950 #: PrintCustTrans.php:999 PrintCustTransPortrait.php:781 #: PrintCustTransPortrait.php:1003 PrintCustTransPortrait.php:1059 -#: ReorderLevel.php:284 StockDispatch.php:425 SuppPriceList.php:285 +#: ReorderLevel.php:284 StockDispatch.php:438 SuppPriceList.php:285 #: Tax.php:243 includes/PDFAgedDebtorsPageHeader.inc:34 #: includes/PDFAgedSuppliersPageHeader.inc:21 #: includes/PDFBalanceSheetPageHeader.inc:26 @@ -2156,12 +2156,11 @@ #: BOMExtendedQty.php:321 BOMInquiry.php:110 BOMs.php:883 #: CounterSales.php:2044 CounterSales.php:2233 InternalStockRequest.php:586 -#: NoSalesItems.php:157 PO_SelectOSPurchOrder.php:236 -#: PO_SelectPurchOrder.php:214 ReorderLevelLocation.php:70 -#: ReorderLevelLocation.php:71 SelectCompletedOrder.php:552 -#: SelectOrderItems.php:1506 SelectOrderItems.php:1690 -#: SelectSalesOrder.php:583 SelectWorkOrder.php:194 Shipt_Select.php:192 -#: TopItems.php:168 includes/PDFTopItemsHeader.inc:54 +#: PO_SelectOSPurchOrder.php:236 PO_SelectPurchOrder.php:214 +#: ReorderLevelLocation.php:70 ReorderLevelLocation.php:71 +#: SelectCompletedOrder.php:552 SelectOrderItems.php:1506 +#: SelectOrderItems.php:1690 SelectSalesOrder.php:583 SelectWorkOrder.php:194 +#: Shipt_Select.php:192 TopItems.php:168 includes/PDFTopItemsHeader.inc:54 msgid "On Hand" msgstr "Na ruce" @@ -2181,7 +2180,7 @@ #: POReport.php:539 POReport.php:625 POReport.php:725 POReport.php:1267 #: POReport.php:1276 POReport.php:1290 POReport.php:1305 POReport.php:1356 #: POReport.php:1419 POReport.php:1523 POReport.php:1588 POReport.php:1597 -#: ReorderLevel.php:297 StockDispatch.php:445 StockDispatch.php:452 +#: ReorderLevel.php:297 StockDispatch.php:463 StockDispatch.php:470 msgid "Part Number" msgstr "Číslo dílu" @@ -2249,9 +2248,9 @@ #: SecurityTokens.php:104 SecurityTokens.php:120 SelectAsset.php:255 #: SelectCompletedOrder.php:551 SelectContract.php:140 #: SelectCreditItems.php:991 SelectOrderItems.php:1504 -#: SelectOrderItems.php:1688 SelectProduct.php:525 SelectProduct.php:744 +#: SelectOrderItems.php:1688 SelectProduct.php:525 SelectProduct.php:756 #: SelectSalesOrder.php:582 SelectWorkOrder.php:193 Shipt_Select.php:191 -#: StockCategories.php:234 StockDispatch.php:446 StockLocStatus.php:168 +#: StockCategories.php:234 StockDispatch.php:464 StockLocStatus.php:168 #: StockQuantityByDate.php:108 SuppCreditGRNs.php:92 SuppCreditGRNs.php:187 #: SuppFixedAssetChgs.php:75 SuppInvGRNs.php:126 SuppInvGRNs.php:307 #: SupplierCredit.php:317 SupplierCredit.php:385 SupplierInvoice.php:294 @@ -2268,7 +2267,7 @@ #: includes/PDFStockLocTransferHeader.inc:49 #: includes/PDFStockTransferHeader.inc:36 includes/PDFTopItemsHeader.inc:50 #: includes/PDFTransPageHeader.inc:207 -#: includes/PDFTransPageHeaderPortrait.inc:262 api/api_xml-rpc.php:3398 +#: includes/PDFTransPageHeaderPortrait.inc:262 api/api_xml-rpc.php:3394 msgid "Description" msgstr "Popis" @@ -2440,7 +2439,7 @@ #: PricesByCost.php:151 PurchData.php:382 ReorderLevelLocation.php:67 #: SalesPeople.php:199 SelectCompletedOrder.php:550 SelectCreditItems.php:990 #: SelectCustomer.php:415 SelectGLAccount.php:119 SelectOrderItems.php:1503 -#: SelectOrderItems.php:1687 SelectProduct.php:743 SelectSalesOrder.php:581 +#: SelectOrderItems.php:1687 SelectProduct.php:755 SelectSalesOrder.php:581 #: SelectSupplier.php:259 SelectWorkOrder.php:192 Shipt_Select.php:190 #: SpecialOrder.php:149 SupplierPriceList.php:260 SupplierPriceList.php:445 #: SupplierTenderCreate.php:583 SupplierTenderCreate.php:817 @@ -2456,11 +2455,11 @@ #: Credit_Invoice.php:273 GoodsReceived.php:102 GoodsReceived.php:106 #: InternalStockRequestAuthorisation.php:89 #: InternalStockRequestFulfill.php:301 InternalStockRequest.php:518 -#: InternalStockRequest.php:585 MRPReport.php:751 NoSalesItems.php:158 +#: InternalStockRequest.php:585 MRPReport.php:751 NoSalesItems.php:159 #: OffersReceived.php:109 PO_Items.php:1076 PO_SelectOSPurchOrder.php:238 #: PO_SelectPurchOrder.php:216 SelectCompletedOrder.php:555 #: SelectCreditItems.php:992 SelectOrderItems.php:1505 -#: SelectOrderItems.php:1689 SelectProduct.php:121 SelectProduct.php:746 +#: SelectOrderItems.php:1689 SelectProduct.php:121 SelectProduct.php:758 #: SelectSalesOrder.php:584 SelectWorkOrder.php:195 Shipments.php:402 #: Shipments.php:489 Shipt_Select.php:194 StockLocTransferReceive.php:433 #: SupplierPriceList.php:262 SupplierTenderCreate.php:819 @@ -2593,7 +2592,7 @@ #: PaymentTerms.php:196 PO_SelectOSPurchOrder.php:524 #: SalesAnalReptCols.php:285 SelectProduct.php:119 SelectProduct.php:165 #: SelectProduct.php:178 SelectProduct.php:262 SelectProduct.php:263 -#: SelectProduct.php:765 TopItems.php:187 TopItems.php:188 +#: SelectProduct.php:777 TopItems.php:187 TopItems.php:188 msgid "N/A" msgstr "N / A" @@ -2614,11 +2613,11 @@ msgstr "Datum účinnosti, musí být zadáno ve formátu" #: BOMs.php:254 StockAdjustments.php:135 StockTransfers.php:172 -#: WorkOrderEntry.php:281 +#: WorkOrderEntry.php:281 Z_StockConversion.php:26 msgid "The quantity entered must be numeric" msgstr "Množství uvedené musí být číslo" -#: BOMs.php:260 StockAdjustments.php:138 +#: BO... [truncated message content] |
From: <dai...@us...> - 2012-06-23 21:41:16
|
Revision: 5447 http://web-erp.svn.sourceforge.net/web-erp/?rev=5447&view=rev Author: daintree Date: 2012-06-23 21:41:05 +0000 (Sat, 23 Jun 2012) Log Message: ----------- before 4.08.1 Modified Paths: -------------- trunk/UpgradeDatabase.php trunk/doc/Change.log trunk/includes/ConnectDB.inc trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.mo trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.po trunk/locale/cs_CZ.utf8/LC_MESSAGES/messages.mo trunk/locale/cs_CZ.utf8/LC_MESSAGES/messages.po trunk/locale/de_DE.utf8/LC_MESSAGES/messages.mo trunk/locale/de_DE.utf8/LC_MESSAGES/messages.po trunk/locale/el_GR.utf8/LC_MESSAGES/messages.mo trunk/locale/el_GR.utf8/LC_MESSAGES/messages.po trunk/locale/en_GB.utf8/LC_MESSAGES/messages.pot trunk/locale/en_US.utf8/LC_MESSAGES/messages.mo trunk/locale/en_US.utf8/LC_MESSAGES/messages.po trunk/locale/es_ES.utf8/LC_MESSAGES/messages.mo trunk/locale/es_ES.utf8/LC_MESSAGES/messages.po trunk/locale/et_EE.utf8/LC_MESSAGES/messages.mo trunk/locale/et_EE.utf8/LC_MESSAGES/messages.po trunk/locale/fr_FR.utf8/LC_MESSAGES/messages.mo trunk/locale/fr_FR.utf8/LC_MESSAGES/messages.po trunk/locale/hi_IN.utf8/LC_MESSAGES/messages.mo trunk/locale/hi_IN.utf8/LC_MESSAGES/messages.po trunk/locale/hr_HR.utf8/LC_MESSAGES/messages.mo trunk/locale/hr_HR.utf8/LC_MESSAGES/messages.po trunk/locale/hu_HU.utf8/LC_MESSAGES/messages.mo trunk/locale/hu_HU.utf8/LC_MESSAGES/messages.po trunk/locale/id_ID.utf8/LC_MESSAGES/messages.mo trunk/locale/id_ID.utf8/LC_MESSAGES/messages.po trunk/locale/it_IT.utf8/LC_MESSAGES/messages.mo trunk/locale/it_IT.utf8/LC_MESSAGES/messages.po trunk/locale/ja_JP.utf8/LC_MESSAGES/messages.mo trunk/locale/ja_JP.utf8/LC_MESSAGES/messages.po trunk/locale/lv_LV.utf8/LC_MESSAGES/messages.mo trunk/locale/lv_LV.utf8/LC_MESSAGES/messages.po trunk/locale/nl_NL.utf8/LC_MESSAGES/messages.mo trunk/locale/nl_NL.utf8/LC_MESSAGES/messages.po trunk/locale/pl_PL.utf8/LC_MESSAGES/messages.mo trunk/locale/pl_PL.utf8/LC_MESSAGES/messages.po trunk/locale/pt_BR.utf8/LC_MESSAGES/messages.mo trunk/locale/pt_BR.utf8/LC_MESSAGES/messages.po trunk/locale/pt_PT.utf8/LC_MESSAGES/messages.mo trunk/locale/pt_PT.utf8/LC_MESSAGES/messages.po trunk/locale/ro_RO.utf8/LC_MESSAGES/messages.mo trunk/locale/ro_RO.utf8/LC_MESSAGES/messages.po trunk/locale/ru_RU.utf8/LC_MESSAGES/messages.mo trunk/locale/ru_RU.utf8/LC_MESSAGES/messages.po trunk/locale/sq_AL.utf8/LC_MESSAGES/messages.mo trunk/locale/sq_AL.utf8/LC_MESSAGES/messages.po trunk/locale/sv_SE.utf8/LC_MESSAGES/messages.mo trunk/locale/sv_SE.utf8/LC_MESSAGES/messages.po trunk/locale/sw_KE.utf8/LC_MESSAGES/messages.mo trunk/locale/sw_KE.utf8/LC_MESSAGES/messages.po trunk/locale/tr_TR.utf8/LC_MESSAGES/messages.mo trunk/locale/tr_TR.utf8/LC_MESSAGES/messages.po trunk/locale/vi_VN.utf8/LC_MESSAGES/messages.mo trunk/locale/vi_VN.utf8/LC_MESSAGES/messages.po trunk/locale/zh_CN.utf8/LC_MESSAGES/messages.mo trunk/locale/zh_CN.utf8/LC_MESSAGES/messages.po trunk/locale/zh_HK.utf8/LC_MESSAGES/messages.mo trunk/locale/zh_HK.utf8/LC_MESSAGES/messages.po trunk/sql/mysql/weberp-demo.sql trunk/sql/mysql/weberp-new.sql Removed Paths: ------------- branches/stable/ Modified: trunk/UpgradeDatabase.php =================================================================== --- trunk/UpgradeDatabase.php 2012-06-23 08:48:47 UTC (rev 5446) +++ trunk/UpgradeDatabase.php 2012-06-23 21:41:05 UTC (rev 5447) @@ -145,6 +145,7 @@ case '4.07.6': $SQLScripts[] = './sql/mysql/upgrade4.07-4.08.sql'; case '4.08.0': + case '4.08.1': break; } //end switch } Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2012-06-23 08:48:47 UTC (rev 5446) +++ trunk/doc/Change.log 2012-06-23 21:41:05 UTC (rev 5447) @@ -1,5 +1,7 @@ webERP Change Log +24/6/2012 Release 4.08.1 + 22/06/2012 Icedlava: Fixed bug preventing insert of new account section 21/06/2012 Phil: Added tooltip of long description to SelectProduct.php 20/06/2012 Ricard: Added total QOH to NoSalesItems.php. Modified: trunk/includes/ConnectDB.inc =================================================================== --- trunk/includes/ConnectDB.inc 2012-06-23 08:48:47 UTC (rev 5446) +++ trunk/includes/ConnectDB.inc 2012-06-23 21:41:05 UTC (rev 5447) @@ -4,7 +4,7 @@ * this value is saved in the $_SESSION['Versionumber'] when includes/GetConfig.php is run * if VersionNumber is < $Version then the DB update script is run */ -$Version='4.08'; //must update manually every time there is a DB change +$Version='4.08.1'; //must update manually every time there is a DB change require_once ($PathPrefix .'includes/MiscFunctions.php'); Modified: trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.mo =================================================================== (Binary files differ) Modified: trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.po =================================================================== --- trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.po 2012-06-23 08:48:47 UTC (rev 5446) +++ trunk/locale/ar_EG.utf8/LC_MESSAGES/messages.po 2012-06-23 21:41:05 UTC (rev 5447) @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: web-erp\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-16 16:39+1200\n" +"POT-Creation-Date: 2012-06-24 09:40+1200\n" "PO-Revision-Date: 2012-01-26 10:26+0000\n" "Last-Translator: JC_Chuck <Unknown>\n" "Language-Team: Arabic <ar...@li...>\n" @@ -447,7 +447,7 @@ msgid "Section In Accounts" msgstr "" -#: AccountGroups.php:415 AccountSections.php:258 AddCustomerContacts.php:260 +#: AccountGroups.php:415 AccountSections.php:259 AddCustomerContacts.php:260 #: AddCustomerNotes.php:242 AddCustomerTypeNotes.php:221 Areas.php:228 #: BankAccounts.php:398 BOMs.php:785 COGSGLPostings.php:355 #: CreditStatus.php:259 Currencies.php:402 CustLoginSetup.php:273 @@ -582,8 +582,8 @@ #: AddCustomerContacts.php:126 CompanyPreferences.php:224 #: CustomerBranches.php:368 Customers.php:1020 Customers.php:1028 -#: SalesPeople.php:200 SelectCustomer.php:610 StockDispatch.php:243 -#: StockDispatch.php:254 StockDispatch.php:265 SupplierContacts.php:150 +#: SalesPeople.php:200 SelectCustomer.php:610 StockDispatch.php:237 +#: StockDispatch.php:248 StockDispatch.php:259 SupplierContacts.php:150 #: SuppTransGLAnalysis.php:105 includes/InputSerialItemsFile.php:92 #: includes/InputSerialItemsFile.php:144 includes/PDFTaxPageHeader.inc:37 msgid "Name" @@ -694,7 +694,7 @@ #: PcAuthorizeExpenses.php:88 PDFRemittanceAdvice.php:308 #: PrintCustTrans.php:826 PrintCustTransPortrait.php:870 ReverseGRN.php:392 #: ShipmentCosting.php:538 ShipmentCosting.php:615 Shipments.php:491 -#: StockDispatch.php:245 StockDispatch.php:256 StockDispatch.php:267 +#: StockDispatch.php:239 StockDispatch.php:250 StockDispatch.php:261 #: StockLocMovements.php:91 StockMovements.php:95 #: StockSerialItemResearch.php:81 SupplierAllocations.php:456 #: SupplierAllocations.php:569 SupplierAllocations.php:644 @@ -870,7 +870,7 @@ #: PrintCustOrder.php:233 ReorderLevel.php:63 ReorderLevel.php:182 #: SalesAnalysis_UserDefined.php:28 SelectCreditItems.php:30 StockCheck.php:46 #: StockCheck.php:68 StockCheck.php:99 StockCheck.php:142 StockCheck.php:153 -#: StockCheck.php:194 StockDispatch.php:100 StockDispatch.php:113 +#: StockCheck.php:194 StockDispatch.php:104 StockDispatch.php:117 #: SupplierBalsAtPeriodEnd.php:54 SupplierBalsAtPeriodEnd.php:65 #: SuppPaymentRun.php:112 SuppPaymentRun.php:122 SuppPaymentRun.php:186 #: SuppPaymentRun.php:217 SuppPriceList.php:134 Tax.php:63 Tax.php:168 @@ -996,7 +996,7 @@ #: OutstandingGRNs.php:182 PDFCustomerList.php:419 PDFLowGP.php:146 #: PDFPriceList.php:312 PDFRemittanceAdvice.php:175 #: PDFStockCheckComparison.php:361 PrintCustTrans.php:542 -#: PrintCustTransPortrait.php:579 ReorderLevel.php:259 StockDispatch.php:394 +#: PrintCustTransPortrait.php:579 ReorderLevel.php:259 StockDispatch.php:407 #: SupplierBalsAtPeriodEnd.php:160 SuppPriceList.php:255 Tax.php:352 msgid "Print PDF" msgstr "" @@ -1181,8 +1181,8 @@ #: SalesGraph.php:144 SalesGraph.php:146 SalesGraph.php:180 #: SalesInquiry.php:1079 SalesInquiry.php:1142 SelectCreditItems.php:955 #: SelectOrderItems.php:1626 SelectOrderItems.php:1629 SelectProduct.php:513 -#: SelectProduct.php:515 StockDispatch.php:59 StockDispatch.php:364 -#: StockDispatch.php:366 StockLocStatus.php:69 StockLocStatus.php:71 +#: SelectProduct.php:515 StockDispatch.php:59 StockDispatch.php:355 +#: StockDispatch.php:357 StockLocStatus.php:69 StockLocStatus.php:71 #: StockLocStatus.php:89 StockLocStatus.php:94 StockLocStatus.php:99 #: StockLocStatus.php:104 StockQuantityByDate.php:25 SupplierPriceList.php:23 #: SupplierPriceList.php:25 SupplierTenderCreate.php:647 @@ -1204,7 +1204,7 @@ msgstr "" #: AuditTrail.php:82 InternalStockRequest.php:550 MRPReport.php:778 -#: PO_SelectPurchOrder.php:431 SelectContract.php:180 SelectProduct.php:780 +#: PO_SelectPurchOrder.php:431 SelectContract.php:180 SelectProduct.php:792 msgid "View" msgstr "" @@ -2000,7 +2000,7 @@ #: MRPPlannedWorkOrders.php:366 MRPReport.php:816 MRPReschedules.php:180 #: MRPShortages.php:334 PDFOrderStatus.php:308 PDFPriceList.php:344 #: PDFReceipt.php:31 PO_Header.php:829 PO_PDFPurchOrder.php:61 -#: PO_SelectOSPurchOrder.php:519 ReorderLevel.php:283 StockDispatch.php:424 +#: PO_SelectOSPurchOrder.php:519 ReorderLevel.php:283 StockDispatch.php:437 #: SuppPriceList.php:284 Tax.php:243 includes/PDFAgedDebtorsPageHeader.inc:34 #: includes/PDFAgedSuppliersPageHeader.inc:21 #: includes/PDFBalanceSheetPageHeader.inc:25 @@ -2039,7 +2039,7 @@ #: PrintCustOrder.php:170 PrintCustTrans.php:741 PrintCustTrans.php:950 #: PrintCustTrans.php:999 PrintCustTransPortrait.php:781 #: PrintCustTransPortrait.php:1003 PrintCustTransPortrait.php:1059 -#: ReorderLevel.php:284 StockDispatch.php:425 SuppPriceList.php:285 +#: ReorderLevel.php:284 StockDispatch.php:438 SuppPriceList.php:285 #: Tax.php:243 includes/PDFAgedDebtorsPageHeader.inc:34 #: includes/PDFAgedSuppliersPageHeader.inc:21 #: includes/PDFBalanceSheetPageHeader.inc:26 @@ -2096,12 +2096,11 @@ #: BOMExtendedQty.php:321 BOMInquiry.php:110 BOMs.php:883 #: CounterSales.php:2044 CounterSales.php:2233 InternalStockRequest.php:586 -#: NoSalesItems.php:157 PO_SelectOSPurchOrder.php:236 -#: PO_SelectPurchOrder.php:214 ReorderLevelLocation.php:70 -#: ReorderLevelLocation.php:71 SelectCompletedOrder.php:552 -#: SelectOrderItems.php:1506 SelectOrderItems.php:1690 -#: SelectSalesOrder.php:583 SelectWorkOrder.php:194 Shipt_Select.php:192 -#: TopItems.php:168 includes/PDFTopItemsHeader.inc:54 +#: PO_SelectOSPurchOrder.php:236 PO_SelectPurchOrder.php:214 +#: ReorderLevelLocation.php:70 ReorderLevelLocation.php:71 +#: SelectCompletedOrder.php:552 SelectOrderItems.php:1506 +#: SelectOrderItems.php:1690 SelectSalesOrder.php:583 SelectWorkOrder.php:194 +#: Shipt_Select.php:192 TopItems.php:168 includes/PDFTopItemsHeader.inc:54 msgid "On Hand" msgstr "" @@ -2121,7 +2120,7 @@ #: POReport.php:539 POReport.php:625 POReport.php:725 POReport.php:1267 #: POReport.php:1276 POReport.php:1290 POReport.php:1305 POReport.php:1356 #: POReport.php:1419 POReport.php:1523 POReport.php:1588 POReport.php:1597 -#: ReorderLevel.php:297 StockDispatch.php:445 StockDispatch.php:452 +#: ReorderLevel.php:297 StockDispatch.php:463 StockDispatch.php:470 msgid "Part Number" msgstr "" @@ -2189,9 +2188,9 @@ #: SecurityTokens.php:104 SecurityTokens.php:120 SelectAsset.php:255 #: SelectCompletedOrder.php:551 SelectContract.php:140 #: SelectCreditItems.php:991 SelectOrderItems.php:1504 -#: SelectOrderItems.php:1688 SelectProduct.php:525 SelectProduct.php:744 +#: SelectOrderItems.php:1688 SelectProduct.php:525 SelectProduct.php:756 #: SelectSalesOrder.php:582 SelectWorkOrder.php:193 Shipt_Select.php:191 -#: StockCategories.php:234 StockDispatch.php:446 StockLocStatus.php:168 +#: StockCategories.php:234 StockDispatch.php:464 StockLocStatus.php:168 #: StockQuantityByDate.php:108 SuppCreditGRNs.php:92 SuppCreditGRNs.php:187 #: SuppFixedAssetChgs.php:75 SuppInvGRNs.php:126 SuppInvGRNs.php:307 #: SupplierCredit.php:317 SupplierCredit.php:385 SupplierInvoice.php:294 @@ -2208,7 +2207,7 @@ #: includes/PDFStockLocTransferHeader.inc:49 #: includes/PDFStockTransferHeader.inc:36 includes/PDFTopItemsHeader.inc:50 #: includes/PDFTransPageHeader.inc:207 -#: includes/PDFTransPageHeaderPortrait.inc:262 api/api_xml-rpc.php:3398 +#: includes/PDFTransPageHeaderPortrait.inc:262 api/api_xml-rpc.php:3394 msgid "Description" msgstr "" @@ -2376,7 +2375,7 @@ #: PricesByCost.php:151 PurchData.php:382 ReorderLevelLocation.php:67 #: SalesPeople.php:199 SelectCompletedOrder.php:550 SelectCreditItems.php:990 #: SelectCustomer.php:415 SelectGLAccount.php:119 SelectOrderItems.php:1503 -#: SelectOrderItems.php:1687 SelectProduct.php:743 SelectSalesOrder.php:581 +#: SelectOrderItems.php:1687 SelectProduct.php:755 SelectSalesOrder.php:581 #: SelectSupplier.php:259 SelectWorkOrder.php:192 Shipt_Select.php:190 #: SpecialOrder.php:149 SupplierPriceList.php:260 SupplierPriceList.php:445 #: SupplierTenderCreate.php:583 SupplierTenderCreate.php:817 @@ -2392,11 +2391,11 @@ #: Credit_Invoice.php:273 GoodsReceived.php:102 GoodsReceived.php:106 #: InternalStockRequestAuthorisation.php:89 #: InternalStockRequestFulfill.php:301 InternalStockRequest.php:518 -#: InternalStockRequest.php:585 MRPReport.php:751 NoSalesItems.php:158 +#: InternalStockRequest.php:585 MRPReport.php:751 NoSalesItems.php:159 #: OffersReceived.php:109 PO_Items.php:1076 PO_SelectOSPurchOrder.php:238 #: PO_SelectPurchOrder.php:216 SelectCompletedOrder.php:555 #: SelectCreditItems.php:992 SelectOrderItems.php:1505 -#: SelectOrderItems.php:1689 SelectProduct.php:121 SelectProduct.php:746 +#: SelectOrderItems.php:1689 SelectProduct.php:121 SelectProduct.php:758 #: SelectSalesOrder.php:584 SelectWorkOrder.php:195 Shipments.php:402 #: Shipments.php:489 Shipt_Select.php:194 StockLocTransferReceive.php:433 #: SupplierPriceList.php:262 SupplierTenderCreate.php:819 @@ -2527,7 +2526,7 @@ #: PaymentTerms.php:196 PO_SelectOSPurchOrder.php:524 #: SalesAnalReptCols.php:285 SelectProduct.php:119 SelectProduct.php:165 #: SelectProduct.php:178 SelectProduct.php:262 SelectProduct.php:263 -#: SelectProduct.php:765 TopItems.php:187 TopItems.php:188 +#: SelectProduct.php:777 TopItems.php:187 TopItems.php:188 msgid "N/A" msgstr "" @@ -2546,11 +2545,11 @@ msgstr "" #: BOMs.php:254 StockAdjustments.php:135 StockTransfers.php:172 -#: WorkOrderEntry.php:281 +#: WorkOrderEntry.php:281 Z_StockConversion.php:26 msgid "The quantity entered must be numeric" msgstr "" -#: BOMs.php:260 StockAdjustments.php:138 +#: BOMs.php:260 StockAdjustments.php:138 Z_StockConversion.php:29 msgid "The quantity entered cannot be zero" msgstr "" @@ -3643,7 +3642,7 @@ #: ShipmentCosting.php:432 ShipmentCosting.php:451 ShipmentCosting.php:465 #: StockAdjustments.php:203 StockAdjustments.php:234 StockAdjustments.php:252 #: StockAdjustments.php:268 StockAdjustments.php:281 StockAdjustments.php:309 -#: StockAdjustments.php:331 StockDispatch.php:235 StockLocTransfer.php:189 +#: StockAdjustments.php:331 StockDispatch.php:229 StockLocTransfer.php:189 #: StockLocTransfer.php:213 StockLocTransfer.php:217 #: StockLocTransferReceive.php:102 StockLocTransferReceive.php:136 #: StockLocTransferReceive.php:150 StockLocTransferReceive.php:169 @@ -3686,9 +3685,9 @@ #: WorkOrderReceive.php:499 WorkOrderReceive.php:514 WorkOrderReceive.php:524 #: WorkOrderReceive.php:543 WorkOrderReceive.php:570 WorkOrderReceive.php:585 #: WorkOrderReceive.php:605 WorkOrderReceive.php:639 WorkOrderReceive.php:659 -#: WorkOrderReceive.php:669 includes/SQL_CommonFunctions.inc:24 -#: includes/SQL_CommonFunctions.inc:31 includes/SQL_CommonFunctions.inc:185 -#: includes/SQL_CommonFunctions.inc:204 +#: WorkOrderReceive.php:669 Z_StockConversion.php:94 Z_StockConversion.php:106 +#: includes/SQL_CommonFunctions.inc:24 includes/SQL_CommonFunctions.inc:31 +#: includes/SQL_CommonFunctions.inc:185 includes/SQL_CommonFunctions.inc:204 msgid "CRITICAL ERROR" msgstr "" @@ -3800,9 +3799,10 @@ #: WorkOrderReceive.php:462 WorkOrderReceive.php:499 WorkOrderReceive.php:514 #: WorkOrderReceive.php:524 WorkOrderReceive.php:543 WorkOrderReceive.php:570 #: WorkOrderReceive.php:585 WorkOrderReceive.php:605 WorkOrderReceive.php:639 -#: WorkOrderReceive.php:659 WorkOrderReceive.php:669 -#: includes/SQL_CommonFunctions.inc:24 includes/SQL_CommonFunctions.inc:31 -#: includes/SQL_CommonFunctions.inc:185 includes/SQL_CommonFunctions.inc:204 +#: WorkOrderReceive.php:659 WorkOrderReceive.php:669 Z_StockConversion.php:94 +#: Z_StockConversion.php:106 includes/SQL_CommonFunctions.inc:24 +#: includes/SQL_CommonFunctions.inc:31 includes/SQL_CommonFunctions.inc:185 +#: includes/SQL_CommonFunctions.inc:204 msgid "NOTE DOWN THIS ERROR AND SEEK ASSISTANCE" msgstr "" @@ -4276,8 +4276,8 @@ msgstr "" #: ContractBOM.php:140 PO_Items.php:990 SupplierTenderCreate.php:800 -#: SupplierTenders.php:670 Z_ChangeStockCategory.php:63 -#: Z_ChangeStockCode.php:104 +#: SupplierTenders.php:670 Z_ChangeLocationCode.php:90 +#: Z_ChangeStockCategory.php:63 Z_ChangeStockCode.php:104 msgid "The SQL statement that failed was" msgstr "" @@ -4560,7 +4560,7 @@ #: PDFStockCheckComparison.php:127 ReverseGRN.php:219 StockAdjustments.php:281 #: StockLocTransferReceive.php:293 StockLocTransferReceive.php:302 #: StockTransfers.php:431 StockTransfers.php:440 WorkOrderIssue.php:161 -#: WorkOrderReceive.php:432 +#: WorkOrderReceive.php:432 Z_StockConversion.php:106 msgid "The location stock record could not be updated because" msgstr "" @@ -5097,7 +5097,7 @@ #: Contracts.php:845 InventoryQuantities.php:237 PDFPriceList.php:365 #: PricesByCost.php:244 ReorderLevelLocation.php:172 ReorderLevel.php:286 #: SalesCategoryPeriodInquiry.php:164 SalesTopItemsInquiry.php:221 -#: SpecialOrder.php:697 StockDispatch.php:434 Stocks.php:881 +#: SpecialOrder.php:697 StockDispatch.php:447 Stocks.php:881 #: SuppPriceList.php:229 SuppPriceList.php:291 #: includes/PDFInventoryValnPageHeader.inc:32 #: includes/PDFInventoryValnPageHeader.inc:38 @@ -5484,7 +5484,8 @@ #: SuppContractChgs.php:168 SupplierCredit.php:421 SupplierCredit.php:460 #: SupplierInvoice.php:414 SupplierInvoice.php:458 #: SupplierTransInquiry.php:174 SuppTransGLAnalysis.php:107 -#: SuppTransGLAnalysis.php:200 includes/PDFBankingSummaryPageHeader.inc:58 +#: SuppTransGLAnalysis.php:200 Z_StockConversion.php:172 +#: includes/PDFBankingSummaryPageHeader.inc:58 msgid "Narrative" msgstr "" @@ -5742,8 +5743,8 @@ msgstr "" #: CounterSales.php:2047 CounterSales.php:2236 InternalStockRequest.php:589 -#: SelectOrderItems.php:1509 SelectOrderItems.php:1693 StockDispatch.php:459 -#: StockDispatch.php:460 StockLocStatus.php:172 StockStatus.php:90 +#: SelectOrderItems.php:1509 SelectOrderItems.php:1693 StockDispatch.php:477 +#: StockDispatch.php:478 StockLocStatus.php:172 StockStatus.php:90 #: includes/OutputSerialItems.php:37 includes/PDFStockCheckPageHeader.inc:40 msgid "Available" msgstr "" @@ -5804,7 +5805,7 @@ #: CounterSales.php:2227 CounterSales.php:2352 InternalStockRequest.php:506 #: InternalStockRequest.php:581 InternalStockRequest.php:703 MRPReport.php:740 #: SelectAsset.php:248 SelectCustomer.php:409 SelectCustomer.php:492 -#: SelectOrderItems.php:1685 SelectOrderItems.php:1805 SelectProduct.php:734 +#: SelectOrderItems.php:1685 SelectOrderItems.php:1805 SelectProduct.php:746 #: SelectSupplier.php:250 SelectSupplier.php:312 SupplierPriceList.php:251 #: SupplierTenderCreate.php:574 msgid "Next" @@ -7640,7 +7641,7 @@ #: CustomerReceipt.php:904 GoodsReceived.php:103 GoodsReceived.php:107 #: GoodsReceived.php:113 POReport.php:629 POReport.php:1360 ReverseGRN.php:392 #: ReverseGRN.php:393 ShipmentCosting.php:150 Shipments.php:403 -#: Shipments.php:490 StockDispatch.php:450 StockDispatch.php:457 +#: Shipments.php:490 StockDispatch.php:468 StockDispatch.php:475 #: SuppCreditGRNs.php:189 msgid "Received" msgstr "" @@ -8041,7 +8042,7 @@ #: FixedAssetRegister.php:358 PcReportTab.php:139 PcReportTab.php:260 #: SalesAnalRepts.php:432 SalesAnalRepts.php:460 SalesAnalRepts.php:489 #: SalesAnalRepts.php:508 ShipmentCosting.php:56 Shipments.php:308 -#: StockDispatch.php:454 StockLocTransferReceive.php:209 +#: StockDispatch.php:472 StockLocTransferReceive.php:209 #: StockTransfers.php:349 SuppContractChgs.php:72 SuppCreditGRNs.php:179 #: SuppFixedAssetChgs.php:70 SupplierTransInquiry.php:51 SuppShiptChgs.php:77 #: includes/PDFChequeListingPageHeader.inc:17 @@ -8062,7 +8063,7 @@ #: CustomerTransInquiry.php:54 FixedAssetRegister.php:359 PcReportTab.php:266 #: POReport.php:517 POReport.php:1519 SalesAnalRepts.php:433 #: SalesAnalRepts.php:461 SalesAnalRepts.php:490 SalesAnalRepts.php:509 -#: SalesInquiry.php:780 SalesInquiry.php:1090 StockDispatch.php:455 +#: SalesInquiry.php:780 SalesInquiry.php:1090 StockDispatch.php:473 #: StockLocTransferReceive.php:97 SupplierTransInquiry.php:53 #: includes/PO_PDFOrderPageHeader.inc:41 msgid "To" @@ -9767,7 +9768,7 @@ msgid "View Currency Trend" msgstr "" -#: ExchangeRateTrend.php:66 +#: ExchangeRateTrend.php:66 ExchangeRateTrend.php:74 msgid "Trend Currently Unavailable" msgstr "" @@ -12443,21 +12444,21 @@ #: ImportStockQuantites.php:155 InternalStockRequestFulfill.php:82 #: PDFStockCheckComparison.php:119 StockAdjustments.php:203 #: StockLocTransferReceive.php:102 StockTransfers.php:239 -#: StockTransfers.php:353 +#: StockTransfers.php:353 Z_StockConversion.php:94 msgid "The stock movement record cannot be inserted because" msgstr "" #: ImportStockQuantites.php:156 InternalStockRequestFulfill.php:83 #: PDFStockCheckComparison.php:120 StockAdjustments.php:204 #: StockLocTransferReceive.php:103 StockLocTransferReceive.php:215 -#: StockTransfers.php:240 StockTransfers.php:354 +#: StockTransfers.php:240 StockTransfers.php:354 Z_StockConversion.php:95 msgid "The following SQL to insert the stock movement record was used" msgstr "" #: ImportStockQuantites.php:164 InternalStockRequestFulfill.php:96 #: InternalStockRequestFulfill.php:104 PDFStockCheckComparison.php:128 #: StockAdjustments.php:282 StockLocTransferReceive.php:294 -#: StockLocTransferReceive.php:303 +#: StockLocTransferReceive.php:303 Z_StockConversion.php:107 msgid "The following SQL to update the stock record was used" msgstr "" @@ -12591,7 +12592,7 @@ #: InternalStockRequestFulfill.php:35 InternalStockRequest.php:492 #: MRPReport.php:726 SelectAsset.php:234 SelectCustomer.php:395 -#: SelectCustomer.php:478 SelectOrderItems.php:1398 SelectProduct.php:720 +#: SelectCustomer.php:478 SelectOrderItems.php:1398 SelectProduct.php:732 #: SelectSupplier.php:236 SelectSupplier.php:298 StockLocTransfer.php:61 #: SupplierPriceList.php:237 SupplierTenderCreate.php:560 #: WorkOrderIssue.php:353 WorkOrderReceive.php:681 @@ -12777,7 +12778,7 @@ msgstr "" #: InternalStockRequest.php:288 InventoryQuantities.php:181 MRPReport.php:508 -#: ReorderLevel.php:231 SelectProduct.php:39 StockDispatch.php:346 +#: ReorderLevel.php:231 SelectProduct.php:39 StockDispatch.php:340 #: StockLocStatus.php:57 SupplierTenderCreate.php:636 SupplierTenders.php:398 msgid "" "There are no stock categories currently defined please use the link below to " @@ -12785,14 +12786,14 @@ msgstr "" #: InternalStockRequest.php:290 InventoryQuantities.php:182 MRPReport.php:509 -#: ReorderLevel.php:232 SelectProduct.php:40 StockDispatch.php:347 +#: ReorderLevel.php:232 SelectProduct.php:40 StockDispatch.php:341 #: StockLocStatus.php:58 SupplierTenderCreate.php:637 SupplierTenders.php:399 msgid "Define Stock Categories" msgstr "" #: InternalStockRequest.php:295 InventoryQuantities.php:188 MRPReport.php:518 #: NoSalesItems.php:65 ReorderLevel.php:238 SelectProduct.php:507 -#: StockDispatch.php:358 StockLocStatus.php:63 SupplierPriceList.php:17 +#: StockDispatch.php:349 StockLocStatus.php:63 SupplierPriceList.php:17 #: SupplierTenderCreate.php:642 SupplierTenders.php:403 TopItems.php:60 msgid "In Stock Category" msgstr "" @@ -12806,14 +12807,14 @@ msgstr "" #: InternalStockRequest.php:492 MRPReport.php:726 SelectAsset.php:234 -#: SelectCustomer.php:395 SelectCustomer.php:478 SelectProduct.php:720 +#: SelectCustomer.php:395 SelectCustomer.php:478 SelectProduct.php:732 #: SelectSupplier.php:236 SelectSupplier.php:298 SupplierPriceList.php:237 #: SupplierTenderCreate.php:560 msgid "pages" msgstr "" #: InternalStockRequest.php:492 MRPReport.php:726 SelectAsset.php:234 -#: SelectCustomer.php:395 SelectCustomer.php:478 SelectProduct.php:720 +#: SelectCustomer.php:395 SelectCustomer.php:478 SelectProduct.php:732 #: SelectSupplier.php:236 SelectSupplier.php:298 SupplierPriceList.php:237 #: SupplierTenderCreate.php:560 msgid "Go to Page" @@ -12822,28 +12823,28 @@ #: InternalStockRequest.php:504 MRPReport.php:738 PcAssignCashToTab.php:231 #: PcAuthorizeExpenses.php:61 PcClaimExpensesFromTab.php:204 #: SelectAsset.php:246 SelectCustomer.php:407 SelectCustomer.php:490 -#: SelectProduct.php:732 SelectSupplier.php:248 SelectSupplier.php:310 +#: SelectProduct.php:744 SelectSupplier.php:248 SelectSupplier.php:310 #: SupplierPriceList.php:249 SupplierTenderCreate.php:572 msgid "Go" msgstr "" #: InternalStockRequest.php:505 MRPReport.php:739 SelectAsset.php:247 -#: SelectCustomer.php:408 SelectCustomer.php:491 SelectProduct.php:733 +#: SelectCustomer.php:408 SelectCustomer.php:491 SelectProduct.php:745 #: SelectSupplier.php:249 SelectSupplier.php:311 SupplierPriceList.php:250 #: SupplierTenderCreate.php:573 msgid "Previous" msgstr "" -#: InternalStockRequest.php:517 MRPReport.php:750 SelectProduct.php:745 +#: InternalStockRequest.php:517 MRPReport.php:750 SelectProduct.php:757 msgid "Total Qty On Hand" msgstr "" -#: InternalStockRequest.php:519 MRPReport.php:752 SelectProduct.php:747 +#: InternalStockRequest.php:519 MRPReport.php:752 SelectProduct.php:759 #: StockStatus.php:7 msgid "Stock Status" msgstr "" -#: InternalStockRequest.php:541 SelectProduct.php:74 SelectProduct.php:770 +#: InternalStockRequest.php:541 SelectProduct.php:74 SelectProduct.php:782 #: Stocks.php:1020 Stocks.php:1022 msgid "Obsolete" msgstr "" @@ -13007,7 +13008,7 @@ msgstr "" #: InventoryPlanningPrefSupplier.php:80 ShipmentCosting.php:154 -#: StockDispatch.php:387 +#: StockDispatch.php:397 msgid "Standard" msgstr "" @@ -13117,7 +13118,7 @@ #: MRPDemands.php:27 MRPDemandTypes.php:17 MRP.php:517 #: MRPPlannedPurchaseOrders.php:265 MRPPlannedWorkOrders.php:247 #: MRPPlannedWorkOrders.php:321 PricesByCost.php:8 ReorderLevelLocation.php:12 -#: ReorderLevel.php:194 SelectProduct.php:80 StockDispatch.php:287 +#: ReorderLevel.php:194 SelectProduct.php:80 StockDispatch.php:281 #: StockMovements.php:19 StockQties_csv.php:8 StockQuantityByDate.php:10 #: StockReorderLevel.php:18 StockSerialItemResearch.php:9 #: StockSerialItems.php:9 StockStatus.php:40 StockTransferControlled.php:14 @@ -14281,17 +14282,17 @@ msgstr "" #: MRPReport.php:693 PO_SelectOSPurchOrder.php:124 PO_SelectPurchOrder.php:105 -#: SelectCompletedOrder.php:223 SelectProduct.php:688 SelectSalesOrder.php:472 +#: SelectCompletedOrder.php:223 SelectProduct.php:700 SelectSalesOrder.php:472 #: SupplierPriceList.php:203 msgid "No stock items were returned by the SQL because" msgstr "" -#: MRPReport.php:694 SelectAsset.php:202 SelectProduct.php:689 +#: MRPReport.php:694 SelectAsset.php:202 SelectProduct.php:701 #: SupplierPriceList.php:204 msgid "The SQL that returned an error was" msgstr "" -#: MRPReport.php:697 SelectProduct.php:692 SupplierPriceList.php:207 +#: MRPReport.php:697 SelectProduct.php:704 SupplierPriceList.php:207 msgid "" "No stock items were returned by this search please re-enter alternative " "criteria to try again" @@ -14467,6 +14468,14 @@ msgid "Number Of Days" msgstr "" +#: NoSalesItems.php:157 +msgid "Location QOH" +msgstr "" + +#: NoSalesItems.php:158 +msgid "Total QOH" +msgstr "" + #: OffersReceived.php:6 OffersReceived.php:100 msgid "Supplier Offers" msgstr "" @@ -18188,7 +18197,7 @@ msgid "The report has been exported as a csv file." msgstr "" -#: POReport.php:1505 SalesInquiry.php:1049 StockDispatch.php:377 +#: POReport.php:1505 SalesInquiry.php:1049 StockDispatch.php:381 msgid "Report Type" msgstr "" @@ -20021,7 +20030,7 @@ msgid "Inventory Reorder Level Report" msgstr "" -#: ReorderLevel.php:206 SelectSalesOrder.php:497 StockDispatch.php:314 +#: ReorderLevel.php:206 SelectSalesOrder.php:497 StockDispatch.php:308 #: StockLocMovements.php:19 StockLocStatus.php:32 StockLocTransfer.php:259 #: StockMovements.php:35 StockTransfers.php:494 StockUsage.php:66 msgid "From Stock Location" @@ -23796,21 +23805,21 @@ msgstr "" #: StockAdjustments.php:132 StockCostUpdate.php:42 StockCostUpdate.php:64 -#: StockTransfers.php:168 StockTransfers.php:261 +#: StockTransfers.php:168 StockTransfers.php:261 Z_StockConversion.php:23 msgid "The entered item code does not exist" msgstr "" -#: StockAdjustments.php:138 +#: StockAdjustments.php:138 Z_StockConversion.php:29 msgid "There would be no adjustment to make" msgstr "" -#: StockAdjustments.php:141 +#: StockAdjustments.php:141 Z_StockConversion.php:32 msgid "" "The item entered is a controlled item that requires the detail of the serial " "numbers or batch references to be adjusted to be entered" msgstr "" -#: StockAdjustments.php:153 +#: StockAdjustments.php:153 Z_StockConversion.php:44 msgid "" "The system parameters are set to prohibit negative stocks. Processing this " "stock adjustment would result in negative stock at this location. This " @@ -24358,7 +24367,7 @@ msgid "Save Changes" msgstr "" -#: StockDispatch.php:17 StockDispatch.php:285 +#: StockDispatch.php:17 StockDispatch.php:279 msgid "Stock Dispatch Report" msgstr "" @@ -24370,120 +24379,150 @@ msgid "Could not retrieve location name from the database" msgstr "" -#: StockDispatch.php:96 StockDispatch.php:108 +#: StockDispatch.php:100 StockDispatch.php:112 msgid "Stock Dispatch - Problem Report" msgstr "" -#: StockDispatch.php:98 +#: StockDispatch.php:102 msgid "The Stock Dispatch report could not be retrieved by the SQL because" msgstr "" -#: StockDispatch.php:111 +#: StockDispatch.php:115 msgid "The stock dispatch did not have any items to list" msgstr "" -#: StockDispatch.php:235 StockLocTransfer.php:213 +#: StockDispatch.php:229 StockLocTransfer.php:213 msgid "Unable to enter Location Transfer record for" msgstr "" -#: StockDispatch.php:242 +#: StockDispatch.php:236 msgid "Prepared By :" msgstr "" -#: StockDispatch.php:247 StockDispatch.php:258 StockDispatch.php:269 +#: StockDispatch.php:241 StockDispatch.php:252 StockDispatch.php:263 msgid "Hour" msgstr "" -#: StockDispatch.php:249 StockDispatch.php:260 StockDispatch.php:271 +#: StockDispatch.php:243 StockDispatch.php:254 StockDispatch.php:265 msgid "Signature" msgstr "" -#: StockDispatch.php:253 +#: StockDispatch.php:247 msgid "Shipped By :" msgstr "" -#: StockDispatch.php:264 +#: StockDispatch.php:258 msgid "Received By :" msgstr "" -#: StockDispatch.php:287 +#: StockDispatch.php:281 msgid "Inventory Stock Dispatch Report" msgstr "" -#: StockDispatch.php:288 +#: StockDispatch.php:282 msgid "" -"Create batch of overstock from one location to transfer to another location " -"that is below reorder level.<br/>\n" -"\t\t\t\t\t\t\t\t\t\t Quantity to ship is based on reorder level minus the " -"quantity on hand at the To Location; if there is a<br/>\n" -"\t\t\t\t\t\t\t\t\t\t dispatch percentage entered, that needed quantity is " -"inflated by the percentage entered.<br/>\n" -"\t\t\t\t\t\t\t\t\t\t Use Bulk Inventory Transfer - Receive to process the " -"batch" +"Create a transfer batch of overstock from one location to another location " +"that is below reorder level." msgstr "" -#: StockDispatch.php:310 +#: StockDispatch.php:283 +msgid "" +"Quantity to ship is based on reorder level minus the quantity on hand at the " +"To Location; if there is a" +msgstr "" + +#: StockDispatch.php:284 +msgid "" +"dispatch percentage entered, that needed quantity is inflated by the " +"percentage entered." +msgstr "" + +#: StockDispatch.php:285 +msgid "Use Bulk Inventory Transfer - Receive to process the batch" +msgstr "" + +#: StockDispatch.php:304 msgid "Dispatch Percent" msgstr "" -#: StockDispatch.php:330 StockLocTransfer.php:279 StockTransfers.php:518 +#: StockDispatch.php:324 StockLocTransfer.php:279 StockTransfers.php:518 msgid "To Stock Location" msgstr "" -#: StockDispatch.php:379 +#: StockDispatch.php:370 +msgid "Dispatch Strategy:" +msgstr "" + +#: StockDispatch.php:373 +msgid "Items needed at TO location with overstock at FROM location" +msgstr "" + +#: StockDispatch.php:374 +msgid "Items with overstock at FROM location" +msgstr "" + +#: StockDispatch.php:384 msgid "Create Batch" msgstr "" -#: StockDispatch.php:380 +#: StockDispatch.php:385 msgid "Report Only" msgstr "" -#: StockDispatch.php:384 +#: StockDispatch.php:393 msgid "Template" msgstr "" -#: StockDispatch.php:386 +#: StockDispatch.php:396 msgid "Full" msgstr "" -#: StockDispatch.php:388 +#: StockDispatch.php:398 msgid "Simple" msgstr "" -#: StockDispatch.php:420 +#: StockDispatch.php:433 msgid "Stock Dispatch " msgstr "" -#: StockDispatch.php:421 +#: StockDispatch.php:434 msgid "From :" msgstr "" -#: StockDispatch.php:427 +#: StockDispatch.php:440 msgid "Transfer No." msgstr "" -#: StockDispatch.php:430 +#: StockDispatch.php:443 msgid "To :" msgstr "" -#: StockDispatch.php:438 -msgid "Percent" +#: StockDispatch.php:451 +msgid "Over transfer" msgstr "" -#: StockDispatch.php:447 +#: StockDispatch.php:454 +msgid "Overstock items at " +msgstr "" + +#: StockDispatch.php:456 +msgid "Items needed at " +msgstr "" + +#: StockDispatch.php:465 msgid "QOH-From" msgstr "" -#: StockDispatch.php:448 +#: StockDispatch.php:466 msgid "QOH-To" msgstr "" -#: StockDispatch.php:449 StockDispatch.php:456 +#: StockDispatch.php:467 StockDispatch.php:474 #: includes/PDFStockLocTransferHeader.inc:22 msgid "Shipped" msgstr "" -#: StockDispatch.php:453 +#: StockDispatch.php:471 #, fuzzy msgid "Image/Description" msgstr "وصف القطاع" @@ -27508,8 +27547,9 @@ msgstr "" #: SupplierTenders.php:508 Z_ChangeBranchCode.php:215 -#: Z_ChangeCustomerCode.php:242 Z_ChangeStockCategory.php:108 -#: Z_ChangeStockCode.php:340 Z_DeleteSalesTransActions.php:179 +#: Z_ChangeCustomerCode.php:242 Z_ChangeLocationCode.php:261 +#: Z_ChangeStockCategory.php:108 Z_ChangeStockCode.php:340 +#: Z_DeleteSalesTransActions.php:179 msgid "Process" msgstr "" @@ -28601,15 +28641,15 @@ "and every user login" msgstr "" -#: SystemParameters.php:848 includes/MiscFunctions.php:230 +#: SystemParameters.php:848 includes/MiscFunctions.php:234 msgid "WackoWiki" msgstr "" -#: SystemParameters.php:849 includes/MiscFunctions.php:232 +#: SystemParameters.php:849 includes/MiscFunctions.php:236 msgid "MediaWiki" msgstr "" -#: SystemParameters.php:850 includes/MiscFunctions.php:234 +#: SystemParameters.php:850 includes/MiscFunctions.php:238 msgid "DokuWiki" msgstr "" @@ -31186,6 +31226,294 @@ msgid "New Debtor Code" msgstr "" +#: Z_ChangeLocationCode.php:6 +msgid "UTILITY PAGE Change A Location Code" +msgstr "" + +#: Z_ChangeLocationCode.php:19 +msgid "The location code" +msgstr "" + +#: Z_ChangeLocationCode.php:19 +msgid "does not currently exist as a location code in the system" +msgstr "" + +#: Z_ChangeLocationCode.php:24 +msgid "" +"The new location code to change the old code to contains illegal characters " +"- no changes will be made" +msgstr "" + +#: Z_ChangeLocationCode.php:29 +msgid "The new location code to change the old code to must be entered as well" +msgstr "" + +#: Z_ChangeLocationCode.php:34 +#, fuzzy +msgid "" +"The new location name to change the old name to contains illegal characters " +"- no changes will be made" +msgstr "لا يمكن ان يحتوى اسم العضوية على الحرف" + +#: Z_ChangeLocationCode.php:39 +msgid "The new location name to change the old name to must be entered as well" +msgstr "" + +#: Z_ChangeLocationCode.php:46 +msgid "The replacement location code" +msgstr "" + +#: Z_ChangeLocationCode.php:46 +msgid "already exists as a location code in the system" +msgstr "" + +#: Z_ChangeLocationCode.php:46 +msgid "a unique location code must be entered for the new code" +msgstr "" + +#: Z_ChangeLocationCode.php:54 +msgid "Adding the new location record" +msgstr "" + +#: Z_ChangeLocationCode.php:91 +#, fuzzy +msgid "The SQL to insert the new location record failed" +msgstr "الطلب المستخدم لإضافة مجموعة الحسابات هي" + +#: Z_ChangeLocationCode.php:93 Z_ChangeLocationCode.php:99 +#: Z_ChangeLocationCode.php:105 Z_ChangeLocationCode.php:111 +#: Z_ChangeLocationCode.php:117 Z_ChangeLocationCode.php:123 +#: Z_ChangeLocationCode.php:129 Z_ChangeLocationCode.php:135 +#: Z_ChangeLocationCode.php:141 Z_ChangeLocationCode.php:151 +#: Z_ChangeLocationCode.php:158 Z_ChangeLocationCode.php:164 +#: Z_ChangeLocationCode.php:170 Z_ChangeLocationCode.php:176 +#: Z_ChangeLocationCode.php:182 Z_ChangeLocationCode.php:188 +#: Z_ChangeLocationCode.php:194 Z_ChangeLocationCode.php:200 +#: Z_ChangeLocationCode.php:206 Z_ChangeLocationCode.php:212 +#: Z_ChangeLocationCode.php:218 Z_ChangeLocationCode.php:224 +#: Z_ChangeLocationCode.php:234 Z_ChangeStockCategory.php:66 +#: Z_ChangeStockCategory.php:71 Z_ChangeStockCategory.php:76 +#: Z_ChangeStockCategory.php:81 Z_ChangeStockCategory.php:89 +#: Z_ChangeStockCode.php:107 Z_ChangeStockCode.php:113 +#: Z_ChangeStockCode.php:119 Z_ChangeStockCode.php:126 +#: Z_ChangeStockCode.php:132 Z_ChangeStockCode.php:142 +#: Z_ChangeStockCode.php:151 Z_ChangeStockCode.php:159 +#: Z_ChangeStockCode.php:166 Z_ChangeStockCode.php:173 +#: Z_ChangeStockCode.php:180 Z_ChangeStockCode.php:187 +#: Z_ChangeStockCode.php:194 Z_ChangeStockCode.php:201 +#: Z_ChangeStockCode.php:207 Z_ChangeStockCode.php:213 +#: Z_ChangeStockCode.php:219 Z_ChangeStockCode.php:226 +#: Z_ChangeStockCode.php:233 Z_ChangeStockCode.php:240 +#: Z_ChangeStockCode.php:248 Z_ChangeStockCode.php:254 +#: Z_ChangeStockCode.php:259 Z_ChangeStockCode.php:266 +#: Z_ChangeStockCode.php:274 Z_ChangeStockCode.php:279 +#: Z_ChangeStockCode.php:286 Z_ChangeStockCode.php:292 +#: Z_ChangeStockCode.php:304 Z_ChangeStockCode.php:316 +msgid "completed" +msgstr "" + +#: Z_ChangeLocationCode.php:95 Z_ChangeStockCode.php:236 +#: Z_ChangeStockCode.php:244 +msgid "Changing the BOM table records" +msgstr "" + +#: Z_ChangeLocationCode.php:97 Z_ChangeLocationCode.php:103 +#: Z_ChangeStockCode.php:238 +msgid "The SQL to update the BOM records failed" +msgstr "" + +#: Z_ChangeLocationCode.php:101 +msgid "Changing the config table records" +msgstr "" + +#: Z_ChangeLocationCode.php:107 +msgid "Changing the contracts table records" +msgstr "" + +#: Z_ChangeLocationCode.php:109 +#, fuzzy +msgid "The SQL to update the contracts records failed" +msgstr "الطلب المستخدم لإسترجاع المعلومات كان" + +#: Z_ChangeLocationCode.php:113 +msgid "Changing the custbranch table records" +msgstr "" + +#: Z_ChangeLocationCode.php:115 +#, fuzzy +msgid "The SQL to update the custbranch records failed" +msgstr "الطلب المستخدم لإضافة مجموعة الحسابات هي" + +#: Z_ChangeLocationCode.php:119 +msgid "Changing the freightcosts table records" +msgstr "" + +#: Z_ChangeLocationCode.php:121 +#, fuzzy +msgid "The SQL to update the freightcosts records failed" +msgstr "الطلب المستخدم لإضافة مجموعة الحسابات هي" + +#: Z_ChangeLocationCode.php:125 Z_ChangeStockCode.php:109 +msgid "Changing stock location records" +msgstr "" + +#: Z_ChangeLocationCode.php:127 Z_ChangeStockCode.php:111 +msgid "The SQL to update stock location records failed" +msgstr "" + +#: Z_ChangeLocationCode.php:131 +msgid "Changing location transfer information (Shipping location)" +msgstr "" + +#: Z_ChangeLocationCode.php:133 Z_ChangeLocationCode.php:139 +#: Z_ChangeStockCode.php:124 +msgid "The SQL to update the loctransfers records failed" +msgstr "" + +#: Z_ChangeLocationCode.php:137 +msgid "Changing location transfer information (Receiving location)" +msgstr "" + +#: Z_ChangeLocationCode.php:147 +msgid "Changing MRP parameters information" +msgstr "" + +#: Z_ChangeLocationCode.php:149 +msgid "The SQL to update the mrpparameters records failed" +msgstr "" + +#: Z_ChangeLocationCode.php:154 +msgid "Changing purchase orders information" +msgstr "" + +#: Z_ChangeLocationCode.php:156 +#, fuzzy +msgid "The SQL to update the purchase orders records failed" +msgstr "الطلب المستخدم لإسترجاع المعلومات كان" + +#: Z_ChangeLocationCode.php:160 +msgid "Changing recurring sales orders information" +msgstr "" + +#: Z_ChangeLocationCode.php:162 +msgid "The SQL to update the recurring sales orders records failed" +msgstr "" + +#: Z_ChangeLocationCode.php:166 +msgid "Changing sales orders information" +msgstr "" + +#: Z_ChangeLocationCode.php:168 +msgid "The SQL to update the sales orders records failed" +msgstr "" + +#: Z_ChangeLocationCode.php:172 +msgid "Changing stock check freeze records" +msgstr "" + +#: Z_ChangeLocationCode.php:174 Z_ChangeStockCode.php:211 +msgid "The SQL to update stock check freeze records failed" +msgstr "" + +#: Z_ChangeLocationCode.php:178 +msgid "Changing stockcounts records" +msgstr "" + +#: Z_ChangeLocationCode.php:180 +#, fuzzy +msgid "The SQL to update stockcounts records failed" +msgstr "الطلب المستخدم لإضافة مجموعة الحسابات هي" + +#: Z_ChangeLocationCode.php:184 +msgid "Changing stockmoves records" +msgstr "" + +#: Z_ChangeLocationCode.php:186 +#, fuzzy +msgid "The SQL to update stockmoves records failed" +msgstr "الطلب المستخدم لإضافة مجموعة الحسابات هي" + +#: Z_ChangeLocationCode.php:190 +msgid "Changing stockrequest records" +msgstr "" + +#: Z_ChangeLocationCode.php:192 +msgid "The SQL to update stockrequest records failed" +msgstr "" + +#: Z_ChangeLocationCode.php:196 +msgid "Changing stockserialitems records" +msgstr "" + +#: Z_ChangeLocationCode.php:198 +msgid "The SQL to update stockserialitems records failed" +msgstr "" + +#: Z_ChangeLocationCode.php:202 +msgid "Changing tenders records" +msgstr "" + +#: Z_ChangeLocationCode.php:204 +#, fuzzy +msgid "The SQL to update tenders records failed" +msgstr "الطلب المستخدم لإضافة مجموعة الحسابات هي" + +#: Z_ChangeLocationCode.php:208 +msgid "Changing workcentres records" +msgstr "" + +#: Z_ChangeLocationCode.php:210 +msgid "The SQL to update workcentres records failed" +msgstr "" + +#: Z_ChangeLocationCode.php:214 +msgid "Changing workorders records" +msgstr "" + +#: Z_ChangeLocationCode.php:216 +#, fuzzy +msgid "The SQL to update workorders records failed" +msgstr "الطلب المستخدم لإسترجاع المعلومات كان" + +#: Z_ChangeLocationCode.php:220 +msgid "Changing users records" +msgstr "" + +#: Z_ChangeLocationCode.php:222 +msgid "The SQL to update users records failed" +msgstr "" + +#: Z_ChangeLocationCode.php:230 +msgid "Deleting the old location record" +msgstr "" + +#: Z_ChangeLocationCode.php:232 +#, fuzzy +msgid "The SQL to delete the old location record failed" +msgstr "الطلب المستخدم لإسترجاع المعلومات كان" + +#: Z_ChangeLocationCode.php:237 +msgid "Location code" +msgstr "" + +#: Z_ChangeLocationCode.php:237 Z_ChangeStockCategory.php:90 +#: Z_ChangeStockCode.php:319 +msgid "was successfully changed to" +msgstr "" + +#: Z_ChangeLocationCode.php:248 +msgid "Existing Location Code" +msgstr "" + +#: Z_ChangeLocationCode.php:252 +msgid "New Location Code" +msgstr "" + +#: Z_ChangeLocationCode.php:256 +#, fuzzy +msgid "New Location Name" +msgstr "رقم القطاع" + #: Z_ChangeStockCategory.php:6 msgid "UTILITY PAGE Change A Stock Category" msgstr "" @@ -31228,27 +31556,6 @@ msgid "The SQL to insert the new stock category record failed" msgstr "" -#: Z_ChangeStockCategory.php:66 Z_ChangeStockCategory.php:71 -#: Z_ChangeStockCategory.php:76 Z_ChangeStockCategory.php:81 -#: Z_ChangeStockCategory.php:89 Z_ChangeStockCode.php:107 -#: Z_ChangeStockCode.php:113 Z_ChangeStockCode.php:119 -#: Z_ChangeStockCode.php:126 Z_ChangeStockCode.php:132 -#: Z_ChangeStockCode.php:142 Z_ChangeStockCode.php:151 -#: Z_ChangeStockCode.php:159 Z_ChangeStockCode.php:166 -#: Z_ChangeStockCode.php:173 Z_ChangeStockCode.php:180 -#: Z_ChangeStockCode.php:187 Z_ChangeStockCode.php:194 -#: Z_ChangeStockCode.php:201 Z_ChangeStockCode.php:207 -#: Z_ChangeStockCode.php:213 Z_ChangeStockCode.php:219 -#: Z_ChangeStockCode.php:226 Z_ChangeStockCode.php:233 -#: Z_ChangeStockCode.php:240 Z_ChangeStockCode.php:248 -#: Z_ChangeStockCode.php:254 Z_ChangeStockCode.php:259 -#: Z_ChangeStockCode.php:266 Z_ChangeStockCode.php:274 -#: Z_ChangeStockCode.php:279 Z_ChangeStockCode.php:286 -#: Z_ChangeStockCode.php:292 Z_ChangeStockCode.php:304 -#: Z_ChangeStockCode.php:316 -msgid "completed" -msgstr "" - #: Z_ChangeStockCategory.php:67 msgid "Changing stock properties" msgstr "" @@ -31273,10 +31580,6 @@ msgid "The SQL to delete the old stock category record failed" msgstr "" -#: Z_ChangeStockCategory.php:90 Z_ChangeStockCode.php:319 -msgid "was successfully changed to" -msgstr "" - #: Z_ChangeStockCategory.php:99 msgid "Existing Inventory Category Code" msgstr "" @@ -31317,14 +31620,6 @@ msgid "The SQL to insert the new stock master record failed" msgstr "" -#: Z_ChangeStockCode.php:109 -msgid "Changing stock location records" -msgstr "" - -#: Z_ChangeStockCode.php:111 -msgid "The SQL to update stock location records failed" -msgstr "" - #: Z_ChangeStockCode.php:117 msgid "The SQL to update stock movement transaction records failed" msgstr "" @@ -31333,10 +31628,6 @@ msgid "Changing location transfer information" msgstr "" -#: Z_ChangeStockCode.php:124 -msgid "The SQL to update the loctransfers records failed" -msgstr "" - #: Z_ChangeStockCode.php:128 msgid "Changing MRP demands information" msgstr "" @@ -31401,10 +31692,6 @@ msgid "Changing the stock check freeze file records" msgstr "" -#: Z_ChangeStockCode.php:211 -msgid "The SQL to update stock check freeze records failed" -msgstr "" - #: Z_ChangeStockCode.php:215 msgid "Changing the stock counts table records" msgstr "" @@ -31429,18 +31716,10 @@ msgid "The SQL to contract BOM records failed" msgstr "" -#: Z_ChangeStockCode.php:236 Z_ChangeStockCode.php:244 -msgid "Changing the BOM table records" -msgstr "" - #: Z_ChangeStockCode.php:236 msgid "components" msgstr "" -#: Z_ChangeStockCode.php:238 -msgid "The SQL to update the BOM records failed" -msgstr "" - #: Z_ChangeStockCode.php:244 Z_ChangeStockCode.php:262 msgid "parents" msgstr "" @@ -33002,6 +33281,38 @@ msgid "Sales Integrity Check completed." msgstr "" +#: Z_StockConversion.php:8 +msgid "Stock Conversion Utility" +msgstr "" + +#: Z_StockConversion.php:14 +msgid "Inventory Conversion Utility" +msgstr "" + +#: Z_StockConversion.php:128 +msgid "Conversion Details" +msgstr "" + +#: Z_StockConversion.php:143 +msgid "Convert From Stock Code" +msgstr "" + +#: Z_StockConversion.php:148 +msgid "Convert To Stock Code" +msgstr "" + +#: Z_StockConversion.php:152 +msgid "Convert Stock At Location" +msgstr "" + +#: Z_StockConversion.php:176 +msgid "Quantity To Convert" +msgstr "" + +#: Z_StockConversion.php:186 +msgid "Convert Items" +msgstr "" + #: Z_test.php:6 msgid "Test Script" msgstr "" @@ -34440,62 +34751,66 @@ msgstr "" #: includes/MainMenuLinksArray.php:537 +msgid "Change A Location Code" +msgstr "" + +#: includes/MainMenuLinksArray.php:538 msgid "Update costs for all BOM items, from the bottom up" msgstr "" -#: includes/MainMenuLinksArray.php:538 +#: includes/MainMenuLinksArray.php:539 msgid "Re-apply costs to Sales Analysis" msgstr "" -#: includes/MainMenuLinksArray.php:539 +#: includes/MainMenuLinksArray.php:540 msgid "Delete sales transactions" msgstr "" -#: includes/MainMenuLinksArray.php:540 +#: includes/MainMenuLinksArray.php:541 msgid "Reverse all supplier payments on a specified date" msgstr "" -#: includes/MainMenuLinksArray.php:551 +#: includes/MainMenuLinksArray.php:553 msgid "Show Local Currency Total Debtor Balances" msgstr "" -#: includes/MainMenuLinksArray.php:552 +#: includes/MainMenuLinksArray.php:554 msgid "Show Local Currency Total Suppliers Balances" msgstr "" -#: includes/MainMenuLinksArray.php:553 +#: includes/MainMenuLinksArray.php:555 msgid "Show General Transactions That Do Not Balance" msgstr "" -#: includes/MainMenuLinksArray.php:559 +#: includes/MainMenuLinksArray.php:561 msgid "Maintain Language Files" msgstr "" -#: includes/MainMenuLinksArray.php:560 +#: includes/MainMenuLinksArray.php:562 msgid "Make New Company" msgstr "" -#: includes/MainMenuLinksArray.php:561 +#: includes/MainMenuLinksArray.php:563 msgid "Data Export Options" msgstr "" -#: includes/MainMenuLinksArray.php:562 +#: includes/MainMenuLinksArray.php:564 msgid "Import Stock Items from .csv" msgstr "" -#: includes/MainMenuLinksArray.php:563 +#: includes/MainMenuLinksArray.php:565 msgid "Import Fixed Assets from .csv file" msgstr "" -#: includes/MainMenuLinksArray.php:564 +#: includes/MainMenuLinksArray.php:566 msgid "Create new company template SQL file and submit to webERP" msgstr "" -#: includes/MainMenuLinksArray.php:565 +#: includes/MainMenuLinksArray.php:567 msgid "Re-calculate brought forward amounts in GL" msgstr "" -#: includes/MainMenuLinksArray.php:566 +#: includes/MainMenuLinksArray.php:568 msgid "Re-Post all GL transactions from a specified period" msgstr "" @@ -34515,8 +34830,8 @@ msgid "Message" msgstr "" -#: includes/MiscFunctions.php:231 includes/MiscFunctions.php:233 -#: includes/MiscFunctions.php:235 +#: includes/MiscFunctions.php:235 includes/MiscFunctions.php:237 +#: includes/MiscFunctions.php:239 msgid "Wiki " msgstr "" @@ -37768,10 +38083,10 @@ "error code in element 0 and the error string in element 1. " msgstr "" -#: api/api_xml-rpc.php:3399 +#: api/api_xml-rpc.php:3395 msgid "Parameters" msgstr "" -#: api/api_xml-rpc.php:3404 +#: api/api_xml-rpc.php:3400 msgid "Return Value" msgstr "" Modified: trunk/locale/cs_CZ.utf8/LC_MESSAGES/messages.mo =================================================================== (Binary files differ) Modified: trunk/locale/cs_CZ.utf8/LC_MESSAGES/messages.po =================================================================== --- trunk/locale/cs_CZ.utf8/LC_MESSAGES/messages.po 2012-06-23 08:48:47 UTC (rev 5446) +++ trunk/locale/cs_CZ.utf8/LC_MESSAGES/messages.po 2012-06-23 21:41:05 UTC (rev 5447) @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: webERP 3.08\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-16 16:39+1200\n" +"POT-Creation-Date: 2012-06-24 09:40+1200\n" "PO-Revision-Date: 2011-02-07 15:33+0000\n" "Last-Translator: Tim Schofield <Unknown>\n" "Language-Team: Czech <cs...@li...>\n" @@ -463,7 +463,7 @@ msgid "Section In Accounts" msgstr "Sekce v účtech" -#: AccountGroups.php:415 AccountSections.php:258 AddCustomerContacts.php:260 +#: AccountGroups.php:415 AccountSections.php:259 AddCustomerContacts.php:260 #: AddCustomerNotes.php:242 AddCustomerTypeNotes.php:221 Areas.php:228 #: BankAccounts.php:398 BOMs.php:785 COGSGLPostings.php:355 #: CreditStatus.php:259 Currencies.php:402 CustLoginSetup.php:273 @@ -605,8 +605,8 @@ #: AddCustomerContacts.php:126 CompanyPreferences.php:224 #: CustomerBranches.php:368 Customers.php:1020 Customers.php:1028 -#: SalesPeople.php:200 SelectCustomer.php:610 StockDispatch.php:243 -#: StockDispatch.php:254 StockDispatch.php:265 SupplierContacts.php:150 +#: SalesPeople.php:200 SelectCustomer.php:610 StockDispatch.php:237 +#: StockDispatch.php:248 StockDispatch.php:259 SupplierContacts.php:150 #: SuppTransGLAnalysis.php:105 includes/InputSerialItemsFile.php:92 #: includes/InputSerialItemsFile.php:144 includes/PDFTaxPageHeader.inc:37 msgid "Name" @@ -717,7 +717,7 @@ #: PcAuthorizeExpenses.php:88 PDFRemittanceAdvice.php:308 #: PrintCustTrans.php:826 PrintCustTransPortrait.php:870 ReverseGRN.php:392 #: ShipmentCosting.php:538 ShipmentCosting.php:615 Shipments.php:491 -#: StockDispatch.php:245 StockDispatch.php:256 StockDispatch.php:267 +#: StockDispatch.php:239 StockDispatch.php:250 StockDispatch.php:261 #: StockLocMovements.php:91 StockMovements.php:95 #: StockSerialItemResearch.php:81 SupplierAllocations.php:456 #: SupplierAllocations.php:569 SupplierAllocations.php:644 @@ -894,7 +894,7 @@ #: PrintCustOrder.php:233 ReorderLevel.php:63 ReorderLevel.php:182 #: SalesAnalysis_UserDefined.php:28 SelectCreditItems.php:30 StockCheck.php:46 #: StockCheck.php:68 StockCheck.php:99 StockCheck.php:142 StockCheck.php:153 -#: StockCheck.php:194 StockDispatch.php:100 StockDispatch.php:113 +#: StockCheck.php:194 StockDispatch.php:104 StockDispatch.php:117 #: SupplierBalsAtPeriodEnd.php:54 SupplierBalsAtPeriodEnd.php:65 #: SuppPaymentRun.php:112 SuppPaymentRun.php:122 SuppPaymentRun.php:186 #: SuppPaymentRun.php:217 SuppPriceList.php:134 Tax.php:63 Tax.php:168 @@ -1022,7 +1022,7 @@ #: OutstandingGRNs.php:182 PDFCustomerList.php:419 PDFLowGP.php:146 #: PDFPriceList.php:312 PDFRemittanceAdvice.php:175 #: PDFStockCheckComparison.php:361 PrintCustTrans.php:542 -#: PrintCustTransPortrait.php:579 ReorderLevel.php:259 StockDispatch.php:394 +#: PrintCustTransPortrait.php:579 ReorderLevel.php:259 StockDispatch.php:407 #: SupplierBalsAtPeriodEnd.php:160 SuppPriceList.php:255 Tax.php:352 msgid "Print PDF" msgstr "Tisknout PDF" @@ -1212,8 +1212,8 @@ #: SalesGraph.php:144 SalesGraph.php:146 SalesGraph.php:180 #: SalesInquiry.php:1079 SalesInquiry.php:1142 SelectCreditItems.php:955 #: SelectOrderItems.php:1626 SelectOrderItems.php:1629 SelectProduct.php:513 -#: SelectProduct.php:515 StockDispatch.php:59 StockDispatch.php:364 -#: StockDispatch.php:366 StockLocStatus.php:69 StockLocStatus.php:71 +#: SelectProduct.php:515 StockDispatch.php:59 StockDispatch.php:355 +#: StockDispatch.php:357 StockLocStatus.php:69 StockLocStatus.php:71 #: StockLocStatus.php:89 StockLocStatus.php:94 StockLocStatus.php:99 #: StockLocStatus.php:104 StockQuantityByDate.php:25 SupplierPriceList.php:23 #: SupplierPriceList.php:25 SupplierTenderCreate.php:647 @@ -1236,7 +1236,7 @@ msgstr "Konstantní" #: AuditTrail.php:82 InternalStockRequest.php:550 MRPReport.php:778 -#: PO_SelectPurchOrder.php:431 SelectContract.php:180 SelectProduct.php:780 +#: PO_SelectPurchOrder.php:431 SelectContract.php:180 SelectProduct.php:792 msgid "View" msgstr "Zobrazit" @@ -2060,7 +2060,7 @@ #: MRPPlannedWorkOrders.php:366 MRPReport.php:816 MRPReschedules.php:180 #: MRPShortages.php:334 PDFOrderStatus.php:308 PDFPriceList.php:344 #: PDFReceipt.php:31 PO_Header.php:829 PO_PDFPurchOrder.php:61 -#: PO_SelectOSPurchOrder.php:519 ReorderLevel.php:283 StockDispatch.php:424 +#: PO_SelectOSPurchOrder.php:519 ReorderLevel.php:283 StockDispatch.php:437 #: SuppPriceList.php:284 Tax.php:243 includes/PDFAgedDebtorsPageHeader.inc:34 #: includes/PDFAgedSuppliersPageHeader.inc:21 #: includes/PDFBalanceSheetPageHeader.inc:25 @@ -2099,7 +2099,7 @@ #: PrintCustOrder.php:170 PrintCustTrans.php:741 PrintCustTrans.php:950 #: PrintCustTrans.php:999 PrintCustTransPortrait.php:781 #: PrintCustTransPortrait.php:1003 PrintCustTransPortrait.php:1059 -#: ReorderLevel.php:284 StockDispatch.php:425 SuppPriceList.php:285 +#: ReorderLevel.php:284 StockDispatch.php:438 SuppPriceList.php:285 #: Tax.php:243 includes/PDFAgedDebtorsPageHeader.inc:34 #: includes/PDFAgedSuppliersPageHeader.inc:21 #: includes/PDFBalanceSheetPageHeader.inc:26 @@ -2156,12 +2156,11 @@ #: BOMExtendedQty.php:321 BOMInquiry.php:110 BOMs.php:883 #: CounterSales.php:2044 CounterSales.php:2233 InternalStockRequest.php:586 -#: NoSalesItems.php:157 PO_SelectOSPurchOrder.php:236 -#: PO_SelectPurchOrder.php:214 ReorderLevelLocation.php:70 -#: ReorderLevelLocation.php:71 SelectCompletedOrder.php:552 -#: SelectOrderItems.php:1506 SelectOrderItems.php:1690 -#: SelectSalesOrder.php:583 SelectWorkOrder.php:194 Shipt_Select.php:192 -#: TopItems.php:168 includes/PDFTopItemsHeader.inc:54 +#: PO_SelectOSPurchOrder.php:236 PO_SelectPurchOrder.php:214 +#: ReorderLevelLocation.php:70 ReorderLevelLocation.php:71 +#: SelectCompletedOrder.php:552 SelectOrderItems.php:1506 +#: SelectOrderItems.php:1690 SelectSalesOrder.php:583 SelectWorkOrder.php:194 +#: Shipt_Select.php:192 TopItems.php:168 includes/PDFTopItemsHeader.inc:54 msgid "On Hand" msgstr "Na ruce" @@ -2181,7 +2180,7 @@ #: POReport.php:539 POReport.php:625 POReport.php:725 POReport.php:1267 #: POReport.php:1276 POReport.php:1290 POReport.php:1305 POReport.php:1356 #: POReport.php:1419 POReport.php:1523 POReport.php:1588 POReport.php:1597 -#: ReorderLevel.php:297 StockDispatch.php:445 StockDispatch.php:452 +#: ReorderLevel.php:297 StockDispatch.php:463 StockDispatch.php:470 msgid "Part Number" msgstr "Číslo dílu" @@ -2249,9 +2248,9 @@ #: SecurityTokens.php:104 SecurityTokens.php:120 SelectAsset.php:255 #: SelectCompletedOrder.php:551 SelectContract.php:140 #: SelectCreditItems.php:991 SelectOrderItems.php:1504 -#: SelectOrderItems.php:1688 SelectProduct.php:525 SelectProduct.php:744 +#: SelectOrderItems.php:1688 SelectProduct.php:525 SelectProduct.php:756 #: SelectSalesOrder.php:582 SelectWorkOrder.php:193 Shipt_Select.php:191 -#: StockCategories.php:234 StockDispatch.php:446 StockLocStatus.php:168 +#: StockCategories.php:234 StockDispatch.php:464 StockLocStatus.php:168 #: StockQuantityByDate.php:108 SuppCreditGRNs.php:92 SuppCreditGRNs.php:187 #: SuppFixedAssetChgs.php:75 SuppInvGRNs.php:126 SuppInvGRNs.php:307 #: SupplierCredit.php:317 SupplierCredit.php:385 SupplierInvoice.php:294 @@ -2268,7 +2267,7 @@ #: includes/PDFStockLocTransferHeader.inc:49 #: includes/PDFStockTransferHeader.inc:36 includes/PDFTopItemsHeader.inc:50 #: includes/PDFTransPageHeader.inc:207 -#: includes/PDFTransPageHeaderPortrait.inc:262 api/api_xml-rpc.php:3398 +#: includes/PDFTransPageHeaderPortrait.inc:262 api/api_xml-rpc.php:3394 msgid "Description" msgstr "Popis" @@ -2440,7 +2439,7 @@ #: PricesByCost.php:151 PurchData.php:382 ReorderLevelLocation.php:67 #: SalesPeople.php:199 SelectCompletedOrder.php:550 SelectCreditItems.php:990 #: SelectCustomer.php:415 SelectGLAccount.php:119 SelectOrderItems.php:1503 -#: SelectOrderItems.php:1687 SelectProduct.php:743 SelectSalesOrder.php:581 +#: SelectOrderItems.php:1687 SelectProduct.php:755 SelectSalesOrder.php:581 #: SelectSupplier.php:259 SelectWorkOrder.php:192 Shipt_Select.php:190 #: SpecialOrder.php:149 SupplierPriceList.php:260 SupplierPriceList.php:445 #: SupplierTenderCreate.php:583 SupplierTenderCreate.php:817 @@ -2456,11 +2455,11 @@ #: Credit_Invoice.php:273 GoodsReceived.php:102 GoodsReceived.php:106 #: InternalStockRequestAuthorisation.php:89 #: InternalStockRequestFulfill.php:301 InternalStockRequest.php:518 -#: InternalStockRequest.php:585 MRPReport.php:751 NoSalesItems.php:158 +#: InternalStockRequest.php:585 MRPReport.php:751 NoSalesItems.php:159 #: OffersReceived.php:109 PO_Items.php:1076 PO_SelectOSPurchOrder.php:238 #: PO_SelectPurchOrder.php:216 SelectCompletedOrder.php:555 #: SelectCreditItems.php:992 SelectOrderItems.php:1505 -#: SelectOrderItems.php:1689 SelectProduct.php:121 SelectProduct.php:746 +#: SelectOrderItems.php:1689 SelectProduct.php:121 SelectProduct.php:758 #: SelectSalesOrder.php:584 SelectWorkOrder.php:195 Shipments.php:402 #: Shipments.php:489 Shipt_Select.php:194 StockLocTransferReceive.php:433 #: SupplierPriceList.php:262 SupplierTenderCreate.php:819 @@ -2593,7 +2592,7 @@ #: PaymentTerms.php:196 PO_SelectOSPurchOrder.php:524 #: SalesAnalReptCols.php:285 SelectProduct.php:119 SelectProduct.php:165 #: SelectProduct.php:178 SelectProduct.php:262 SelectProduct.php:263 -#: SelectProduct.php:765 TopItems.php:187 TopItems.php:188 +#: SelectProduct.php:777 TopItems.php:187 TopItems.php:188 msgid "N/A" msgstr "N / A" @@ -2614,11 +2613,11 @@ msgstr "Datum účinnosti, musí být zadáno ve formátu" #: BOMs.php:254 StockAdjustments.php:135 StockTransfers.php:172 -#: WorkOrderEntry.php:281 +#: WorkOrderEntry.php:281 Z_StockConversion.php:26 msgid "The quantity entered must be numeric" msgstr "Množství uvedené musí být číslo" -#: BOMs.php:260 StockAdjustments.php:138 +#: BO... [truncated message content] |
From: <dai...@us...> - 2012-06-23 22:14:30
|
Revision: 5448 http://web-erp.svn.sourceforge.net/web-erp/?rev=5448&view=rev Author: daintree Date: 2012-06-23 22:14:24 +0000 (Sat, 23 Jun 2012) Log Message: ----------- pre 4.08.1 Modified Paths: -------------- trunk/UpgradeDatabase.php Added Paths: ----------- trunk/sql/mysql/upgrade4.08-4.09.sql Modified: trunk/UpgradeDatabase.php =================================================================== --- trunk/UpgradeDatabase.php 2012-06-23 21:41:05 UTC (rev 5447) +++ trunk/UpgradeDatabase.php 2012-06-23 22:14:24 UTC (rev 5448) @@ -144,8 +144,9 @@ case '4.07.5': case '4.07.6': $SQLScripts[] = './sql/mysql/upgrade4.07-4.08.sql'; - case '4.08.0': + case '4.08': case '4.08.1': + $SQLScripts[] = './sql/mysql/upgrade4.08-4.09.sql'; break; } //end switch } Added: trunk/sql/mysql/upgrade4.08-4.09.sql =================================================================== --- trunk/sql/mysql/upgrade4.08-4.09.sql (rev 0) +++ trunk/sql/mysql/upgrade4.08-4.09.sql 2012-06-23 22:14:24 UTC (rev 5448) @@ -0,0 +1,2 @@ +UPDATE config SET confvalue='4.08.1' WHERE confname='VersionNumber'; + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dai...@us...> - 2012-06-23 22:14:31
|
Revision: 5448 http://web-erp.svn.sourceforge.net/web-erp/?rev=5448&view=rev Author: daintree Date: 2012-06-23 22:14:24 +0000 (Sat, 23 Jun 2012) Log Message: ----------- pre 4.08.1 Modified Paths: -------------- trunk/UpgradeDatabase.php Added Paths: ----------- trunk/sql/mysql/upgrade4.08-4.09.sql Modified: trunk/UpgradeDatabase.php =================================================================== --- trunk/UpgradeDatabase.php 2012-06-23 21:41:05 UTC (rev 5447) +++ trunk/UpgradeDatabase.php 2012-06-23 22:14:24 UTC (rev 5448) @@ -144,8 +144,9 @@ case '4.07.5': case '4.07.6': $SQLScripts[] = './sql/mysql/upgrade4.07-4.08.sql'; - case '4.08.0': + case '4.08': case '4.08.1': + $SQLScripts[] = './sql/mysql/upgrade4.08-4.09.sql'; break; } //end switch } Added: trunk/sql/mysql/upgrade4.08-4.09.sql =================================================================== --- trunk/sql/mysql/upgrade4.08-4.09.sql (rev 0) +++ trunk/sql/mysql/upgrade4.08-4.09.sql 2012-06-23 22:14:24 UTC (rev 5448) @@ -0,0 +1,2 @@ +UPDATE config SET confvalue='4.08.1' WHERE confname='VersionNumber'; + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ice...@us...> - 2012-06-24 05:37:00
|
Revision: 5450 http://web-erp.svn.sourceforge.net/web-erp/?rev=5450&view=rev Author: icedlava Date: 2012-06-24 05:36:51 +0000 (Sun, 24 Jun 2012) Log Message: ----------- Adjust header.inc, ManualContents.php, ManualHeader.html to take ViewTopic and Bookmark parameters in displaying manual. Add ManualOutline.php file containing manual TOC, add CSS and rework all manual docs. Add $Viewtopic and $Bookmark to some functions (eg see Stocks.php) - ongoing work. Modified Paths: -------------- trunk/doc/Change.log trunk/doc/Manual/ManualAPITutorial.html trunk/doc/Manual/ManualARInquiries.html trunk/doc/Manual/ManualARReports.html trunk/doc/Manual/ManualARTransactions.html trunk/doc/Manual/ManualAccountsPayable.html trunk/doc/Manual/ManualAccountsReceivable.html trunk/doc/Manual/ManualContents.php trunk/doc/Manual/ManualContracts.html trunk/doc/Manual/ManualContributors.html trunk/doc/Manual/ManualCreatingNewSystem.html trunk/doc/Manual/ManualCreditStatus.html trunk/doc/Manual/ManualCurrencies.html trunk/doc/Manual/ManualDevelopmentStructure.html trunk/doc/Manual/ManualFixedAssets.html trunk/doc/Manual/ManualFooter.html trunk/doc/Manual/ManualGeneralLedger.html trunk/doc/Manual/ManualGettingStarted.html trunk/doc/Manual/ManualHeader.html trunk/doc/Manual/ManualIntroduction.html trunk/doc/Manual/ManualInventory.html trunk/doc/Manual/ManualMRP.html trunk/doc/Manual/ManualManufacturing.html trunk/doc/Manual/ManualMultilanguage.html trunk/doc/Manual/ManualNewScripts.html trunk/doc/Manual/ManualPaymentTerms.html trunk/doc/Manual/ManualPettyCash.html trunk/doc/Manual/ManualPrices.html trunk/doc/Manual/ManualPurchaseOrdering.html trunk/doc/Manual/ManualReportBuilder.html trunk/doc/Manual/ManualRequirements.html trunk/doc/Manual/ManualSalesAnalysis.html trunk/doc/Manual/ManualSalesOrders.html trunk/doc/Manual/ManualSalesPeople.html trunk/doc/Manual/ManualSalesTypes.html trunk/doc/Manual/ManualSecuritySchema.html trunk/doc/Manual/ManualShipments.html trunk/doc/Manual/ManualSpecialUtilities.html trunk/doc/Manual/ManualSystemConventions.html trunk/doc/Manual/ManualTax.html trunk/includes/header.inc Added Paths: ----------- trunk/doc/Manual/ManualOutline.php trunk/doc/Manual/style/ trunk/doc/Manual/style/manual.css Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2012-06-23 22:15:44 UTC (rev 5449) +++ trunk/doc/Change.log 2012-06-24 05:36:51 UTC (rev 5450) @@ -1,5 +1,7 @@ webERP Change Log +24/06/2012: Icedlava: Adjust header.inc, ManualContents.php, ManualHeader.html to take Viewtopic and Bookmark parameters in displaying manual. Add ManualOutline.php file containing manual TOC, add CSS and rework all manual docs. Still to add $Viewtopic and $Bookmark to functions (eg see Stocks.php) + 24/6/2012 Release 4.08.1 22/06/2012 Icedlava: Fixed bug preventing insert of new account section Modified: trunk/doc/Manual/ManualAPITutorial.html =================================================================== --- trunk/doc/Manual/ManualAPITutorial.html 2012-06-23 22:15:44 UTC (rev 5449) +++ trunk/doc/Manual/ManualAPITutorial.html 2012-06-24 05:36:51 UTC (rev 5450) @@ -1,99 +1,92 @@ -<a name="APITutorial"><font size="+3"><b>Application Programming Interface</b></font></a> -<br /><br /> -<font size="+2"><b>webERP API - Getting Started</b></font> -<br /><br /> +<a id="APITutorial"><h1>Application Programming Interface</h1></a> + +<h2>webERP API - Getting Started</h2> +<p> The API is an Application Program Interface, that is intended to expose webERP functionality to external programs. There are currently a number of low level functions it exposes to enable external applications to retrieve webERP data and to update or insert webERP data. -<br /><br /> +</p> The API in webERP uses XML-RPC in particular the phpxmlrpc class from Useful Inc originally developed by Edd Dumbill -<br /><br /> -XML-RPC is a protocl to use XML to make RPC - remote procedure calls. -<br /><br /> -Simply put the XML-RPC call is XML that contains the method of the remote procedure call together with any parameters and their data types and is sent over http as a POST to the XML-RPC server - the server returns an XML payload containing the results of the call. The parameters sent to the methods can contain arrays and associative arrays of data. -<br /><br /> -The clever thing about XML-RPC is that it is the simplest protocol around for doing web-services. The newer and MUCH more complex SOAP - Simple Object Access Protocol - is quite involved and complicated. webERP is founded on the KISS principle. -<br /><br /> -In fact the XML-RPC "Server" in webERP is just the script http://www.yourdomain.com/webERP/api/api_xml-rpc.php -<br /><br /> -There is no daemon background process running continuously to field calls to the "server" it is just a script that is http posted to by the XML-RPC call sending the XML encoded method to be run together with the necessary parameters to the webERP API - the server script runs the API php functions exposed by the xml-rpc methods and returns the XML-RPC response as an XML payload. The phpxmlrpc class does the packaging converting the PHP variables and arrays to the XML required for the XML-RPC call and also has the functions to convert the XML response into something useable in PHP without having to write the XML parsing routines. -<br /><br /> -It is worthwhile reading a how-to on XML-RPC with PHP which explains in more detail what is going on as a primer for the concepts. -<br /><br /> -The beauty of XML-RPC is that the client calling the webERP XML-RPC server and performing native webERP functions can be called from any language (with XML-RPC bindings). I have used Vala, Genie and Python. Python particularly has been very straight forward as it has an xmlrpclib bundled with it. Of course a PHP client is also possible and is demonstrated below. -<br /><br /> -The API help is actually produced by an xml-rpc call to the API using the system.listMethods method (this is a phpxmlrpc method - not a webERP API method). Aother system xml-rpc method of phpxmlrpc class is used to return the details of each method's parameters required. So the help file not only documents each of the API methods it is itself and illustration of how the API can be used!! -<br /><br /> -Below is a simple example of how to use the API. -<br /><br /> -<hr /> -<i> -echo "<html><head>Test webERP API</head><body>"; -<br /><br /> -//the xmlrpc class can output some funny warnings so make sure notices are turned off -error_reporting (E_ALL & ~E_NOTICE); -<br /><br /> -/*you need to include the phpxmlrpc class - see link above - copy the whole directory structure of the class over to your client application from the webERP/xmlrpc directory -*/ -<br /><br /> +</p> +<p>XML-RPC is a protocl to use XML to make RPC - remote procedure calls.</p> +<p> +Simply put the XML-RPC call is XML that contains the method of the remote procedure call together with any parameters and their data types and is sent over http as a POST to the XML-RPC server - the server returns an XML payload containing the results of the call. The parameters sent to the methods can contain arrays and associative arrays of data.</p> +<p> +The clever thing about XML-RPC is that it is the simplest protocol around for doing web-services. The newer and MUCH more complex SOAP - Simple Object Access Protocol - is quite involved and complicated. webERP is founded on the KISS principle.</p> +<p> +In fact the XML-RPC "Server" in webERP is just the script http://www.yourdomain.com/webERP/api/api_xml-rpc.php</p> +<p>There is no daemon background process running continuously to field calls to the "server" it is just a script that is http posted to by the XML-RPC call sending the XML encoded method to be run together with the necessary parameters to the webERP API - the server script runs the API php functions exposed by the xml-rpc methods and returns the XML-RPC response as an XML payload. The phpxmlrpc class does the packaging converting the PHP variables and arrays to the XML required for the XML-RPC call and also has the functions to convert the XML response into something useable in PHP without having to write the XML parsing routines.</p> +<p> +It is worthwhile reading a how-to on XML-RPC with PHP which explains in more detail what is going on as a primer for the concepts.</p> +<p> +The beauty of XML-RPC is that the client calling the webERP XML-RPC server and performing native webERP functions can be called from any language (with XML-RPC bindings). I have used Vala, Genie and Python. Python particularly has been very straight forward as it has an xmlrpclib bundled with it. Of course a PHP client is also possible and is demonstrated below.</p> +<p> +The API help is actually produced by an xml-rpc call to the API using the system.listMethods method (this is a phpxmlrpc method - not a webERP API method). Aother system xml-rpc method of phpxmlrpc class is used to return the details of each method's parameters required. So the help file not only documents each of the API methods it is itself and illustration of how the API can be used!!</p> +<p> +Below is a simple example of how to use the API.</p> +<p> +<hr> +<pre> +echo "Test webERP API"; + +//the xmlrpc class can output some funny warnings so make sure notices are turned off error_reporting (E_ALL & ~E_NOTICE); + +/* you need to include the phpxmlrpc class - see link above - copy the whole directory structure of the class over to your client application from the webERP/xmlrpc directory */ + include ("xmlrpc/lib/xmlrpc.inc"); -<br /><br /> + //if your webERP install is on a server at http://www.yourdomain.com/webERP -<br /><br /> + $ServerURL = "http://www.yourdomain.com/webERP/api/api_xml-rpc.php"; -<br /><br /> + $DebugLevel = 0; //Set to 0,1, or 2 with 2 being the highest level of debug info -<br /><br /> + $Parameters = array(); -<br /><br /> -/*The trap for me was that each parameter needs to be run through xmlrpcval() - to create the necessary xml required for the rpc call -if one of the parameters required is an array then it needs to be processing into xml for the rpc call through php_xmlrpc_encode()*/ -<br /><br /> + +/* The trap for me was that each parameter needs to be run through xmlrpcval() - to create the necessary xml required for the rpc call if one of the parameters required is an array then it needs to be processing into xml for the rpc call through php_xmlrpc_encode()*/ + $Parameters['StockID'] = xmlrpcval('DVD-TOPGUN'); //the stockid of the item we wish to know the balance for -<br /><br /> + //assuming the demo username and password will work ! -<br /><br /> + $Parameters['Username'] = xmlrpcval('admin'); -<br /><br /> + $Parameters['Password'] = xmlrpcval('weberp'); -<br /><br /> + $msg = new xmlrpcmsg("weberp.xmlrpc_GetStockBalance", $Parameters); -<br /><br /> + $client = new xmlrpc_client($ServerURL); -<br /><br /> -$client->setDebug($DebugLevel); -<br /><br /> -$response = $client->send($msg); -<br /><br /> -$answer = php_xmlrpc_decode($response->value()); -<br /><br /> + +$client->setDebug($DebugLevel); + +$response = $client->send($msg); + +$answer = php_xmlrpc_decode($response->value()); + if ($answer[0]!=0){ //then the API returned some errors need to figure out what went wrong -<br /><br /> + //need to figure out how to return all the error descriptions associated with the codes -<br /><br /> + } else { //all went well the returned data is in $answer[1] -<br /><br /> + //answer will be an array of the locations and quantity on hand for DVD_TOPGUN so we need to run through the array to print out -<br /><br /> -for ($i=0; $i < sizeof($answer[1]);$i++) { -<br /><br /> - echo '<br>' . $answer[1][$i]['loccode'] . ' has ' . $answer[1][$i]['quantity'] . ' on hand'; - <br /><br /> + +for ($i=0; $i < sizeof($answer[1]);$i++) { + +echo '<br> +' . $answer[1][$i]['loccode'] . ' has ' . $answer[1][$i]['quantity'] . ' on hand'; + } -<br /><br /> -echo "</body></html>"; -<br /><br /> -</i> -<hr /> -<br /><br /> -It is necessary to be logged in to see the API functions manual shows all the functions in the API with a description of the parameters required and what each function does. -<br /><br /> -To create invoices in webERP you need to use the following methods: -<br /><br /> -InsertOrderHeader -InsertOrderLine - potentially multiple times for all the lines on the order then -InvoiceSalesOrder - to invoice sales orders directly assuming the entire order is delivered - it cannot deal with controlled stock items though. However, it does process invoices in much the same way as standard webERP with updates to the stock quantities dispatched, GL entries and records required to record taxes and sales analysis records. -<br /><br /> -To create a credit note just a sinlge API call is required: -<br /> -CreateCreditNote - to create a credit note from some base header data and an array of line items (as an associative array. In the same way as the InvoiceSalesOrder function this does all the same processing as a standard credit note from the interface in webERP. -<br /><br /> -There are some example scripts on the wiki showing how a number of the API XML-RPC functions are called - these scripts should be put on a web-server outside a webERP installation - all you need to do is edit the config.inc file to give the system your webERP username and password and the URL of your webERP installation you wish to connect to. As always playing with the examples helps to figure out how it all works. \ No newline at end of file + +echo ""; +</pre> +<p> +It is necessary to be logged in to see the API functions manual shows all the functions in the API with a description of the parameters required and what each function does.</p> +<p> +To create invoices in webERP you need to use the following methods:</p> +<p> +InsertOrderHeader InsertOrderLine - potentially multiple times for all the lines on the order then InvoiceSalesOrder - to invoice sales orders directly assuming the entire order is delivered - it cannot deal with controlled stock items though. However, it does process invoices in much the same way as standard webERP with updates to the stock quantities dispatched, GL entries and records required to record taxes and sales analysis records.</p> +<p> +To create a credit note just a sinlge API call is required:</p> +<p> +CreateCreditNote - to create a credit note from some base header data and an array of line items (as an associative array. In the same way as the InvoiceSalesOrder function this does all the same processing as a standard credit note from the interface in webERP.</p> +<p> +There are some example scripts on the wiki showing how a number of the API XML-RPC functions are called - these scripts should be put on a web-server outside a webERP installation - all you need to do is edit the config.inc file to give the system your webERP username and password and the URL of your webERP installation you wish to connect to. As always playing with the examples helps to figure out how it all works.</p> Modified: trunk/doc/Manual/ManualARInquiries.html =================================================================== --- trunk/doc/Manual/ManualARInquiries.html 2012-06-23 22:15:44 UTC (rev 5449) +++ trunk/doc/Manual/ManualARInquiries.html 2012-06-24 05:36:51 UTC (rev 5450) @@ -1,40 +1,34 @@ -<br /><br /> - <!-- Help Begin: CustomerInquiry --> +<a id="ARInquiries"><h1>Accounts Receivable Inquiries</h1></a> +<h2>Customer Inquiries</h2> +<p> +Complete "drill down" inquiries are available to extract the full detail of transactions. The system maintains more data than many systems, preferring to minimise the use of consolidated or batch entries, in favour of the full detail of each transaction. The enquires can show the account history for a customer and from this inquiry it is possible to look at the details behind each transaction, from the detail of the transaction it is possible to look at the line items on the original invoice and which receipts paid the invoice. The original invoice or credit can be viewed directly from customer inquiries and the general ledger transactions that were created by the invoice, credit or receipt may also be inspected.</p> -<a name="ARInquiries"><font size="+3"><b>Accounts Receivable Inquiries</b></font></a> -<br /><br /> -<font size="+2"><b>Customer Inquiries</b></font> -<br /><br /> -Complete "drill down" inquiries are available to extract the full detail of transactions. The system maintains more data than many systems, preferring to minimise the use of consolidated or batch entries, in favour of the full detail of each transaction. The enquires can show the account history for a customer and from this inquiry it is possible to look at the details behind each transaction, from the detail of the transaction it is possible to look at the line items on the original invoice and which receipts paid the invoice. The original invoice or credit can be viewed directly from customer inquiries and the general ledger transactions that were created by the invoice, credit or receipt may also be inspected. -<br /><br /> -<font size="+1"><b>Customer Account inquiries</b></font> -<br /><br /> -From any page, click the "select customer" link. Having selected the customer all links applicable to the customer show. Among them the customer transactions inquiry. -<br /><br /> -By default the inquiry screen shows only those transactions after a date six months ago. The default period can be modified by simple editing of the script CustomerInquiry.php. If transactions further back are required only occasionally and not by default - the date after which all transactions will show can be altered at will. When the screen opens the customer's account is shown in the currency of the customer. The aged analysis based on the customer's terms is displayed. -<br /><br /> -If the transaction is an invoice or a credit note a magnifying glass icon shows on the same line as the transaction. A click on this magnifying glass then opens a new window showing the detail of the invoice or credit note. -<br /><br /> -If the integration to the general ledger from accounts receivable - see the option to "Create GL entries for accounts receivable transactions" from the Company Preferences page under setup - then another link with the letters GL will show. This link shows a new page with the detail of the general ledger postings created by this transaction. -<br /><br /> -If the transaction is a receipt or a credit note and the user has appropriate access privileges, a book icon shows. Clicking this icon takes the user to the page for allocating receipts and credits - if the receipt or credit is already allocated then the detail of how the receipt/credit was allocated is shown together with other invoices that could be used for allocating against. Invoices that have previously been allocated will not show. -<br /><br /> -More (or less) history can be shown by changing the "Show all transactions after: -<br /><br /> -" date - then clicking the refresh button. The balance on the customer's account should balance to the sum of the amounts outstanding. The amount outstanding is used to represent: -<br /><br /> +<h2>Customer Account inquiries</h2> + +<p>From any page, click the "select customer" link. Having selected the customer all links applicable to the customer show. Among them the customer transactions inquiry.</p> + +<p>By default the inquiry screen shows only those transactions after a date six months ago. The default period can be modified by simple editing of the script CustomerInquiry.php. If transactions further back are required only occasionally and not by default - the date after which all transactions will show can be altered at will. When the screen opens the customer's account is shown in the currency of the customer. The aged analysis based on the customer's terms is displayed.</p> + +<p>If the transaction is an invoice or a credit note a magnifying glass icon shows on the same line as the transaction. A click on this magnifying glass then opens a new window showing the detail of the invoice or credit note.</p> + +<p>If the integration to the general ledger from accounts receivable - see the option to "Create GL entries for accounts receivable transactions" from the Company Preferences page under setup - then another link with the letters GL will show. This link shows a new page with the detail of the general ledger postings created by this transaction.</p> + +<p>If the transaction is a receipt or a credit note and the user has appropriate access privileges, a book icon shows. Clicking this icon takes the user to the page for allocating receipts and credits - if the receipt or credit is already allocated then the detail of how the receipt/credit was allocated is shown together with other invoices that could be used for allocating against. Invoices that have previously been allocated will not show.</p> + +<p>More (or less) history can be shown by changing the "Show all transactions after:</p> + +<p>" date - then clicking the refresh button. The balance on the customer's account should balance to the sum of the amounts outstanding. The amount outstanding is used to represent:</p> + <ul> -<li>For Invoices, the amount which has not yet been settled by receipts or credit notes -<li>For Receipts, the amount which has yet to be allocated (or matched off) against invoices. + <li>For Invoices, the amount which has not yet been settled by receipts or credit notes</li> + <li>For Receipts, the amount which has yet to be allocated (or matched off) against invoices.</li> </ul> -<font size="+1"><b>Transaction Detail inquiries</b></font> -<br /><br /> -The detail of transactions can be inspected via one of two avenues: -<br /><br /> +<h3>Transaction Detail inquiries</h3> +The detail of transactions can be inspected via one of two avenues:</p> + <ul> -<li>From the Customer's Account inquiry - click on the magnifying glass or the GL link against the transaction required. -<li>From the Transaction Enquires - from the Accounts Receivable tab, click on the magnifying glass to see the actual invoice or credit note. -</ul> + <li>From the Customer's Account inquiry - click on the magnifying glass or the GL link against the transaction required.</li> -<!-- Help End: CustomerInquiry --> + <li>From the Transaction Enquires - from the Accounts Receivable tab, click on the magnifying glass to see the actual invoice or credit note.</li> +</ul><!-- Help End: CustomerInquiry --> Modified: trunk/doc/Manual/ManualARReports.html =================================================================== --- trunk/doc/Manual/ManualARReports.html 2012-06-23 22:15:44 UTC (rev 5449) +++ trunk/doc/Manual/ManualARReports.html 2012-06-24 05:36:51 UTC (rev 5450) @@ -1,71 +1,50 @@ -<br /><br /> -<a name="ARReports"><font size="+3"><b>Accounts Receivable Reports</b></font></a> -<br /><br /> -The system is designed for flexibility and to provide the framework of core functionality required to administer a debtors ledger system. The basic accounts receivable reports are available as standard since they are used by all businesses. However, since the database is open it is envisaged that the business will make use of ODBC drivers for database used and use Crystal Reports or Microsoft Access or some other analysis software, where the user is on the same LAN as the server for specialised reports. -<br /><br /> +<a id="ARReports"><h1>Accounts Receivable Reports</h1></a> +The system is designed for flexibility and to provide the framework of core functionality required to administer a debtors ledger system. The basic accounts receivable reports are available as standard since they are used by all businesses. However, since the database is open it is envisaged that the business will make use of ODBC drivers for database used and use Crystal Reports or Microsoft Access or some other analysis software, where the user is on the same LAN as the server for specialised reports.</p> + <!-- Help Begin: AgedDebtors --> +<h2>Aged Customer Balance Listing</h2> +<p> +From the main menu select Customers, Reports, "Aged Customer Balances/Overdues Report".</p> +<p> +This report calculates the balances of the customers' accounts according to the parameters specified in config.php $PastDueDays1 and $PastDueDays2. The report is generated in the currency of the customer. The currency of the report must first be selected and the range of customers accounts to print.</p> +<p> +The report can be printed at two levels:</p> -<font size="+1"><b>Aged Customer Balance Listing</b></font> -<br /><br /> -From the main menu select Customers, Reports, "Aged Customer Balances/Overdues Report". -<br /><br /> -This report calculates the balances of the customers' accounts according to the parameters specified in config.php $PastDueDays1 and $PastDueDays2. The report is generated in the currency of the customer. The currency of the report must first be selected and the range of customers accounts to print. -<br /><br /> -The report can be printed at two levels: -<br /><br /> <ul> -<li>The full detail of the all outstanding amounts on the account, transaction by transaction analysed into current, Due, $PastDueDays1 and PastDueDays2. The detailed report also shows the terms applicable to each customer. -<li>A summary of the account balances split in the same aged groupings. -</ul> -This report recalculates the balance on the customer's account from the outstanding transactions and analyses each outstanding transaction based on the date of invoice plus the expected time to deliver to the branch invoiced. -<br /><br /> -The Aged Customer Balances can also be restricted to show just the accounts where there is some balance overdue. The same detail and summary reports are available. The resultant reports create pdf files that can be either saved or printed. + <li>The full detail of the all outstanding amounts on the account, transaction by transaction analysed into current, Due, $PastDueDays1 and PastDueDays2. The detailed report also shows the terms applicable to each customer.</li> -<!-- Help End: AgedDebtors --> + <li>A summary of the account balances split in the same aged groupings.</li> +</ul>This report recalculates the balance on the customer's account from the outstanding transactions and analyses each outstanding transaction based on the date of invoice plus the expected time to deliver to the branch invoiced.</p> +<p> +The Aged Customer Balances can also be restricted to show just the accounts where there is some balance overdue. The same detail and summary reports are available. The resultant reports create pdf files that can be either saved or printed. <!-- Help End: AgedDebtors --> -<br /><br /> - <!-- Help Begin: PrintCustStatements --> +<h2>Customer Statements</h2> +<p> +The customer statement shows the outstanding transactions on the account. There is an option in config.php that allows transactions that have been settled at some time within the last month to be shown in a settled transactions section of the statement. The parameter, $Show_Settled_LastMonth should be set equal to 1 for this. If it is set to 0, then any settled transactions will not be shown on the statements. This saves printing zero balance statements and there is argument both ways as to which is best.</p> +<p> +When transactions are created, the date of the transaction determines the period into which it is posted in the general ledger. The date of the transaction is also used in the aging calculations used on the statement. All transactions to the date of the statement are included. It is not possible to print a statement as at some prior date. It may be necessary to delay the start of invoicing for the new month until all receipts are entered and allocated and the statements printed before processing new invoices that should appear on the following month's statement.</p> +<p> +Procedure - All receipts must be allocated for the aged analysis to be calculated correctly. Then from the main menu Accounts Receivable tab select from the reports and inquiries section, "Print Statements". The link will allow selection of a range of customers. A single customer's statement can be printed by selecting the same starting an finishing customer code. Statements will be printed in sequence of the Customer code set up in the customer details screen. A pdf file is created this can be saved or printed. <!-- Help End: PrintCustStatements --> -<font size="+1"><b>Customer Statements</b></font> -<br /><br /> -The customer statement shows the outstanding transactions on the account. There is an option in config.php that allows transactions that have been settled at some time within the last month to be shown in a settled transactions section of the statement. The parameter, $Show_Settled_LastMonth should be set equal to 1 for this. If it is set to 0, then any settled transactions will not be shown on the statements. This saves printing zero balance statements and there is argument both ways as to which is best. -<br /><br /> -When transactions are created, the date of the transaction determines the period into which it is posted in the general ledger. The date of the transaction is also used in the aging calculations used on the statement. All transactions to the date of the statement are included. It is not possible to print a statement as at some prior date. It may be necessary to delay the start of invoicing for the new month until all receipts are entered and allocated and the statements printed before processing new invoices that should appear on the following month's statement. -<br /><br /> -Procedure - All receipts must be allocated for the aged analysis to be calculated correctly. Then from the main menu Accounts Receivable tab select from the reports and inquiries section, "Print Statements". The link will allow selection of a range of customers. A single customer's statement can be printed by selecting the same starting an finishing customer code. Statements will be printed in sequence of the Customer code set up in the customer details screen. A pdf file is created this can be saved or printed. - -<!-- Help End: PrintCustStatements --> - -<br /><br /> - <!-- Help Begin: CustomerTransInquiry --> +<h2>Customer Transaction Listing Options</h2> +<p> +This is accessed from the main menu, accounts receivable tab under the link "Transaction Inquiries".</p> +<p> +This inquiry allows transactions to be listed based on the selection of criteria on screen. The page allows listing of receipts, invoices or credit notes within any specified date range.</p> +<p> +This listing is shown on the screen and can of course be printed from the browser if necessary. <!-- Help End: CustomerTransInquiry --> + <!-- Help Begin: PrintCustTrans --> -<font size="+1"><b>Customer Transaction Listing Options</b></font> -<br /><br /> -This is accessed from the main menu, accounts receivable tab under the link "Transaction Inquiries". -<br /><br /> -This inquiry allows transactions to be listed based on the selection of criteria on screen. The page allows listing of receipts, invoices or credit notes within any specified date range. -<br /><br /> -This listing is shown on the screen and can of course be printed from the browser if necessary. - -<!-- Help End: CustomerTransInquiry --> - -<!-- Help Begin: PrintCustTrans --> - -<br /><br /> -<font size="+1"><b>Printing Invoices Or Credit Notes</b></font> -<br /><br /> -From the Main Menu select the Accounts Receivable tab, under Inquiries and Reports, "Print Invoices or Credit Notes". -<br /><br /> -This page shows the last invoice and credit note created and some brief instructions on how to use the page. By default the page assumes that invoices are required. However, if credit notes are required, they can be selected from the list field. -<br /><br /> -If only one transaction is required then the number of the transaction should be entered in the field "Start invoice/credit note number to print". If a range of transactions is required then both fields are necessary to be completed. -<br /><br /> -There is also an option to print EDI invoices/credit notes. By default these are not printed as they will normally be dispatched electronically to the customer. However, some businesses and tax authorities require hard copy invoices and credit notes to be produced in any event. -<br /><br /> -Two options are available - Print, produces a html page of the invoice (or credit note), the resulting page can then be printed using the browser print functionality. The print PDF produces a PDF invoice (or credit note). - -<!-- Help End: PrintCustTrans --> - +<h2>Printing Invoices Or Credit Notes</h2> +<p> +From the Main Menu select the Accounts Receivable tab, under Inquiries and Reports, "Print Invoices or Credit Notes".</p> +<p> +This page shows the last invoice and credit note created and some brief instructions on how to use the page. By default the page assumes that invoices are required. However, if credit notes are required, they can be selected from the list field.</p> +<p>If only one transaction is required then the number of the transaction should be entered in the field "Start invoice/credit note number to print". If a range of transactions is required then both fields are necessary to be completed.</p> +<p> +There is also an option to print EDI invoices/credit notes. By default these are not printed as they will normally be dispatched electronically to the customer. However, some businesses and tax authorities require hard copy invoices and credit notes to be produced in any event.</p> +<p> +Two options are available - Print, produces a html page of the invoice (or credit note), the resulting page can then be printed using the browser print functionality. The print PDF produces a PDF invoice (or credit note). <!-- Help End: PrintCustTrans --> Modified: trunk/doc/Manual/ManualARTransactions.html =================================================================== --- trunk/doc/Manual/ManualARTransactions.html 2012-06-23 22:15:44 UTC (rev 5449) +++ trunk/doc/Manual/ManualARTransactions.html 2012-06-24 05:36:51 UTC (rev 5450) @@ -1,190 +1,209 @@ -<br /><br /> +<h1><a id="ARTransactions">Accounts Receivable Transactions</a></h1> -<!-- Help Begin: SelectSalesOrder --> +<h2>Invoicing An Order</h2> -<a name="ARTransactions"><font size="+3"><b>Accounts Receivable Transactions</b></font></a> -<br /><br /> -<font size="+2"><b>Invoicing An Order</b></font> -<br /><br /> -<font size="+1"><b>Selecting an Order To Invoice</b></font> -<br /><br /> -All invoices require a sales order to be entered first. -<br /><br /> -From the main menu select the orders tab. Select Outstanding Sales Orders Maintenance. This page shows all the orders outstanding. If the order number is known it can be entered on this screen to select the order to invoice. Hit search orders and the order should show below, together with links to modify the order, print the packing slip and to invoice. Click the link to invoice the order. -<br /><br /> -<font size="+1"><b>Producing An Invoice From A Selected Order</b></font> -<br /><br /> -Having selected an order to invoice the order line comes up for confirming the quantities of the order that were dispatched. If the quantity dispatched differs from the order the difference is recorded in the table OrderDeliveryDifferencesLog - and a report is available to show the orders that were not able to be delivered with the first dispatch. There is also opportunity to enter the freight charge and if necessary enter the tax charge - which will normally be calculated automatically based on the tax authority of the customer branch being invoiced. The date of the invoice is defaulted based on the time of day and the settings in config.php. If the hour (in 24 hour format) is after the setting of $DispatchCutOffTime in config.php, then the following day is deemed to be the invoice date, alternatively the invoice date will default to today. Where not all lines on the order are being invoiced there are two choices with how to deal with the balance. -<br /><br /> +<h3>Selecting an Order To Invoice</h3> + +<p>All invoices require a sales order to be entered first.</p> + +<p>From the main menu select the orders tab. Select Outstanding Sales Orders Maintenance. This page shows all the orders outstanding. If the order number is known it can be entered on this screen to select the order to invoice. Hit search orders and the order should show below, together with links to modify the order, print the packing slip and to invoice. Click the link to invoice the order.</p> + +<h3>Producing An Invoice From A Selected Order</h3> + +<p>Having selected an order to invoice the order line comes up for confirming the quantities of the order that were dispatched. If the quantity dispatched differs from the order the difference is recorded in the table OrderDeliveryDifferencesLog - and a report is available to show the orders that were not able to be delivered with the first dispatch. There is also opportunity to enter the freight charge and if necessary enter the tax charge - which will normally be calculated automatically based on the tax authority of the customer branch being invoiced. The date of the invoice is defaulted based on the time of day and the settings in config.php. If the hour (in 24 hour format) is after the setting of $DispatchCutOffTime in config.php, then the following day is deemed to be the invoice date, alternatively the invoice date will default to today. Where not all lines on the order are being invoiced there are two choices with how to deal with the balance.</p> + <ul> -<li>Put the balance on back order -<li>Cancel the line on the order -</ul> -Finally there is also a field for entry of any text on the invoice. Hitting the process invoice button updates the order as instructed and produces all the entries including general ledger postings (if integration is enabled in the company preferences screen - see setup) to record the invoice. Until the process invoice button is hit, no entries have been saved to the database and it is safe to leave the page at any stage without having changed anything - the invoicing process can be cancelled at any time simply by following a link to another page. The processing that takes place once the Process Invoice button is hit includes: -<br /><br /> + <li>Put the balance on back order</li> + + <li>Cancel the line on the order</li> +</ul>Finally there is also a field for entry of any text on the invoice. Hitting the process invoice button updates the order as instructed and produces all the entries including general ledger postings (if integration is enabled in the company preferences screen - see setup) to record the invoice. Until the process invoice button is hit, no entries have been saved to the database and it is safe to leave the page at any stage without having changed anything - the invoicing process can be cancelled at any time simply by following a link to another page. The processing that takes place once the Process Invoice button is hit includes: +<p> + <ul> -<li>Creation of the stock movements for each line item on the order - or for the assemblies components - from the location entered at the time of the order, at the price as per the order. -<li>Creation of the DebtorTrans record that records the invoice against the customer's account. -<li>Creation of the general ledger jorunals to record the sale and debtor etc. -<li>Updating the order for amounts dispatched, and the invoice number. -<li>Creating/updating the sales analysis records of the items being sold. -<li>Updating the stock quantities for all lines of the invoice and the components of all assemblies included on the order. + <li>Creation of the stock movements for each line item on the order - or for the assemblies components - from the location entered at the time of the order, at the price as per the order.</li> + + <li>Creation of the DebtorTrans record that records the invoice against the customer's account.</li> + + <li>Creation of the general ledger jorunals to record the sale and debtor etc.</li> + + <li>Updating the order for amounts dispatched, and the invoice number.</li> + + <li>Creating/updating the sales analysis records of the items being sold.</li> + + <li>Updating the stock quantities for all lines of the invoice and the components of all assemblies included on the order.</li> </ul> -If the order is not to be invoiced to the customer or branch specified in the order, or pricing is to be changed then the order must be changed. These elements cannot be altered at the time of invoice, they must be altered in the order before it is confirmed for invoicing. Once an invoice is created it cannot be deleted or modified. The order is also updated with the invoice number that it was dispatched on. -<!-- Help End: SelectSalesOrder --> +<p>If the order is not to be invoiced to the customer or branch specified in the order, or pricing is to be changed then the order must be changed. These elements cannot be altered at the time of invoice, they must be altered in the order before it is confirmed for invoicing. Once an invoice is created it cannot be deleted or modified. The order is also updated with the invoice number that it was dispatched on.</p><!-- Help End: SelectSalesOrder --> -<br /><br /> +<div class="floatright"> + <a class="minitext" href="#top">⬆ Top</a> +</div><!-- Help Begin: SelectCreditItems --> -<!-- Help Begin: SelectCreditItems --> +<h2>Credit Notes</h2> -<font size="+2"><b>Credit Notes</b></font> -<br /><br /> -Credit notes can be created in one of two ways: -<br /><br /> +<p>Credit notes can be created in one of two ways:</p> + <ul> -<li>From a customer inquiry screen if the user has the necessary permissions ( $PageSecurity=3 - see Security Schema) a link shows to allow an entire invoice to be credited. Having clicked this link there is opportunity to de-select some items from being credited so that only the part of the invoice that needs to be credited can be, with only minimal keying. The same credit note creation page as used in manual creation of credit notes will appear but with all the items from the orignal invoice already entered into the credit note. -<li>Using the link on the main menu under the receivables tab, select the link to create a credit note. + <li>From a customer inquiry screen if the user has the necessary permissions ( $PageSecurity=3 - see Security Schema) a link shows to allow an entire invoice to be credited. Having clicked this link there is opportunity to de-select some items from being credited so that only the part of the invoice that needs to be credited can be, with only minimal keying. The same credit note creation page as used in manual creation of credit notes will appear but with all the items from the orignal invoice already entered into the credit note.</li> + + <li>Using the link on the main menu under the receivables tab, select the link to create a credit note.</li> </ul> -<b>Important Note:</b> -<br /><br /> -It is important to use credit notes to correct incorrect invoices correctly. Crediting a small price against a part implies that the goods were returned and the customer only credited a fraction of their worth. This is not the correct way to credit an overcharge. By default credit notes return the stock to the location specified, so the stock records will be overstated by the goods returned to stock by the credit note. To correct a pricing error a credit note for the invoice line at the incorrect charge must be done and a new invoice at the correct charge must be made up. This ensures that sales analysis records are not corrupted for the quantities sold and that stock records are maintained correctly. A special pricing adjustment type of credit note is available that does not have any cost implications for the sales analysis and has no stock physical movement record associated with it. -<br /><br /> -The process for creating a credit note manually is: -<br /><br /> + +<h4>Important Note:</h4> + +<p>It is important to use credit notes to correct incorrect invoices correctly. Crediting a small price against a part implies that the goods were returned and the customer only credited a fraction of their worth. This is not the correct way to credit an overcharge. By default credit notes return the stock to the location specified, so the stock records will be overstated by the goods returned to stock by the credit note. To correct a pricing error a credit note for the invoice line at the incorrect charge must be done and a new invoice at the correct charge must be made up. This ensures that sales analysis records are not corrupted for the quantities sold and that stock records are maintained correctly. A special pricing adjustment type of credit note is available that does not have any cost implications for the sales analysis and has no stock physical movement record associated with it.</p> + +<p>The process for creating a credit note manually is:</p> + <ul> -<li>Select the customer to be credited, there are the usual selection options (a box to enter an extract of the customer's name and a box to enter an extract of the customer's code) -<li>Select the items to be credited and the prices to be used in crediting the customer - the same quick entry option is available as is used in order entry. - where the part code and quantity to be credited is entered directly. Pricing is automatically determined by reference to the customer's sales type, currency with regard to any special pricing for the customer (and branch) being credited. If the search for a part functions are used, then after each part is selected the quantity can be updated after the item is selected. -<li>Having selected all the items it is possible to edit the items to be credited by clicking the button of the code of the item on the summary, then editing the price and quantity. -<li>Amounts to be credited for freight can be entered directly (this would be entered directly from the original invoice if the credit an invoice option was used from the customer inquiry screen). -<li>The tax amount to credit is calculated automatically by default based on the tax authority of the branch being credited and the total of the line items and freight to be credited. It is also possible to select the manual option. Once having selected manual, the user should hit update to allow free entry of any amount in the tax field. -<li>By default it is assumed that the goods in the credit note are being returned to stock. The location to where the goods are being returned must be selected from the selection box. -<li>If the goods are not being returned to stock, they are to be written off perhaps as samples or showroom display, damaged goods or whatever, the credit note type option should be changed to goods written off. After changing the credit note type and hitting the update button, a new select box will allow a general ledger code to be selected (assuming the general ledger interface to accounts receivable is active - it will not show if there is no integration). The appropriate general ledger code should be selected from this box. The location to return the stock to select box will disappear since it is no longer relevant. A third option is to credit a pricing adjustment - this type does not create any stock movements and the sales analysis updates only affect the value no cost of sales updates take place. -<li>Any text describing the reasons for the credit note should be entered in the narrative box provided. -<li>After completing all the inputs required, hit the Process Credit Note button to create the credit note. The created credit note number will be reported confirming that it has been processed. -</ul> + <li>Select the customer to be credited, there are the usual selection options (a box to enter an extract of the customer's name and a box to enter an extract of the customer's code)</li> -<!-- Help End: SelectCreditItems --> + <li>Select the items to be credited and the prices to be used in crediting the customer - the same quick entry option is available as is used in order entry. - where the part code and quantity to be credited is entered directly. Pricing is automatically determined by reference to the customer's sales type, currency with regard to any special pricing for the customer (and branch) being credited. If the search for a part functions are used, then after each part is selected the quantity can be updated after the item is selected.</li> + <li>Having selected all the items it is possible to edit the items to be credited by clicking the button of the code of the item on the summary, then editing the price and quantity.</li> + + <li>Amounts to be credited for freight can be entered directly (this would be entered directly from the original invoice if the credit an invoice option was used from the customer inquiry screen).</li> + + <li>The tax amount to credit is calculated automatically by default based on the tax authority of the branch being credited and the total of the line items and freight to be credited. It is also possible to select the manual option. Once having selected manual, the user should hit update to allow free entry of any amount in the tax field.</li> + + <li>By default it is assumed that the goods in the credit note are being returned to stock. The location to where the goods are being returned must be selected from the selection box.</li> + + <li>If the goods are not being returned to stock, they are to be written off perhaps as samples or showroom display, damaged goods or whatever, the credit note type option should be changed to goods written off. After changing the credit note type and hitting the update button, a new select box will allow a general ledger code to be selected (assuming the general ledger interface to accounts receivable is active - it will not show if there is no integration). The appropriate general ledger code should be selected from this box. The location to return the stock to select box will disappear since it is no longer relevant. A third option is to credit a pricing adjustment - this type does not create any stock movements and the sales analysis updates only affect the value no cost of sales updates take place.</li> + + <li>Any text describing the reasons for the credit note should be entered in the narrative box provided.</li> + + <li>After completing all the inputs required, hit the Process Credit Note button to create the credit note. The created credit note number will be reported confirming that it has been processed.</li> +</ul><!-- Help End: SelectCreditItems --> <!-- Help Begin: CustomerReceipt --> -<font size="+2"><b>Entry Of Receipts</b></font> -<br /><br /> -This system tracks the invoices and credits which are outstanding (a so called open item system) in contrast to systems which use a balance brought forward from the previous month to add and subtract current month transactions. Experience has shown balance forward systems whilst intuitive, often result in queries for more information with the inevitable question from customers "what was this balance made up of ?" . The statements produced by this system show a full reconciliation of the amounts outstanding against invoices and credits that are yet to be settled totalling the amount of the customer's account. In order to provide the necessary information to track outstanding amounts, invoice by invoice, the detail of the make up of payments must be entered. -<br /><br /> -Payments received from customers are therefore entered in a two-stage process: -<br /><br /> +<div class="floatright"> + <a class="minitext" href="#top">⬆ Top</a> +</div> + +<h2>Entry Of Receipts</h2> + +<p>This system tracks the invoices and credits which are outstanding (a so called open item system) in contrast to systems which use a balance brought forward from the previous month to add and subtract current month transactions. Experience has shown balance forward systems whilst intuitive, often result in queries for more information with the inevitable question from customers "what was this balance made up of ?" . The statements produced by this system show a full reconciliation of the amounts outstanding against invoices and credits that are yet to be settled totalling the amount of the customer's account. In order to provide the necessary information to track outstanding amounts, invoice by invoice, the detail of the make up of payments must be entered.</p> + +<p>Payments received from customers are therefore entered in a two-stage process:</p> + <ul> -<li>The amount of the payment received is entered in foreign currency together with the exchange rate at which this has been banked into local currency. Any details pertinent to the receipt such as the date, method of payment and any details (which can be recalled from inquiries later) are entered at this stage. -<li>The foreign currency received is allocated to the invoices (and debit journals) on the customer's account. Put another way, the invoices that the payment is meant to be settling are matched off against the payment. -</ul> -If the details of the make up of a payment received are not available at the time of banking, the receipt can still be entered to stage 1. However, the allocation must be done before the statement is produced if the account is to make sense. -<br /><br /> -Note: Differences on exchange are only calculated once the receipt is matched against the invoices it is paying. -<br /><br /> -Receipts relating to general ledger transactions can also be entered in the same batch as customer receipts. -<br /><br /> -The process of entering receipts is initiated from the main menu under the receivables tab - another link is also available from the general ledger tab. -<br /><br /> -Firstly, the receipt header information is required, the bank account - one of the previously defined bank accounts (see setup), the date the batch of receipts are banked, the currency and exchange rate of the banking and the type of receipt together with any narrative. The currency can be selected from the defined currencies (see setup). The receipt types can also be selected - they are defined in config.php. Once this information is entered it must be accepted before the receipts in the batch can be entered. -<br /><br /> -<font size="+1"><b>Receipt - Customer</b></font> -<br /><br /> -By default once the a customer has been selected the following information is displayed: -<br /><br /> + <li>The amount of the payment received is entered in foreign currency together with the exchange rate at which this has been banked into local currency. Any details pertinent to the receipt such as the date, method of payment and any details (which can be recalled from inquiries later) are entered at this stage.</li> + + <li>The foreign currency received is allocated to the invoices (and debit journals) on the customer's account. Put another way, the invoices that the payment is meant to be settling are matched off against the payment.</li> +</ul>If the details of the make up of a payment received are not available at the time of banking, the receipt can still be entered to stage 1. However, the allocation must be done before the statement is produced if the account is to make sense. +<p> + +<p>Note: Differences on exchange are only calculated once the receipt is matched against the invoices it is paying.</p> + +<p>Receipts relating to general ledger transactions can also be entered in the same batch as customer receipts.</p> + +<p>The process of entering receipts is initiated from the main menu under the receivables tab - another link is also available from the general ledger tab.</p> + +<p>Firstly, the receipt header information is required, the bank account - one of the previously defined bank accounts (see setup), the date the batch of receipts are banked, the currency and exchange rate of the banking and the type of receipt together with any narrative. The currency can be selected from the defined currencies (see setup). The receipt types can also be selected - they are defined in config.php. Once this information is entered it must be accepted before the receipts in the batch can be entered.</p> + +<h3>Receipt - Customer</h3> + +<p>By default once the a customer has been selected the following information is displayed:</p> + <ul> -<li>The payment terms applicable, so amounts overdue can be easily noted from the allocation screen without having to go back and do an inquiry. -<li>The payment discount percentage applicable. The user can then use this rate if applicable to calculate the discount applicable, depending on how much of the payment relates to "on time" invoices. -<li>The currency that the currency is paying in. + <li>The payment terms applicable, so amounts overdue can be easily noted from the allocation screen without having to go back and do an inquiry.</li> + + <li>The payment discount percentage applicable. The user can then use this rate if applicable to calculate the discount applicable, depending on how much of the payment relates to "on time" invoices.</li> + + <li>The currency that the currency is paying in.</li> </ul> -<font size="+1"><b>Receipt - Date</b></font> -<br /><br /> -The date that the receipt was received and banked. If a receipt is being entered retrospectively - or several days bankings are being done together, the default date (i.e. the current date) should be over written with the date the receipt was originally received. This date is used on the statement and the customer may not be able to tie up the receipt if an incorrect date is entered. -<br /><br /> -Customer account inquiries are shown in date order so the account will not show correctly if the date entered is not the date the money was received. The date is also used in the general ledger transaction created. -<br /><br /> -<font size="+1"><b>Receipts - Currency and Exchange Rate</b></font> -<br /><br /> -Selection of the customer automatically tells the system which currency to expect the receipt in. The customer's account is maintained in the currency selected in the customer maintenance screen. -<br /><br /> -The correct rate at which the bank has converted the foreign currency to local currency must be input, the system shows the calculation of the local currency banked at the bottom of the screen. The receipt cannot (therefore) be entered until the amount in local currency is known. The exact rate to enter in this field will be the foreign currency figure divided by the local currency figure. -<br /><br /> -Eg banked 1212 local, in customer's currency this was 400. -<br /><br /> -Rate is 400/1212 = 0.330033 -<br /><br /> -The local currency calculated by the system should confirm that the rate entered is correct. The general ledger integration - if enabled - will produce a bank deposit for the local currency amount shown at the bottom of the screen, and reduce (credit) the Debtors Control account by the same amount. The system defaults the exchange rate to that set up against the currency in the currencies table. -<br /><br /> -When the receipt is matched to invoices, any differences between the local currency amounts banked against the local currency invoiced are recorded against the invoices and written off the general ledger Debtors Control Account and written into the profit and loss account - (specified in the company record of the customer concerned) if the general ledger integration is enabled from the module options screen. -<br /><br /> -<font size="+1"><b>Receipts - Payment Method</b></font> -<br /><br /> -The payment method is stored against the receipt and shows on the customer's statement. A banking report can also be run off based on the payment method to summarise the day's bankings, to automate the task of collating the different vouchers and summarising for the bank. -<br /><br /> -<font size="+1"><b>Receipts - Amount</b></font> -<br /><br /> -The amount of the receipt in foreign currency is entered here. This cannot be 0. Although, negative receipts are allowed (to reverse incorrect receip... [truncated message content] |
From: <ice...@us...> - 2012-06-24 05:37:00
|
Revision: 5450 http://web-erp.svn.sourceforge.net/web-erp/?rev=5450&view=rev Author: icedlava Date: 2012-06-24 05:36:51 +0000 (Sun, 24 Jun 2012) Log Message: ----------- Adjust header.inc, ManualContents.php, ManualHeader.html to take ViewTopic and Bookmark parameters in displaying manual. Add ManualOutline.php file containing manual TOC, add CSS and rework all manual docs. Add $Viewtopic and $Bookmark to some functions (eg see Stocks.php) - ongoing work. Modified Paths: -------------- trunk/doc/Change.log trunk/doc/Manual/ManualAPITutorial.html trunk/doc/Manual/ManualARInquiries.html trunk/doc/Manual/ManualARReports.html trunk/doc/Manual/ManualARTransactions.html trunk/doc/Manual/ManualAccountsPayable.html trunk/doc/Manual/ManualAccountsReceivable.html trunk/doc/Manual/ManualContents.php trunk/doc/Manual/ManualContracts.html trunk/doc/Manual/ManualContributors.html trunk/doc/Manual/ManualCreatingNewSystem.html trunk/doc/Manual/ManualCreditStatus.html trunk/doc/Manual/ManualCurrencies.html trunk/doc/Manual/ManualDevelopmentStructure.html trunk/doc/Manual/ManualFixedAssets.html trunk/doc/Manual/ManualFooter.html trunk/doc/Manual/ManualGeneralLedger.html trunk/doc/Manual/ManualGettingStarted.html trunk/doc/Manual/ManualHeader.html trunk/doc/Manual/ManualIntroduction.html trunk/doc/Manual/ManualInventory.html trunk/doc/Manual/ManualMRP.html trunk/doc/Manual/ManualManufacturing.html trunk/doc/Manual/ManualMultilanguage.html trunk/doc/Manual/ManualNewScripts.html trunk/doc/Manual/ManualPaymentTerms.html trunk/doc/Manual/ManualPettyCash.html trunk/doc/Manual/ManualPrices.html trunk/doc/Manual/ManualPurchaseOrdering.html trunk/doc/Manual/ManualReportBuilder.html trunk/doc/Manual/ManualRequirements.html trunk/doc/Manual/ManualSalesAnalysis.html trunk/doc/Manual/ManualSalesOrders.html trunk/doc/Manual/ManualSalesPeople.html trunk/doc/Manual/ManualSalesTypes.html trunk/doc/Manual/ManualSecuritySchema.html trunk/doc/Manual/ManualShipments.html trunk/doc/Manual/ManualSpecialUtilities.html trunk/doc/Manual/ManualSystemConventions.html trunk/doc/Manual/ManualTax.html trunk/includes/header.inc Added Paths: ----------- trunk/doc/Manual/ManualOutline.php trunk/doc/Manual/style/ trunk/doc/Manual/style/manual.css Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2012-06-23 22:15:44 UTC (rev 5449) +++ trunk/doc/Change.log 2012-06-24 05:36:51 UTC (rev 5450) @@ -1,5 +1,7 @@ webERP Change Log +24/06/2012: Icedlava: Adjust header.inc, ManualContents.php, ManualHeader.html to take Viewtopic and Bookmark parameters in displaying manual. Add ManualOutline.php file containing manual TOC, add CSS and rework all manual docs. Still to add $Viewtopic and $Bookmark to functions (eg see Stocks.php) + 24/6/2012 Release 4.08.1 22/06/2012 Icedlava: Fixed bug preventing insert of new account section Modified: trunk/doc/Manual/ManualAPITutorial.html =================================================================== --- trunk/doc/Manual/ManualAPITutorial.html 2012-06-23 22:15:44 UTC (rev 5449) +++ trunk/doc/Manual/ManualAPITutorial.html 2012-06-24 05:36:51 UTC (rev 5450) @@ -1,99 +1,92 @@ -<a name="APITutorial"><font size="+3"><b>Application Programming Interface</b></font></a> -<br /><br /> -<font size="+2"><b>webERP API - Getting Started</b></font> -<br /><br /> +<a id="APITutorial"><h1>Application Programming Interface</h1></a> + +<h2>webERP API - Getting Started</h2> +<p> The API is an Application Program Interface, that is intended to expose webERP functionality to external programs. There are currently a number of low level functions it exposes to enable external applications to retrieve webERP data and to update or insert webERP data. -<br /><br /> +</p> The API in webERP uses XML-RPC in particular the phpxmlrpc class from Useful Inc originally developed by Edd Dumbill -<br /><br /> -XML-RPC is a protocl to use XML to make RPC - remote procedure calls. -<br /><br /> -Simply put the XML-RPC call is XML that contains the method of the remote procedure call together with any parameters and their data types and is sent over http as a POST to the XML-RPC server - the server returns an XML payload containing the results of the call. The parameters sent to the methods can contain arrays and associative arrays of data. -<br /><br /> -The clever thing about XML-RPC is that it is the simplest protocol around for doing web-services. The newer and MUCH more complex SOAP - Simple Object Access Protocol - is quite involved and complicated. webERP is founded on the KISS principle. -<br /><br /> -In fact the XML-RPC "Server" in webERP is just the script http://www.yourdomain.com/webERP/api/api_xml-rpc.php -<br /><br /> -There is no daemon background process running continuously to field calls to the "server" it is just a script that is http posted to by the XML-RPC call sending the XML encoded method to be run together with the necessary parameters to the webERP API - the server script runs the API php functions exposed by the xml-rpc methods and returns the XML-RPC response as an XML payload. The phpxmlrpc class does the packaging converting the PHP variables and arrays to the XML required for the XML-RPC call and also has the functions to convert the XML response into something useable in PHP without having to write the XML parsing routines. -<br /><br /> -It is worthwhile reading a how-to on XML-RPC with PHP which explains in more detail what is going on as a primer for the concepts. -<br /><br /> -The beauty of XML-RPC is that the client calling the webERP XML-RPC server and performing native webERP functions can be called from any language (with XML-RPC bindings). I have used Vala, Genie and Python. Python particularly has been very straight forward as it has an xmlrpclib bundled with it. Of course a PHP client is also possible and is demonstrated below. -<br /><br /> -The API help is actually produced by an xml-rpc call to the API using the system.listMethods method (this is a phpxmlrpc method - not a webERP API method). Aother system xml-rpc method of phpxmlrpc class is used to return the details of each method's parameters required. So the help file not only documents each of the API methods it is itself and illustration of how the API can be used!! -<br /><br /> -Below is a simple example of how to use the API. -<br /><br /> -<hr /> -<i> -echo "<html><head>Test webERP API</head><body>"; -<br /><br /> -//the xmlrpc class can output some funny warnings so make sure notices are turned off -error_reporting (E_ALL & ~E_NOTICE); -<br /><br /> -/*you need to include the phpxmlrpc class - see link above - copy the whole directory structure of the class over to your client application from the webERP/xmlrpc directory -*/ -<br /><br /> +</p> +<p>XML-RPC is a protocl to use XML to make RPC - remote procedure calls.</p> +<p> +Simply put the XML-RPC call is XML that contains the method of the remote procedure call together with any parameters and their data types and is sent over http as a POST to the XML-RPC server - the server returns an XML payload containing the results of the call. The parameters sent to the methods can contain arrays and associative arrays of data.</p> +<p> +The clever thing about XML-RPC is that it is the simplest protocol around for doing web-services. The newer and MUCH more complex SOAP - Simple Object Access Protocol - is quite involved and complicated. webERP is founded on the KISS principle.</p> +<p> +In fact the XML-RPC "Server" in webERP is just the script http://www.yourdomain.com/webERP/api/api_xml-rpc.php</p> +<p>There is no daemon background process running continuously to field calls to the "server" it is just a script that is http posted to by the XML-RPC call sending the XML encoded method to be run together with the necessary parameters to the webERP API - the server script runs the API php functions exposed by the xml-rpc methods and returns the XML-RPC response as an XML payload. The phpxmlrpc class does the packaging converting the PHP variables and arrays to the XML required for the XML-RPC call and also has the functions to convert the XML response into something useable in PHP without having to write the XML parsing routines.</p> +<p> +It is worthwhile reading a how-to on XML-RPC with PHP which explains in more detail what is going on as a primer for the concepts.</p> +<p> +The beauty of XML-RPC is that the client calling the webERP XML-RPC server and performing native webERP functions can be called from any language (with XML-RPC bindings). I have used Vala, Genie and Python. Python particularly has been very straight forward as it has an xmlrpclib bundled with it. Of course a PHP client is also possible and is demonstrated below.</p> +<p> +The API help is actually produced by an xml-rpc call to the API using the system.listMethods method (this is a phpxmlrpc method - not a webERP API method). Aother system xml-rpc method of phpxmlrpc class is used to return the details of each method's parameters required. So the help file not only documents each of the API methods it is itself and illustration of how the API can be used!!</p> +<p> +Below is a simple example of how to use the API.</p> +<p> +<hr> +<pre> +echo "Test webERP API"; + +//the xmlrpc class can output some funny warnings so make sure notices are turned off error_reporting (E_ALL & ~E_NOTICE); + +/* you need to include the phpxmlrpc class - see link above - copy the whole directory structure of the class over to your client application from the webERP/xmlrpc directory */ + include ("xmlrpc/lib/xmlrpc.inc"); -<br /><br /> + //if your webERP install is on a server at http://www.yourdomain.com/webERP -<br /><br /> + $ServerURL = "http://www.yourdomain.com/webERP/api/api_xml-rpc.php"; -<br /><br /> + $DebugLevel = 0; //Set to 0,1, or 2 with 2 being the highest level of debug info -<br /><br /> + $Parameters = array(); -<br /><br /> -/*The trap for me was that each parameter needs to be run through xmlrpcval() - to create the necessary xml required for the rpc call -if one of the parameters required is an array then it needs to be processing into xml for the rpc call through php_xmlrpc_encode()*/ -<br /><br /> + +/* The trap for me was that each parameter needs to be run through xmlrpcval() - to create the necessary xml required for the rpc call if one of the parameters required is an array then it needs to be processing into xml for the rpc call through php_xmlrpc_encode()*/ + $Parameters['StockID'] = xmlrpcval('DVD-TOPGUN'); //the stockid of the item we wish to know the balance for -<br /><br /> + //assuming the demo username and password will work ! -<br /><br /> + $Parameters['Username'] = xmlrpcval('admin'); -<br /><br /> + $Parameters['Password'] = xmlrpcval('weberp'); -<br /><br /> + $msg = new xmlrpcmsg("weberp.xmlrpc_GetStockBalance", $Parameters); -<br /><br /> + $client = new xmlrpc_client($ServerURL); -<br /><br /> -$client->setDebug($DebugLevel); -<br /><br /> -$response = $client->send($msg); -<br /><br /> -$answer = php_xmlrpc_decode($response->value()); -<br /><br /> + +$client->setDebug($DebugLevel); + +$response = $client->send($msg); + +$answer = php_xmlrpc_decode($response->value()); + if ($answer[0]!=0){ //then the API returned some errors need to figure out what went wrong -<br /><br /> + //need to figure out how to return all the error descriptions associated with the codes -<br /><br /> + } else { //all went well the returned data is in $answer[1] -<br /><br /> + //answer will be an array of the locations and quantity on hand for DVD_TOPGUN so we need to run through the array to print out -<br /><br /> -for ($i=0; $i < sizeof($answer[1]);$i++) { -<br /><br /> - echo '<br>' . $answer[1][$i]['loccode'] . ' has ' . $answer[1][$i]['quantity'] . ' on hand'; - <br /><br /> + +for ($i=0; $i < sizeof($answer[1]);$i++) { + +echo '<br> +' . $answer[1][$i]['loccode'] . ' has ' . $answer[1][$i]['quantity'] . ' on hand'; + } -<br /><br /> -echo "</body></html>"; -<br /><br /> -</i> -<hr /> -<br /><br /> -It is necessary to be logged in to see the API functions manual shows all the functions in the API with a description of the parameters required and what each function does. -<br /><br /> -To create invoices in webERP you need to use the following methods: -<br /><br /> -InsertOrderHeader -InsertOrderLine - potentially multiple times for all the lines on the order then -InvoiceSalesOrder - to invoice sales orders directly assuming the entire order is delivered - it cannot deal with controlled stock items though. However, it does process invoices in much the same way as standard webERP with updates to the stock quantities dispatched, GL entries and records required to record taxes and sales analysis records. -<br /><br /> -To create a credit note just a sinlge API call is required: -<br /> -CreateCreditNote - to create a credit note from some base header data and an array of line items (as an associative array. In the same way as the InvoiceSalesOrder function this does all the same processing as a standard credit note from the interface in webERP. -<br /><br /> -There are some example scripts on the wiki showing how a number of the API XML-RPC functions are called - these scripts should be put on a web-server outside a webERP installation - all you need to do is edit the config.inc file to give the system your webERP username and password and the URL of your webERP installation you wish to connect to. As always playing with the examples helps to figure out how it all works. \ No newline at end of file + +echo ""; +</pre> +<p> +It is necessary to be logged in to see the API functions manual shows all the functions in the API with a description of the parameters required and what each function does.</p> +<p> +To create invoices in webERP you need to use the following methods:</p> +<p> +InsertOrderHeader InsertOrderLine - potentially multiple times for all the lines on the order then InvoiceSalesOrder - to invoice sales orders directly assuming the entire order is delivered - it cannot deal with controlled stock items though. However, it does process invoices in much the same way as standard webERP with updates to the stock quantities dispatched, GL entries and records required to record taxes and sales analysis records.</p> +<p> +To create a credit note just a sinlge API call is required:</p> +<p> +CreateCreditNote - to create a credit note from some base header data and an array of line items (as an associative array. In the same way as the InvoiceSalesOrder function this does all the same processing as a standard credit note from the interface in webERP.</p> +<p> +There are some example scripts on the wiki showing how a number of the API XML-RPC functions are called - these scripts should be put on a web-server outside a webERP installation - all you need to do is edit the config.inc file to give the system your webERP username and password and the URL of your webERP installation you wish to connect to. As always playing with the examples helps to figure out how it all works.</p> Modified: trunk/doc/Manual/ManualARInquiries.html =================================================================== --- trunk/doc/Manual/ManualARInquiries.html 2012-06-23 22:15:44 UTC (rev 5449) +++ trunk/doc/Manual/ManualARInquiries.html 2012-06-24 05:36:51 UTC (rev 5450) @@ -1,40 +1,34 @@ -<br /><br /> - <!-- Help Begin: CustomerInquiry --> +<a id="ARInquiries"><h1>Accounts Receivable Inquiries</h1></a> +<h2>Customer Inquiries</h2> +<p> +Complete "drill down" inquiries are available to extract the full detail of transactions. The system maintains more data than many systems, preferring to minimise the use of consolidated or batch entries, in favour of the full detail of each transaction. The enquires can show the account history for a customer and from this inquiry it is possible to look at the details behind each transaction, from the detail of the transaction it is possible to look at the line items on the original invoice and which receipts paid the invoice. The original invoice or credit can be viewed directly from customer inquiries and the general ledger transactions that were created by the invoice, credit or receipt may also be inspected.</p> -<a name="ARInquiries"><font size="+3"><b>Accounts Receivable Inquiries</b></font></a> -<br /><br /> -<font size="+2"><b>Customer Inquiries</b></font> -<br /><br /> -Complete "drill down" inquiries are available to extract the full detail of transactions. The system maintains more data than many systems, preferring to minimise the use of consolidated or batch entries, in favour of the full detail of each transaction. The enquires can show the account history for a customer and from this inquiry it is possible to look at the details behind each transaction, from the detail of the transaction it is possible to look at the line items on the original invoice and which receipts paid the invoice. The original invoice or credit can be viewed directly from customer inquiries and the general ledger transactions that were created by the invoice, credit or receipt may also be inspected. -<br /><br /> -<font size="+1"><b>Customer Account inquiries</b></font> -<br /><br /> -From any page, click the "select customer" link. Having selected the customer all links applicable to the customer show. Among them the customer transactions inquiry. -<br /><br /> -By default the inquiry screen shows only those transactions after a date six months ago. The default period can be modified by simple editing of the script CustomerInquiry.php. If transactions further back are required only occasionally and not by default - the date after which all transactions will show can be altered at will. When the screen opens the customer's account is shown in the currency of the customer. The aged analysis based on the customer's terms is displayed. -<br /><br /> -If the transaction is an invoice or a credit note a magnifying glass icon shows on the same line as the transaction. A click on this magnifying glass then opens a new window showing the detail of the invoice or credit note. -<br /><br /> -If the integration to the general ledger from accounts receivable - see the option to "Create GL entries for accounts receivable transactions" from the Company Preferences page under setup - then another link with the letters GL will show. This link shows a new page with the detail of the general ledger postings created by this transaction. -<br /><br /> -If the transaction is a receipt or a credit note and the user has appropriate access privileges, a book icon shows. Clicking this icon takes the user to the page for allocating receipts and credits - if the receipt or credit is already allocated then the detail of how the receipt/credit was allocated is shown together with other invoices that could be used for allocating against. Invoices that have previously been allocated will not show. -<br /><br /> -More (or less) history can be shown by changing the "Show all transactions after: -<br /><br /> -" date - then clicking the refresh button. The balance on the customer's account should balance to the sum of the amounts outstanding. The amount outstanding is used to represent: -<br /><br /> +<h2>Customer Account inquiries</h2> + +<p>From any page, click the "select customer" link. Having selected the customer all links applicable to the customer show. Among them the customer transactions inquiry.</p> + +<p>By default the inquiry screen shows only those transactions after a date six months ago. The default period can be modified by simple editing of the script CustomerInquiry.php. If transactions further back are required only occasionally and not by default - the date after which all transactions will show can be altered at will. When the screen opens the customer's account is shown in the currency of the customer. The aged analysis based on the customer's terms is displayed.</p> + +<p>If the transaction is an invoice or a credit note a magnifying glass icon shows on the same line as the transaction. A click on this magnifying glass then opens a new window showing the detail of the invoice or credit note.</p> + +<p>If the integration to the general ledger from accounts receivable - see the option to "Create GL entries for accounts receivable transactions" from the Company Preferences page under setup - then another link with the letters GL will show. This link shows a new page with the detail of the general ledger postings created by this transaction.</p> + +<p>If the transaction is a receipt or a credit note and the user has appropriate access privileges, a book icon shows. Clicking this icon takes the user to the page for allocating receipts and credits - if the receipt or credit is already allocated then the detail of how the receipt/credit was allocated is shown together with other invoices that could be used for allocating against. Invoices that have previously been allocated will not show.</p> + +<p>More (or less) history can be shown by changing the "Show all transactions after:</p> + +<p>" date - then clicking the refresh button. The balance on the customer's account should balance to the sum of the amounts outstanding. The amount outstanding is used to represent:</p> + <ul> -<li>For Invoices, the amount which has not yet been settled by receipts or credit notes -<li>For Receipts, the amount which has yet to be allocated (or matched off) against invoices. + <li>For Invoices, the amount which has not yet been settled by receipts or credit notes</li> + <li>For Receipts, the amount which has yet to be allocated (or matched off) against invoices.</li> </ul> -<font size="+1"><b>Transaction Detail inquiries</b></font> -<br /><br /> -The detail of transactions can be inspected via one of two avenues: -<br /><br /> +<h3>Transaction Detail inquiries</h3> +The detail of transactions can be inspected via one of two avenues:</p> + <ul> -<li>From the Customer's Account inquiry - click on the magnifying glass or the GL link against the transaction required. -<li>From the Transaction Enquires - from the Accounts Receivable tab, click on the magnifying glass to see the actual invoice or credit note. -</ul> + <li>From the Customer's Account inquiry - click on the magnifying glass or the GL link against the transaction required.</li> -<!-- Help End: CustomerInquiry --> + <li>From the Transaction Enquires - from the Accounts Receivable tab, click on the magnifying glass to see the actual invoice or credit note.</li> +</ul><!-- Help End: CustomerInquiry --> Modified: trunk/doc/Manual/ManualARReports.html =================================================================== --- trunk/doc/Manual/ManualARReports.html 2012-06-23 22:15:44 UTC (rev 5449) +++ trunk/doc/Manual/ManualARReports.html 2012-06-24 05:36:51 UTC (rev 5450) @@ -1,71 +1,50 @@ -<br /><br /> -<a name="ARReports"><font size="+3"><b>Accounts Receivable Reports</b></font></a> -<br /><br /> -The system is designed for flexibility and to provide the framework of core functionality required to administer a debtors ledger system. The basic accounts receivable reports are available as standard since they are used by all businesses. However, since the database is open it is envisaged that the business will make use of ODBC drivers for database used and use Crystal Reports or Microsoft Access or some other analysis software, where the user is on the same LAN as the server for specialised reports. -<br /><br /> +<a id="ARReports"><h1>Accounts Receivable Reports</h1></a> +The system is designed for flexibility and to provide the framework of core functionality required to administer a debtors ledger system. The basic accounts receivable reports are available as standard since they are used by all businesses. However, since the database is open it is envisaged that the business will make use of ODBC drivers for database used and use Crystal Reports or Microsoft Access or some other analysis software, where the user is on the same LAN as the server for specialised reports.</p> + <!-- Help Begin: AgedDebtors --> +<h2>Aged Customer Balance Listing</h2> +<p> +From the main menu select Customers, Reports, "Aged Customer Balances/Overdues Report".</p> +<p> +This report calculates the balances of the customers' accounts according to the parameters specified in config.php $PastDueDays1 and $PastDueDays2. The report is generated in the currency of the customer. The currency of the report must first be selected and the range of customers accounts to print.</p> +<p> +The report can be printed at two levels:</p> -<font size="+1"><b>Aged Customer Balance Listing</b></font> -<br /><br /> -From the main menu select Customers, Reports, "Aged Customer Balances/Overdues Report". -<br /><br /> -This report calculates the balances of the customers' accounts according to the parameters specified in config.php $PastDueDays1 and $PastDueDays2. The report is generated in the currency of the customer. The currency of the report must first be selected and the range of customers accounts to print. -<br /><br /> -The report can be printed at two levels: -<br /><br /> <ul> -<li>The full detail of the all outstanding amounts on the account, transaction by transaction analysed into current, Due, $PastDueDays1 and PastDueDays2. The detailed report also shows the terms applicable to each customer. -<li>A summary of the account balances split in the same aged groupings. -</ul> -This report recalculates the balance on the customer's account from the outstanding transactions and analyses each outstanding transaction based on the date of invoice plus the expected time to deliver to the branch invoiced. -<br /><br /> -The Aged Customer Balances can also be restricted to show just the accounts where there is some balance overdue. The same detail and summary reports are available. The resultant reports create pdf files that can be either saved or printed. + <li>The full detail of the all outstanding amounts on the account, transaction by transaction analysed into current, Due, $PastDueDays1 and PastDueDays2. The detailed report also shows the terms applicable to each customer.</li> -<!-- Help End: AgedDebtors --> + <li>A summary of the account balances split in the same aged groupings.</li> +</ul>This report recalculates the balance on the customer's account from the outstanding transactions and analyses each outstanding transaction based on the date of invoice plus the expected time to deliver to the branch invoiced.</p> +<p> +The Aged Customer Balances can also be restricted to show just the accounts where there is some balance overdue. The same detail and summary reports are available. The resultant reports create pdf files that can be either saved or printed. <!-- Help End: AgedDebtors --> -<br /><br /> - <!-- Help Begin: PrintCustStatements --> +<h2>Customer Statements</h2> +<p> +The customer statement shows the outstanding transactions on the account. There is an option in config.php that allows transactions that have been settled at some time within the last month to be shown in a settled transactions section of the statement. The parameter, $Show_Settled_LastMonth should be set equal to 1 for this. If it is set to 0, then any settled transactions will not be shown on the statements. This saves printing zero balance statements and there is argument both ways as to which is best.</p> +<p> +When transactions are created, the date of the transaction determines the period into which it is posted in the general ledger. The date of the transaction is also used in the aging calculations used on the statement. All transactions to the date of the statement are included. It is not possible to print a statement as at some prior date. It may be necessary to delay the start of invoicing for the new month until all receipts are entered and allocated and the statements printed before processing new invoices that should appear on the following month's statement.</p> +<p> +Procedure - All receipts must be allocated for the aged analysis to be calculated correctly. Then from the main menu Accounts Receivable tab select from the reports and inquiries section, "Print Statements". The link will allow selection of a range of customers. A single customer's statement can be printed by selecting the same starting an finishing customer code. Statements will be printed in sequence of the Customer code set up in the customer details screen. A pdf file is created this can be saved or printed. <!-- Help End: PrintCustStatements --> -<font size="+1"><b>Customer Statements</b></font> -<br /><br /> -The customer statement shows the outstanding transactions on the account. There is an option in config.php that allows transactions that have been settled at some time within the last month to be shown in a settled transactions section of the statement. The parameter, $Show_Settled_LastMonth should be set equal to 1 for this. If it is set to 0, then any settled transactions will not be shown on the statements. This saves printing zero balance statements and there is argument both ways as to which is best. -<br /><br /> -When transactions are created, the date of the transaction determines the period into which it is posted in the general ledger. The date of the transaction is also used in the aging calculations used on the statement. All transactions to the date of the statement are included. It is not possible to print a statement as at some prior date. It may be necessary to delay the start of invoicing for the new month until all receipts are entered and allocated and the statements printed before processing new invoices that should appear on the following month's statement. -<br /><br /> -Procedure - All receipts must be allocated for the aged analysis to be calculated correctly. Then from the main menu Accounts Receivable tab select from the reports and inquiries section, "Print Statements". The link will allow selection of a range of customers. A single customer's statement can be printed by selecting the same starting an finishing customer code. Statements will be printed in sequence of the Customer code set up in the customer details screen. A pdf file is created this can be saved or printed. - -<!-- Help End: PrintCustStatements --> - -<br /><br /> - <!-- Help Begin: CustomerTransInquiry --> +<h2>Customer Transaction Listing Options</h2> +<p> +This is accessed from the main menu, accounts receivable tab under the link "Transaction Inquiries".</p> +<p> +This inquiry allows transactions to be listed based on the selection of criteria on screen. The page allows listing of receipts, invoices or credit notes within any specified date range.</p> +<p> +This listing is shown on the screen and can of course be printed from the browser if necessary. <!-- Help End: CustomerTransInquiry --> + <!-- Help Begin: PrintCustTrans --> -<font size="+1"><b>Customer Transaction Listing Options</b></font> -<br /><br /> -This is accessed from the main menu, accounts receivable tab under the link "Transaction Inquiries". -<br /><br /> -This inquiry allows transactions to be listed based on the selection of criteria on screen. The page allows listing of receipts, invoices or credit notes within any specified date range. -<br /><br /> -This listing is shown on the screen and can of course be printed from the browser if necessary. - -<!-- Help End: CustomerTransInquiry --> - -<!-- Help Begin: PrintCustTrans --> - -<br /><br /> -<font size="+1"><b>Printing Invoices Or Credit Notes</b></font> -<br /><br /> -From the Main Menu select the Accounts Receivable tab, under Inquiries and Reports, "Print Invoices or Credit Notes". -<br /><br /> -This page shows the last invoice and credit note created and some brief instructions on how to use the page. By default the page assumes that invoices are required. However, if credit notes are required, they can be selected from the list field. -<br /><br /> -If only one transaction is required then the number of the transaction should be entered in the field "Start invoice/credit note number to print". If a range of transactions is required then both fields are necessary to be completed. -<br /><br /> -There is also an option to print EDI invoices/credit notes. By default these are not printed as they will normally be dispatched electronically to the customer. However, some businesses and tax authorities require hard copy invoices and credit notes to be produced in any event. -<br /><br /> -Two options are available - Print, produces a html page of the invoice (or credit note), the resulting page can then be printed using the browser print functionality. The print PDF produces a PDF invoice (or credit note). - -<!-- Help End: PrintCustTrans --> - +<h2>Printing Invoices Or Credit Notes</h2> +<p> +From the Main Menu select the Accounts Receivable tab, under Inquiries and Reports, "Print Invoices or Credit Notes".</p> +<p> +This page shows the last invoice and credit note created and some brief instructions on how to use the page. By default the page assumes that invoices are required. However, if credit notes are required, they can be selected from the list field.</p> +<p>If only one transaction is required then the number of the transaction should be entered in the field "Start invoice/credit note number to print". If a range of transactions is required then both fields are necessary to be completed.</p> +<p> +There is also an option to print EDI invoices/credit notes. By default these are not printed as they will normally be dispatched electronically to the customer. However, some businesses and tax authorities require hard copy invoices and credit notes to be produced in any event.</p> +<p> +Two options are available - Print, produces a html page of the invoice (or credit note), the resulting page can then be printed using the browser print functionality. The print PDF produces a PDF invoice (or credit note). <!-- Help End: PrintCustTrans --> Modified: trunk/doc/Manual/ManualARTransactions.html =================================================================== --- trunk/doc/Manual/ManualARTransactions.html 2012-06-23 22:15:44 UTC (rev 5449) +++ trunk/doc/Manual/ManualARTransactions.html 2012-06-24 05:36:51 UTC (rev 5450) @@ -1,190 +1,209 @@ -<br /><br /> +<h1><a id="ARTransactions">Accounts Receivable Transactions</a></h1> -<!-- Help Begin: SelectSalesOrder --> +<h2>Invoicing An Order</h2> -<a name="ARTransactions"><font size="+3"><b>Accounts Receivable Transactions</b></font></a> -<br /><br /> -<font size="+2"><b>Invoicing An Order</b></font> -<br /><br /> -<font size="+1"><b>Selecting an Order To Invoice</b></font> -<br /><br /> -All invoices require a sales order to be entered first. -<br /><br /> -From the main menu select the orders tab. Select Outstanding Sales Orders Maintenance. This page shows all the orders outstanding. If the order number is known it can be entered on this screen to select the order to invoice. Hit search orders and the order should show below, together with links to modify the order, print the packing slip and to invoice. Click the link to invoice the order. -<br /><br /> -<font size="+1"><b>Producing An Invoice From A Selected Order</b></font> -<br /><br /> -Having selected an order to invoice the order line comes up for confirming the quantities of the order that were dispatched. If the quantity dispatched differs from the order the difference is recorded in the table OrderDeliveryDifferencesLog - and a report is available to show the orders that were not able to be delivered with the first dispatch. There is also opportunity to enter the freight charge and if necessary enter the tax charge - which will normally be calculated automatically based on the tax authority of the customer branch being invoiced. The date of the invoice is defaulted based on the time of day and the settings in config.php. If the hour (in 24 hour format) is after the setting of $DispatchCutOffTime in config.php, then the following day is deemed to be the invoice date, alternatively the invoice date will default to today. Where not all lines on the order are being invoiced there are two choices with how to deal with the balance. -<br /><br /> +<h3>Selecting an Order To Invoice</h3> + +<p>All invoices require a sales order to be entered first.</p> + +<p>From the main menu select the orders tab. Select Outstanding Sales Orders Maintenance. This page shows all the orders outstanding. If the order number is known it can be entered on this screen to select the order to invoice. Hit search orders and the order should show below, together with links to modify the order, print the packing slip and to invoice. Click the link to invoice the order.</p> + +<h3>Producing An Invoice From A Selected Order</h3> + +<p>Having selected an order to invoice the order line comes up for confirming the quantities of the order that were dispatched. If the quantity dispatched differs from the order the difference is recorded in the table OrderDeliveryDifferencesLog - and a report is available to show the orders that were not able to be delivered with the first dispatch. There is also opportunity to enter the freight charge and if necessary enter the tax charge - which will normally be calculated automatically based on the tax authority of the customer branch being invoiced. The date of the invoice is defaulted based on the time of day and the settings in config.php. If the hour (in 24 hour format) is after the setting of $DispatchCutOffTime in config.php, then the following day is deemed to be the invoice date, alternatively the invoice date will default to today. Where not all lines on the order are being invoiced there are two choices with how to deal with the balance.</p> + <ul> -<li>Put the balance on back order -<li>Cancel the line on the order -</ul> -Finally there is also a field for entry of any text on the invoice. Hitting the process invoice button updates the order as instructed and produces all the entries including general ledger postings (if integration is enabled in the company preferences screen - see setup) to record the invoice. Until the process invoice button is hit, no entries have been saved to the database and it is safe to leave the page at any stage without having changed anything - the invoicing process can be cancelled at any time simply by following a link to another page. The processing that takes place once the Process Invoice button is hit includes: -<br /><br /> + <li>Put the balance on back order</li> + + <li>Cancel the line on the order</li> +</ul>Finally there is also a field for entry of any text on the invoice. Hitting the process invoice button updates the order as instructed and produces all the entries including general ledger postings (if integration is enabled in the company preferences screen - see setup) to record the invoice. Until the process invoice button is hit, no entries have been saved to the database and it is safe to leave the page at any stage without having changed anything - the invoicing process can be cancelled at any time simply by following a link to another page. The processing that takes place once the Process Invoice button is hit includes: +<p> + <ul> -<li>Creation of the stock movements for each line item on the order - or for the assemblies components - from the location entered at the time of the order, at the price as per the order. -<li>Creation of the DebtorTrans record that records the invoice against the customer's account. -<li>Creation of the general ledger jorunals to record the sale and debtor etc. -<li>Updating the order for amounts dispatched, and the invoice number. -<li>Creating/updating the sales analysis records of the items being sold. -<li>Updating the stock quantities for all lines of the invoice and the components of all assemblies included on the order. + <li>Creation of the stock movements for each line item on the order - or for the assemblies components - from the location entered at the time of the order, at the price as per the order.</li> + + <li>Creation of the DebtorTrans record that records the invoice against the customer's account.</li> + + <li>Creation of the general ledger jorunals to record the sale and debtor etc.</li> + + <li>Updating the order for amounts dispatched, and the invoice number.</li> + + <li>Creating/updating the sales analysis records of the items being sold.</li> + + <li>Updating the stock quantities for all lines of the invoice and the components of all assemblies included on the order.</li> </ul> -If the order is not to be invoiced to the customer or branch specified in the order, or pricing is to be changed then the order must be changed. These elements cannot be altered at the time of invoice, they must be altered in the order before it is confirmed for invoicing. Once an invoice is created it cannot be deleted or modified. The order is also updated with the invoice number that it was dispatched on. -<!-- Help End: SelectSalesOrder --> +<p>If the order is not to be invoiced to the customer or branch specified in the order, or pricing is to be changed then the order must be changed. These elements cannot be altered at the time of invoice, they must be altered in the order before it is confirmed for invoicing. Once an invoice is created it cannot be deleted or modified. The order is also updated with the invoice number that it was dispatched on.</p><!-- Help End: SelectSalesOrder --> -<br /><br /> +<div class="floatright"> + <a class="minitext" href="#top">⬆ Top</a> +</div><!-- Help Begin: SelectCreditItems --> -<!-- Help Begin: SelectCreditItems --> +<h2>Credit Notes</h2> -<font size="+2"><b>Credit Notes</b></font> -<br /><br /> -Credit notes can be created in one of two ways: -<br /><br /> +<p>Credit notes can be created in one of two ways:</p> + <ul> -<li>From a customer inquiry screen if the user has the necessary permissions ( $PageSecurity=3 - see Security Schema) a link shows to allow an entire invoice to be credited. Having clicked this link there is opportunity to de-select some items from being credited so that only the part of the invoice that needs to be credited can be, with only minimal keying. The same credit note creation page as used in manual creation of credit notes will appear but with all the items from the orignal invoice already entered into the credit note. -<li>Using the link on the main menu under the receivables tab, select the link to create a credit note. + <li>From a customer inquiry screen if the user has the necessary permissions ( $PageSecurity=3 - see Security Schema) a link shows to allow an entire invoice to be credited. Having clicked this link there is opportunity to de-select some items from being credited so that only the part of the invoice that needs to be credited can be, with only minimal keying. The same credit note creation page as used in manual creation of credit notes will appear but with all the items from the orignal invoice already entered into the credit note.</li> + + <li>Using the link on the main menu under the receivables tab, select the link to create a credit note.</li> </ul> -<b>Important Note:</b> -<br /><br /> -It is important to use credit notes to correct incorrect invoices correctly. Crediting a small price against a part implies that the goods were returned and the customer only credited a fraction of their worth. This is not the correct way to credit an overcharge. By default credit notes return the stock to the location specified, so the stock records will be overstated by the goods returned to stock by the credit note. To correct a pricing error a credit note for the invoice line at the incorrect charge must be done and a new invoice at the correct charge must be made up. This ensures that sales analysis records are not corrupted for the quantities sold and that stock records are maintained correctly. A special pricing adjustment type of credit note is available that does not have any cost implications for the sales analysis and has no stock physical movement record associated with it. -<br /><br /> -The process for creating a credit note manually is: -<br /><br /> + +<h4>Important Note:</h4> + +<p>It is important to use credit notes to correct incorrect invoices correctly. Crediting a small price against a part implies that the goods were returned and the customer only credited a fraction of their worth. This is not the correct way to credit an overcharge. By default credit notes return the stock to the location specified, so the stock records will be overstated by the goods returned to stock by the credit note. To correct a pricing error a credit note for the invoice line at the incorrect charge must be done and a new invoice at the correct charge must be made up. This ensures that sales analysis records are not corrupted for the quantities sold and that stock records are maintained correctly. A special pricing adjustment type of credit note is available that does not have any cost implications for the sales analysis and has no stock physical movement record associated with it.</p> + +<p>The process for creating a credit note manually is:</p> + <ul> -<li>Select the customer to be credited, there are the usual selection options (a box to enter an extract of the customer's name and a box to enter an extract of the customer's code) -<li>Select the items to be credited and the prices to be used in crediting the customer - the same quick entry option is available as is used in order entry. - where the part code and quantity to be credited is entered directly. Pricing is automatically determined by reference to the customer's sales type, currency with regard to any special pricing for the customer (and branch) being credited. If the search for a part functions are used, then after each part is selected the quantity can be updated after the item is selected. -<li>Having selected all the items it is possible to edit the items to be credited by clicking the button of the code of the item on the summary, then editing the price and quantity. -<li>Amounts to be credited for freight can be entered directly (this would be entered directly from the original invoice if the credit an invoice option was used from the customer inquiry screen). -<li>The tax amount to credit is calculated automatically by default based on the tax authority of the branch being credited and the total of the line items and freight to be credited. It is also possible to select the manual option. Once having selected manual, the user should hit update to allow free entry of any amount in the tax field. -<li>By default it is assumed that the goods in the credit note are being returned to stock. The location to where the goods are being returned must be selected from the selection box. -<li>If the goods are not being returned to stock, they are to be written off perhaps as samples or showroom display, damaged goods or whatever, the credit note type option should be changed to goods written off. After changing the credit note type and hitting the update button, a new select box will allow a general ledger code to be selected (assuming the general ledger interface to accounts receivable is active - it will not show if there is no integration). The appropriate general ledger code should be selected from this box. The location to return the stock to select box will disappear since it is no longer relevant. A third option is to credit a pricing adjustment - this type does not create any stock movements and the sales analysis updates only affect the value no cost of sales updates take place. -<li>Any text describing the reasons for the credit note should be entered in the narrative box provided. -<li>After completing all the inputs required, hit the Process Credit Note button to create the credit note. The created credit note number will be reported confirming that it has been processed. -</ul> + <li>Select the customer to be credited, there are the usual selection options (a box to enter an extract of the customer's name and a box to enter an extract of the customer's code)</li> -<!-- Help End: SelectCreditItems --> + <li>Select the items to be credited and the prices to be used in crediting the customer - the same quick entry option is available as is used in order entry. - where the part code and quantity to be credited is entered directly. Pricing is automatically determined by reference to the customer's sales type, currency with regard to any special pricing for the customer (and branch) being credited. If the search for a part functions are used, then after each part is selected the quantity can be updated after the item is selected.</li> + <li>Having selected all the items it is possible to edit the items to be credited by clicking the button of the code of the item on the summary, then editing the price and quantity.</li> + + <li>Amounts to be credited for freight can be entered directly (this would be entered directly from the original invoice if the credit an invoice option was used from the customer inquiry screen).</li> + + <li>The tax amount to credit is calculated automatically by default based on the tax authority of the branch being credited and the total of the line items and freight to be credited. It is also possible to select the manual option. Once having selected manual, the user should hit update to allow free entry of any amount in the tax field.</li> + + <li>By default it is assumed that the goods in the credit note are being returned to stock. The location to where the goods are being returned must be selected from the selection box.</li> + + <li>If the goods are not being returned to stock, they are to be written off perhaps as samples or showroom display, damaged goods or whatever, the credit note type option should be changed to goods written off. After changing the credit note type and hitting the update button, a new select box will allow a general ledger code to be selected (assuming the general ledger interface to accounts receivable is active - it will not show if there is no integration). The appropriate general ledger code should be selected from this box. The location to return the stock to select box will disappear since it is no longer relevant. A third option is to credit a pricing adjustment - this type does not create any stock movements and the sales analysis updates only affect the value no cost of sales updates take place.</li> + + <li>Any text describing the reasons for the credit note should be entered in the narrative box provided.</li> + + <li>After completing all the inputs required, hit the Process Credit Note button to create the credit note. The created credit note number will be reported confirming that it has been processed.</li> +</ul><!-- Help End: SelectCreditItems --> <!-- Help Begin: CustomerReceipt --> -<font size="+2"><b>Entry Of Receipts</b></font> -<br /><br /> -This system tracks the invoices and credits which are outstanding (a so called open item system) in contrast to systems which use a balance brought forward from the previous month to add and subtract current month transactions. Experience has shown balance forward systems whilst intuitive, often result in queries for more information with the inevitable question from customers "what was this balance made up of ?" . The statements produced by this system show a full reconciliation of the amounts outstanding against invoices and credits that are yet to be settled totalling the amount of the customer's account. In order to provide the necessary information to track outstanding amounts, invoice by invoice, the detail of the make up of payments must be entered. -<br /><br /> -Payments received from customers are therefore entered in a two-stage process: -<br /><br /> +<div class="floatright"> + <a class="minitext" href="#top">⬆ Top</a> +</div> + +<h2>Entry Of Receipts</h2> + +<p>This system tracks the invoices and credits which are outstanding (a so called open item system) in contrast to systems which use a balance brought forward from the previous month to add and subtract current month transactions. Experience has shown balance forward systems whilst intuitive, often result in queries for more information with the inevitable question from customers "what was this balance made up of ?" . The statements produced by this system show a full reconciliation of the amounts outstanding against invoices and credits that are yet to be settled totalling the amount of the customer's account. In order to provide the necessary information to track outstanding amounts, invoice by invoice, the detail of the make up of payments must be entered.</p> + +<p>Payments received from customers are therefore entered in a two-stage process:</p> + <ul> -<li>The amount of the payment received is entered in foreign currency together with the exchange rate at which this has been banked into local currency. Any details pertinent to the receipt such as the date, method of payment and any details (which can be recalled from inquiries later) are entered at this stage. -<li>The foreign currency received is allocated to the invoices (and debit journals) on the customer's account. Put another way, the invoices that the payment is meant to be settling are matched off against the payment. -</ul> -If the details of the make up of a payment received are not available at the time of banking, the receipt can still be entered to stage 1. However, the allocation must be done before the statement is produced if the account is to make sense. -<br /><br /> -Note: Differences on exchange are only calculated once the receipt is matched against the invoices it is paying. -<br /><br /> -Receipts relating to general ledger transactions can also be entered in the same batch as customer receipts. -<br /><br /> -The process of entering receipts is initiated from the main menu under the receivables tab - another link is also available from the general ledger tab. -<br /><br /> -Firstly, the receipt header information is required, the bank account - one of the previously defined bank accounts (see setup), the date the batch of receipts are banked, the currency and exchange rate of the banking and the type of receipt together with any narrative. The currency can be selected from the defined currencies (see setup). The receipt types can also be selected - they are defined in config.php. Once this information is entered it must be accepted before the receipts in the batch can be entered. -<br /><br /> -<font size="+1"><b>Receipt - Customer</b></font> -<br /><br /> -By default once the a customer has been selected the following information is displayed: -<br /><br /> + <li>The amount of the payment received is entered in foreign currency together with the exchange rate at which this has been banked into local currency. Any details pertinent to the receipt such as the date, method of payment and any details (which can be recalled from inquiries later) are entered at this stage.</li> + + <li>The foreign currency received is allocated to the invoices (and debit journals) on the customer's account. Put another way, the invoices that the payment is meant to be settling are matched off against the payment.</li> +</ul>If the details of the make up of a payment received are not available at the time of banking, the receipt can still be entered to stage 1. However, the allocation must be done before the statement is produced if the account is to make sense. +<p> + +<p>Note: Differences on exchange are only calculated once the receipt is matched against the invoices it is paying.</p> + +<p>Receipts relating to general ledger transactions can also be entered in the same batch as customer receipts.</p> + +<p>The process of entering receipts is initiated from the main menu under the receivables tab - another link is also available from the general ledger tab.</p> + +<p>Firstly, the receipt header information is required, the bank account - one of the previously defined bank accounts (see setup), the date the batch of receipts are banked, the currency and exchange rate of the banking and the type of receipt together with any narrative. The currency can be selected from the defined currencies (see setup). The receipt types can also be selected - they are defined in config.php. Once this information is entered it must be accepted before the receipts in the batch can be entered.</p> + +<h3>Receipt - Customer</h3> + +<p>By default once the a customer has been selected the following information is displayed:</p> + <ul> -<li>The payment terms applicable, so amounts overdue can be easily noted from the allocation screen without having to go back and do an inquiry. -<li>The payment discount percentage applicable. The user can then use this rate if applicable to calculate the discount applicable, depending on how much of the payment relates to "on time" invoices. -<li>The currency that the currency is paying in. + <li>The payment terms applicable, so amounts overdue can be easily noted from the allocation screen without having to go back and do an inquiry.</li> + + <li>The payment discount percentage applicable. The user can then use this rate if applicable to calculate the discount applicable, depending on how much of the payment relates to "on time" invoices.</li> + + <li>The currency that the currency is paying in.</li> </ul> -<font size="+1"><b>Receipt - Date</b></font> -<br /><br /> -The date that the receipt was received and banked. If a receipt is being entered retrospectively - or several days bankings are being done together, the default date (i.e. the current date) should be over written with the date the receipt was originally received. This date is used on the statement and the customer may not be able to tie up the receipt if an incorrect date is entered. -<br /><br /> -Customer account inquiries are shown in date order so the account will not show correctly if the date entered is not the date the money was received. The date is also used in the general ledger transaction created. -<br /><br /> -<font size="+1"><b>Receipts - Currency and Exchange Rate</b></font> -<br /><br /> -Selection of the customer automatically tells the system which currency to expect the receipt in. The customer's account is maintained in the currency selected in the customer maintenance screen. -<br /><br /> -The correct rate at which the bank has converted the foreign currency to local currency must be input, the system shows the calculation of the local currency banked at the bottom of the screen. The receipt cannot (therefore) be entered until the amount in local currency is known. The exact rate to enter in this field will be the foreign currency figure divided by the local currency figure. -<br /><br /> -Eg banked 1212 local, in customer's currency this was 400. -<br /><br /> -Rate is 400/1212 = 0.330033 -<br /><br /> -The local currency calculated by the system should confirm that the rate entered is correct. The general ledger integration - if enabled - will produce a bank deposit for the local currency amount shown at the bottom of the screen, and reduce (credit) the Debtors Control account by the same amount. The system defaults the exchange rate to that set up against the currency in the currencies table. -<br /><br /> -When the receipt is matched to invoices, any differences between the local currency amounts banked against the local currency invoiced are recorded against the invoices and written off the general ledger Debtors Control Account and written into the profit and loss account - (specified in the company record of the customer concerned) if the general ledger integration is enabled from the module options screen. -<br /><br /> -<font size="+1"><b>Receipts - Payment Method</b></font> -<br /><br /> -The payment method is stored against the receipt and shows on the customer's statement. A banking report can also be run off based on the payment method to summarise the day's bankings, to automate the task of collating the different vouchers and summarising for the bank. -<br /><br /> -<font size="+1"><b>Receipts - Amount</b></font> -<br /><br /> -The amount of the receipt in foreign currency is entered here. This cannot be 0. Although, negative receipts are allowed (to reverse incorrect receip... [truncated message content] |
From: <ice...@us...> - 2012-06-24 05:49:46
|
Revision: 5451 http://web-erp.svn.sourceforge.net/web-erp/?rev=5451&view=rev Author: icedlava Date: 2012-06-24 05:49:39 +0000 (Sun, 24 Jun 2012) Log Message: ----------- Add ViewTopic and BookMark vars to some functions to take advantage of new Manual contextual help. Must be added before header.inc include. Ongoing work. Modified Paths: -------------- trunk/InventoryPlanning.php trunk/SelectProduct.php trunk/StockAdjustments.php trunk/StockMovements.php trunk/StockTransfers.php trunk/Stocks.php trunk/doc/Change.log Modified: trunk/InventoryPlanning.php =================================================================== --- trunk/InventoryPlanning.php 2012-06-24 05:36:51 UTC (rev 5450) +++ trunk/InventoryPlanning.php 2012-06-24 05:49:39 UTC (rev 5451) @@ -3,6 +3,9 @@ /* $Id$ */ include('includes/session.inc'); +/* webERP manual links before header.inc */ +$ViewTopic= "Inventory"; +$BookMark = "PlanningReport"; if (isset($_POST['PrintPDF']) and isset($_POST['FromCriteria']) @@ -409,7 +412,7 @@ <tr> <td>' . _('For Inventory in Location') . ':</td> <td><select name="Location">'; - + $sql = "SELECT loccode, locationname FROM locations"; $LocnResult=DB_query($sql,$db); Modified: trunk/SelectProduct.php =================================================================== --- trunk/SelectProduct.php 2012-06-24 05:36:51 UTC (rev 5450) +++ trunk/SelectProduct.php 2012-06-24 05:49:39 UTC (rev 5451) @@ -6,6 +6,8 @@ include ('includes/session.inc'); $title = _('Search Inventory Items'); +/* webERP manual links before header.inc */ +$ViewTopic= "Inventory"; include ('includes/header.inc'); if (isset($_GET['StockID'])) { Modified: trunk/StockAdjustments.php =================================================================== --- trunk/StockAdjustments.php 2012-06-24 05:36:51 UTC (rev 5450) +++ trunk/StockAdjustments.php 2012-06-24 05:49:39 UTC (rev 5451) @@ -6,7 +6,9 @@ include('includes/DefineSerialItems.php'); include('includes/session.inc'); $title = _('Stock Adjustments'); - +/* webERP manual links before header.inc */ +$ViewTopic= "Inventory"; +$BookMark = "InventoryAdjustments"; include('includes/header.inc'); include('includes/SQL_CommonFunctions.inc'); @@ -38,16 +40,16 @@ } } if ($NewAdjustment==true){ - + $_SESSION['Adjustment' . $identifier]->StockID = trim(mb_strtoupper($StockID)); - $result = DB_query("SELECT description, - controlled, - serialised, + $result = DB_query("SELECT description, + controlled, + serialised, decimalplaces, perishable, materialcost+labourcost+overheadcost AS totalcost, units - FROM stockmaster + FROM stockmaster WHERE stockid='" . $_SESSION['Adjustment' . $identifier]->StockID . "'",$db); $myrow = DB_fetch_array($result); $_SESSION['Adjustment' . $identifier]->ItemDescription = $myrow['description']; @@ -64,7 +66,7 @@ $DecimalPlaces = $myrow['decimalplaces']; DB_free_result($result); - + } //end if it's a new adjustment if (isset($_POST['tag'])){ $_SESSION['Adjustment' . $identifier]->tag = $_POST['tag']; @@ -93,14 +95,14 @@ echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/magnifier.png" title="' . _('Dispatch') . '" alt="" />' . ' ' . _('Select Item to Adjust') . '</p>'; if (mb_strlen($_POST['StockText'])>0) { - $sql="SELECT stockid, - description - FROM stockmaster + $sql="SELECT stockid, + description + FROM stockmaster WHERE description " . LIKE . " '%" . $_POST['StockText'] ."%'"; } else { - $sql="SELECT stockid, - description - FROM stockmaster + $sql="SELECT stockid, + description + FROM stockmaster WHERE stockid " . LIKE . " '%" . $_POST['StockCode'] ."%'"; } $ErrMsg=_('The stock information cannot be retrieved because'); @@ -332,7 +334,7 @@ $DbgMsg = _('The following SQL to insert the GL entries was used'); $Result = DB_query($SQL,$db, $ErrMsg, $DbgMsg,true); } - + EnsureGLEntriesBalance(17, $AdjustmentNumber,$db); $Result = DB_Txn_Commit($db); @@ -345,7 +347,7 @@ $EmailSubject = _('Stock adjustment for'). ' ' . $_SESSION['Adjustment' . $identifier]->StockID; mail($_SESSION['InventoryManagerEmail'],$EmailSubject,$ConfirmationText); } - + unset ($_SESSION['Adjustment' . $identifier]); } /* end if there was no input error */ @@ -365,14 +367,14 @@ $StockID = $_SESSION['Adjustment' . $identifier]->StockID; $Controlled = $_SESSION['Adjustment' . $identifier]->Controlled; $Quantity = $_SESSION['Adjustment' . $identifier]->Quantity; - $sql="SELECT materialcost, - labourcost, - overheadcost, - units, - decimalplaces - FROM stockmaster + $sql="SELECT materialcost, + labourcost, + overheadcost, + units, + decimalplaces + FROM stockmaster WHERE stockid='".$StockID."'"; - + $result=DB_query($sql, $db); $myrow=DB_fetch_array($result); $_SESSION['Adjustment' . $identifier]->PartUnit=$myrow['units']; Modified: trunk/StockMovements.php =================================================================== --- trunk/StockMovements.php 2012-06-24 05:36:51 UTC (rev 5450) +++ trunk/StockMovements.php 2012-06-24 05:49:39 UTC (rev 5451) @@ -4,6 +4,9 @@ include('includes/session.inc'); $title = _('Stock Movements'); +/* webERP manual links before header.inc */ +$ViewTopic= "Inventory"; +$BookMark = "InventoryMovement"; include('includes/header.inc'); if (isset($_GET['StockID'])){ @@ -101,7 +104,7 @@ <th>' . _('Discount') . '</th> <th>' . _('New Qty') . '</th> </tr>'; - + echo $tableheader; $j = 1; Modified: trunk/StockTransfers.php =================================================================== --- trunk/StockTransfers.php 2012-06-24 05:36:51 UTC (rev 5450) +++ trunk/StockTransfers.php 2012-06-24 05:49:39 UTC (rev 5451) @@ -7,7 +7,9 @@ include('includes/session.inc'); $title = _('Stock Transfers'); - +/* webERP manual links before header.inc */ +$ViewTopic= "Inventory"; +$BookMark = "LocationTransfers"; include('includes/header.inc'); include('includes/SQL_CommonFunctions.inc'); @@ -29,14 +31,14 @@ </p>'; if (mb_strlen($_POST['StockText'])>0) { - $sql="SELECT stockid, - description - FROM stockmaster + $sql="SELECT stockid, + description + FROM stockmaster WHERE description " . LIKE . " '%" . $_POST['StockText'] . "%'"; } else { - $sql="SELECT stockid, - description - FROM stockmaster + $sql="SELECT stockid, + description + FROM stockmaster WHERE stockid " . LIKE . " '%" . $_POST['StockCode']."%'"; } $ErrMsg=_('The stock information cannot be retrieved because'); @@ -54,7 +56,7 @@ <td><a href="' . $rootpath . '/StockTransfers.php?StockID='.$myrow['stockid'].'&Description='.$myrow['description'].'&NewTransfer=Yes&Quantity='. filter_number_format($_POST['Quantity']).'&From='.$_POST['StockLocationFrom'].'&To='.$_POST['StockLocationTo'].'">' ._('Transfer').'</a></td> </tr>'; - + } echo '</table>'; include('includes/footer.inc'); @@ -110,7 +112,7 @@ FROM stockmaster WHERE stockid='" . trim(mb_strtoupper($_POST['StockID'])) . "'", $db); - + if (DB_num_rows($result) == 0){ prnMsg( _('Unable to locate Stock Code').' '.mb_strtoupper($_POST['StockID']), 'error' ); } elseif (DB_num_rows($result)>0){ @@ -123,8 +125,8 @@ $myrow['serialised'], $myrow['perishable'], $myrow['decimalplaces']); - + $_SESSION['Transfer']->TransferItem[0]->StandardCost = $myrow['standardcost']; if ($myrow['mbflag']=='D' OR $myrow['mbflag']=='A' OR $myrow['mbflag']=='K'){ @@ -138,17 +140,17 @@ } } -if (isset($_POST['Quantity']) - AND isset($_SESSION['Transfer']->TransferItem[0]->Controlled) +if (isset($_POST['Quantity']) + AND isset($_SESSION['Transfer']->TransferItem[0]->Controlled) AND $_SESSION['Transfer']->TransferItem[0]->Controlled==0){ - + $_SESSION['Transfer']->TransferItem[0]->Quantity = filter_number_format($_POST['Quantity']); } -if ( isset($_POST['StockLocationFrom']) +if ( isset($_POST['StockLocationFrom']) AND $_POST['StockLocationFrom']!= $_SESSION['Transfer']->StockLocationFrom ){ - + $_SESSION['Transfer']->StockLocationFrom = $_POST['StockLocationFrom']; $_SESSION['Transfer']->StockLocationTo = $_POST['StockLocationTo']; $_SESSION['Transfer']->TransferItem[0]->Quantity=filter_number_format($_POST['Quantity']); @@ -208,7 +210,7 @@ // There must actually be some error this should never happen $QtyOnHandPrior = 0; } - if ($_SESSION['ProhibitNegativeStock']==1 + if ($_SESSION['ProhibitNegativeStock']==1 AND $QtyOnHandPrior<$_SESSION['Transfer']->TransferItem[0]->Quantity) { prnMsg( _('There is insufficient stock to make this transfer and webERP is setup to prevent negative stock'), 'warn'); include('includes/footer.inc'); @@ -399,7 +401,7 @@ '" . $Item->BundleRef . "', '" . FormatDateForSQL($Item->ExpiryDate) . "', '" . $Item->BundleQty . "')"; - + $ErrMsg = _('CRITICAL ERROR') . '! ' . _('NOTE DOWN THIS ERROR AND SEEK ASSISTANCE') . ': ' . _('The serial stock item record could not be added because'); $DbgMsg = _('The following SQL to insert the serial stock item record was used:'); $Result = DB_query($SQL, $db, $ErrMsg, $DbgMsg, true); @@ -482,9 +484,9 @@ } echo '</td><td><input type="submit" name="CheckCode" value="'._('Check Part').'" /></td></tr>'; -if (isset($_SESSION['Transfer']->TransferItem[0]->ItemDescription) +if (isset($_SESSION['Transfer']->TransferItem[0]->ItemDescription) AND mb_strlen($_SESSION['Transfer']->TransferItem[0]->ItemDescription)>1){ - + echo '<tr> <td colspan="3"><font color="blue" size="3">' . $_SESSION['Transfer']->TransferItem[0]->ItemDescription . ' ('._('In Units of').' ' . $_SESSION['Transfer']->TransferItem[0]->PartUnit . ' )</font></td> </tr>'; @@ -540,9 +542,9 @@ echo '<tr> <td>'._('Transfer Quantity').':</td>'; -if (isset($_SESSION['Transfer']->TransferItem[0]->Controlled) +if (isset($_SESSION['Transfer']->TransferItem[0]->Controlled) AND $_SESSION['Transfer']->TransferItem[0]->Controlled==1){ - + echo '<td class="number"><input type="hidden" name="Quantity" value="' . locale_number_format($_SESSION['Transfer']->TransferItem[0]->Quantity) . '" /><a href="' . $rootpath .'/StockTransferControlled.php?StockLocationFrom='.$_SESSION['Transfer']->StockLocationFrom.'">' . $_SESSION['Transfer']->TransferItem[0]->Quantity . '</a></td></tr>'; } elseif (isset($_SESSION['Transfer']->TransferItem[0]->Controlled)){ echo '<td><input type="text" class="number" name="Quantity" size="12" maxlength="12" value="' . locale_number_format($_SESSION['Transfer']->TransferItem[0]->Quantity) . '" /></td></tr>'; Modified: trunk/Stocks.php =================================================================== --- trunk/Stocks.php 2012-06-24 05:36:51 UTC (rev 5450) +++ trunk/Stocks.php 2012-06-24 05:49:39 UTC (rev 5451) @@ -4,6 +4,10 @@ include('includes/session.inc'); $title = _('Item Maintenance'); +$title = _('Item Maintenance'); +/* webERP manual links before header.inc */ +$ViewTopic= "Inventory"; +$BookMark = "InventoryAddingItems"; include('includes/header.inc'); include('includes/SQL_CommonFunctions.inc'); @@ -18,11 +22,11 @@ } if (isset($StockID) and !isset($_POST['UpdateCategories'])) { - $sql = "SELECT COUNT(stockid) - FROM stockmaster - WHERE stockid='".$StockID."' + $sql = "SELECT COUNT(stockid) + FROM stockmaster + WHERE stockid='".$StockID."' GROUP BY stockid"; - + $result = DB_query($sql,$db); $myrow = DB_fetch_row($result); if ($myrow[0]==0) { @@ -181,12 +185,12 @@ $Errors[$i] = 'NextSerialNo'; $i++; } - if (($_POST['MBFlag']=='A' - OR $_POST['MBFlag']=='K' - OR $_POST['MBFlag']=='D' - OR $_POST['MBFlag']=='G') + if (($_POST['MBFlag']=='A' + OR $_POST['MBFlag']=='K' + OR $_POST['MBFlag']=='D' + OR $_POST['MBFlag']=='G') AND $_POST['Controlled']==1){ - + $InputError = 1; prnMsg(_('Assembly/Kitset/Phantom/Service/Labour items cannot also be controlled items') . '. ' . _('Assemblies/Dummies/Phantom and Kitsets are not physical items and batch/serial control is therefore not appropriate'),'error'); $Errors[$i] = 'Controlled'; @@ -226,8 +230,8 @@ materialcost+labourcost+overheadcost AS itemcost, stockcategory.stockact, stockcategory.wipact - FROM stockmaster - INNER JOIN stockcategory + FROM stockmaster + INNER JOIN stockcategory ON stockmaster.categoryid=stockcategory.categoryid WHERE stockid = '".$StockID."'"; $MBFlagResult = DB_query($sql,$db); @@ -238,26 +242,26 @@ $UnitCost = $myrow[3]; $OldStockAccount = $myrow[4]; $OldWIPAccount = $myrow[5]; - - $sql = "SELECT SUM(locstock.quantity) - FROM locstock - WHERE stockid='".$StockID."' + + $sql = "SELECT SUM(locstock.quantity) + FROM locstock + WHERE stockid='".$StockID."' GROUP BY stockid"; $result = DB_query($sql,$db); $StockQtyRow = DB_fetch_row($result); /*Now check the GL account of the new category to see if it is different to the old stock gl account */ - + $result = DB_query("SELECT stockact, wipact - FROM stockcategory + FROM stockcategory WHERE categoryid='" . $_POST['CategoryID'] . "'", $db); $NewStockActRow = DB_fetch_array($result); $NewStockAct = $NewStockActRow['stockact']; $NewWIPAct = $NewStockActRow['wipact']; - + if ($OldMBFlag != $_POST['MBFlag']){ if (($OldMBFlag == 'M' OR $OldMBFlag=='B') AND ($_POST['MBFlag']=='A' OR $_POST['MBFlag']=='K' OR $_POST['MBFlag']=='D' OR $_POST['MBFlag']=='G')){ /*then need to check that there is no stock holding first */ /* stock holding OK for phantom (ghost) items */ @@ -303,9 +307,9 @@ /*now check that if it was a Manufactured, Kitset, Phantom or Assembly and is being changed to a purchased or dummy - that no BOM exists */ if (($OldMBFlag=='M' OR $OldMBFlag =='K' OR $OldMBFlag=='A' OR $OldMBFlag=='G') AND ($_POST['MBFlag']=='B' OR $_POST['MBFlag']=='D')) { - $sql = "SELECT COUNT(*) - FROM bom - WHERE parent = '".$StockID."' + $sql = "SELECT COUNT(*) + FROM bom + WHERE parent = '".$StockID."' GROUP BY parent"; $result = DB_query($sql,$db); $ChkBOM = DB_fetch_row($result); @@ -317,9 +321,9 @@ /*now check that if it was Manufac, Phantom or Purchased and is being changed to assembly or kitset, it is not a component on an existing BOM */ if (($OldMBFlag=='M' OR $OldMBFlag =='B' OR $OldMBFlag=='D' OR $OldMBFlag=='G') AND ($_POST['MBFlag']=='A' OR $_POST['MBFlag']=='K')) { - $sql = "SELECT COUNT(*) - FROM bom - WHERE component = '".$StockID."' + $sql = "SELECT COUNT(*) + FROM bom + WHERE component = '".$StockID."' GROUP BY component"; $result = DB_query($sql,$db); $ChkBOM = DB_fetch_row($result); @@ -341,7 +345,7 @@ prnMsg( _('You can not change a Serialised Item to Non-Serialised (or vice-versa) when there is a quantity on hand for the item') , 'error'); } /* Do some check for property input */ - + for ($i=0;$i<$_POST['PropertyCounter'];$i++){ if ($_POST['PropNumeric' .$i]==1){ if ( filter_number_format($_POST['PropValue' . $i]) < $_POST['PropMin' . $i] OR filter_number_format($_POST['PropValue' . $i]) > $_POST['PropMax' . $i]){ @@ -354,9 +358,9 @@ if ($InputError == 0){ - + DB_Txn_Begin($db); - + $sql = "UPDATE stockmaster SET longdescription='" . $_POST['LongDescription'] . "', description='" . $_POST['Description'] . "', @@ -411,7 +415,7 @@ '" . $_POST['PropValue' . $i] . "')", $db,$ErrMsg,$DbgMsg,true); } //end of loop around properties defined for the category - + if ($OldStockAccount != $NewStockAct AND $_SESSION['CompanyRecord']['gllink_stock']==1) { /*Then we need to make a journal to transfer the cost to the new stock account */ $JournalNo = GetNextTransNo(0,$db); //enter as a journal @@ -447,20 +451,20 @@ '" . $StockID . ' ' . _('Change stock category') . "', '" . (-$UnitCost* $StockQtyRow[0]) . "')"; $result = DB_query($SQL,$db, $ErrMsg, $DbgMsg,true); - + } /* end if the stock category changed and forced a change in stock cost account */ if ($OldWIPAccount != $NewWIPAct AND $_SESSION['CompanyRecord']['gllink_stock']==1) { /*Then we need to make a journal to transfer the cost of WIP to the new WIP account */ /*First get the total cost of WIP for this category */ - + $WOCostsResult = DB_query("SELECT workorders.costissued, SUM(woitems.qtyreqd * woitems.stdcost) AS costrecd FROM woitems INNER JOIN workorders ON woitems.wo = workorders.wo INNER JOIN stockmaster ON woitems.stockid=stockmaster.stockid - WHERE stockmaster.stockid='". $StockID . "' - AND workorders.closed=0 + WHERE stockmaster.stockid='". $StockID . "' + AND workorders.closed=0 GROUP BY workorders.costissued", $db, _('Error retrieving value of finished goods received and cost issued against work orders for this item')); @@ -468,7 +472,7 @@ while ($WIPRow=DB_fetch_array($WOCostsResult)){ $WIPValue += ($WIPRow['costissued']-$WIPRow['costrecd']); } - if ($WIPValue !=0){ + if ($WIPValue !=0){ $JournalNo = GetNextTransNo(0,$db); //enter as a journal $SQL = "INSERT INTO gltrans (type, typeno, @@ -507,12 +511,12 @@ DB_Txn_Commit($db); prnMsg( _('Stock Item') . ' ' . $StockID . ' ' . _('has been updated'), 'success'); echo '<br />'; - } + } } else { //it is a NEW part //but lets be really sure here - $result = DB_query("SELECT stockid - FROM stockmaster + $result = DB_query("SELECT stockid + FROM stockmaster WHERE stockid='" . $StockID ."'",$db); if (DB_num_rows($result)==1){ prnMsg(_('The stock code entered is actually already in the database - duplicate stock codes are prohibited by the system. Try choosing an alternative stock code'),'error'); @@ -563,7 +567,7 @@ if (DB_error_no($db) ==0) { //now insert any item properties for ($i=0;$i<$_POST['PropertyCounter'];$i++){ - + if ($_POST['PropType' . $i] ==2){ if ($_POST['PropValue' . $i]=='on'){ $_POST['PropValue' . $i]=1; @@ -571,7 +575,7 @@ $_POST['PropValue' . $i]=0; } } - + if ($_POST['PropNumeric' .$i]==1){ $_POST['PropValue' . $i]=filter_number_format($_POST['PropValue' . $i]); } else { @@ -600,9 +604,9 @@ $InsResult = DB_query($sql,$db,$ErrMsg,$DbgMsg); if (DB_error_no($db) ==0) { - prnMsg( _('New Item') .' ' . '<a href="SelectProduct.php?StockID=' . $StockID . '">' . $StockID . '</a> '. _('has been added to the database') . + prnMsg( _('New Item') .' ' . '<a href="SelectProduct.php?StockID=' . $StockID . '">' . $StockID . '</a> '. _('has been added to the database') . '<br />' . _('NB: The item cost and pricing must also be setup') . - '<br />' . '<a target="_blank" href="StockCostUpdate.php?StockID=' . $StockID . '">' . _('Enter Item Cost') . '</a> + '<br />' . '<a target="_blank" href="StockCostUpdate.php?StockID=' . $StockID . '">' . _('Enter Item Cost') . '</a> <br />' . '<a target="_blank" href="Prices.php?Item=' . $StockID . '">' . _('Enter Item Prices') . '</a> ','success'); echo '<br />'; unset($_POST['Description']); @@ -630,8 +634,8 @@ }//THE INSERT OF THE NEW CODE WORKED SO BANG IN THE STOCK LOCATION RECORDS TOO }//END CHECK FOR ALREADY EXISTING ITEM OF THE SAME CODE } - + } else { echo '<br />'. "\n"; prnMsg( _('Validation failed, no updates or deletes took place'), 'error'); @@ -746,7 +750,7 @@ unset($_POST['DecimalPlaces']); unset($_SESSION['SelectedStockItem']); unset($StockID); - + $New=1; } //end if Delete Part } @@ -798,7 +802,7 @@ shrinkfactor FROM stockmaster WHERE stockid = '".$StockID."'"; - + $result = DB_query($sql, $db); $myrow = DB_fetch_array($result); @@ -820,7 +824,7 @@ $_POST['DecimalPlaces'] = $myrow['decimalplaces']; $_POST['NextSerialNo'] = $myrow['nextserialno']; $_POST['Pansize'] = $myrow['pansize']; - $_POST['ShrinkFactor'] = $myrow['shrinkfactor']; + $_POST['ShrinkFactor'] = $myrow['shrinkfactor']; echo '<tr><td>' . _('Item Code') . ':</td> @@ -1010,7 +1014,7 @@ echo '<tr> <td>' . _('Current or Obsolete') . ':</td> <td><select name="Discontinued">'; - + if ($_POST['Discontinued']==0){ echo '<option selected="selected" value="0">' . _('Current') . '</option>'; } else { @@ -1182,7 +1186,7 @@ echo '<input type="hidden" name="PropID' . $PropertyCounter . '" value="' .$PropertyRow['stkcatpropid'] .'" />'; echo '<input type="hidden" name="PropNumeric' . $PropertyCounter . '" value="' .$PropertyRow['numericvalue'] .'" />'; echo $PropertyRow['label'] . '</td> - + <td>'; switch ($PropertyRow['controltype']) { case 0; //textbox @@ -1219,7 +1223,7 @@ echo '<input type="hidden" name="PropType' . $PropertyCounter .'" value="' . $PropertyRow['controltype'] . '" />'; echo '</td></tr>'; $PropertyCounter++; - + } //end loop round properties for the item category unset($StockID); echo '</table>'; Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2012-06-24 05:36:51 UTC (rev 5450) +++ trunk/doc/Change.log 2012-06-24 05:49:39 UTC (rev 5451) @@ -1,5 +1,5 @@ webERP Change Log - +24/06/2012: Icedlava: Add ViewTopic and BookMark vars to some functions to take advantage of new Manual contextual help. Must be added before header.inc include. 24/06/2012: Icedlava: Adjust header.inc, ManualContents.php, ManualHeader.html to take Viewtopic and Bookmark parameters in displaying manual. Add ManualOutline.php file containing manual TOC, add CSS and rework all manual docs. Still to add $Viewtopic and $Bookmark to functions (eg see Stocks.php) 24/6/2012 Release 4.08.1 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ice...@us...> - 2012-06-24 05:49:46
|
Revision: 5451 http://web-erp.svn.sourceforge.net/web-erp/?rev=5451&view=rev Author: icedlava Date: 2012-06-24 05:49:39 +0000 (Sun, 24 Jun 2012) Log Message: ----------- Add ViewTopic and BookMark vars to some functions to take advantage of new Manual contextual help. Must be added before header.inc include. Ongoing work. Modified Paths: -------------- trunk/InventoryPlanning.php trunk/SelectProduct.php trunk/StockAdjustments.php trunk/StockMovements.php trunk/StockTransfers.php trunk/Stocks.php trunk/doc/Change.log Modified: trunk/InventoryPlanning.php =================================================================== --- trunk/InventoryPlanning.php 2012-06-24 05:36:51 UTC (rev 5450) +++ trunk/InventoryPlanning.php 2012-06-24 05:49:39 UTC (rev 5451) @@ -3,6 +3,9 @@ /* $Id$ */ include('includes/session.inc'); +/* webERP manual links before header.inc */ +$ViewTopic= "Inventory"; +$BookMark = "PlanningReport"; if (isset($_POST['PrintPDF']) and isset($_POST['FromCriteria']) @@ -409,7 +412,7 @@ <tr> <td>' . _('For Inventory in Location') . ':</td> <td><select name="Location">'; - + $sql = "SELECT loccode, locationname FROM locations"; $LocnResult=DB_query($sql,$db); Modified: trunk/SelectProduct.php =================================================================== --- trunk/SelectProduct.php 2012-06-24 05:36:51 UTC (rev 5450) +++ trunk/SelectProduct.php 2012-06-24 05:49:39 UTC (rev 5451) @@ -6,6 +6,8 @@ include ('includes/session.inc'); $title = _('Search Inventory Items'); +/* webERP manual links before header.inc */ +$ViewTopic= "Inventory"; include ('includes/header.inc'); if (isset($_GET['StockID'])) { Modified: trunk/StockAdjustments.php =================================================================== --- trunk/StockAdjustments.php 2012-06-24 05:36:51 UTC (rev 5450) +++ trunk/StockAdjustments.php 2012-06-24 05:49:39 UTC (rev 5451) @@ -6,7 +6,9 @@ include('includes/DefineSerialItems.php'); include('includes/session.inc'); $title = _('Stock Adjustments'); - +/* webERP manual links before header.inc */ +$ViewTopic= "Inventory"; +$BookMark = "InventoryAdjustments"; include('includes/header.inc'); include('includes/SQL_CommonFunctions.inc'); @@ -38,16 +40,16 @@ } } if ($NewAdjustment==true){ - + $_SESSION['Adjustment' . $identifier]->StockID = trim(mb_strtoupper($StockID)); - $result = DB_query("SELECT description, - controlled, - serialised, + $result = DB_query("SELECT description, + controlled, + serialised, decimalplaces, perishable, materialcost+labourcost+overheadcost AS totalcost, units - FROM stockmaster + FROM stockmaster WHERE stockid='" . $_SESSION['Adjustment' . $identifier]->StockID . "'",$db); $myrow = DB_fetch_array($result); $_SESSION['Adjustment' . $identifier]->ItemDescription = $myrow['description']; @@ -64,7 +66,7 @@ $DecimalPlaces = $myrow['decimalplaces']; DB_free_result($result); - + } //end if it's a new adjustment if (isset($_POST['tag'])){ $_SESSION['Adjustment' . $identifier]->tag = $_POST['tag']; @@ -93,14 +95,14 @@ echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/magnifier.png" title="' . _('Dispatch') . '" alt="" />' . ' ' . _('Select Item to Adjust') . '</p>'; if (mb_strlen($_POST['StockText'])>0) { - $sql="SELECT stockid, - description - FROM stockmaster + $sql="SELECT stockid, + description + FROM stockmaster WHERE description " . LIKE . " '%" . $_POST['StockText'] ."%'"; } else { - $sql="SELECT stockid, - description - FROM stockmaster + $sql="SELECT stockid, + description + FROM stockmaster WHERE stockid " . LIKE . " '%" . $_POST['StockCode'] ."%'"; } $ErrMsg=_('The stock information cannot be retrieved because'); @@ -332,7 +334,7 @@ $DbgMsg = _('The following SQL to insert the GL entries was used'); $Result = DB_query($SQL,$db, $ErrMsg, $DbgMsg,true); } - + EnsureGLEntriesBalance(17, $AdjustmentNumber,$db); $Result = DB_Txn_Commit($db); @@ -345,7 +347,7 @@ $EmailSubject = _('Stock adjustment for'). ' ' . $_SESSION['Adjustment' . $identifier]->StockID; mail($_SESSION['InventoryManagerEmail'],$EmailSubject,$ConfirmationText); } - + unset ($_SESSION['Adjustment' . $identifier]); } /* end if there was no input error */ @@ -365,14 +367,14 @@ $StockID = $_SESSION['Adjustment' . $identifier]->StockID; $Controlled = $_SESSION['Adjustment' . $identifier]->Controlled; $Quantity = $_SESSION['Adjustment' . $identifier]->Quantity; - $sql="SELECT materialcost, - labourcost, - overheadcost, - units, - decimalplaces - FROM stockmaster + $sql="SELECT materialcost, + labourcost, + overheadcost, + units, + decimalplaces + FROM stockmaster WHERE stockid='".$StockID."'"; - + $result=DB_query($sql, $db); $myrow=DB_fetch_array($result); $_SESSION['Adjustment' . $identifier]->PartUnit=$myrow['units']; Modified: trunk/StockMovements.php =================================================================== --- trunk/StockMovements.php 2012-06-24 05:36:51 UTC (rev 5450) +++ trunk/StockMovements.php 2012-06-24 05:49:39 UTC (rev 5451) @@ -4,6 +4,9 @@ include('includes/session.inc'); $title = _('Stock Movements'); +/* webERP manual links before header.inc */ +$ViewTopic= "Inventory"; +$BookMark = "InventoryMovement"; include('includes/header.inc'); if (isset($_GET['StockID'])){ @@ -101,7 +104,7 @@ <th>' . _('Discount') . '</th> <th>' . _('New Qty') . '</th> </tr>'; - + echo $tableheader; $j = 1; Modified: trunk/StockTransfers.php =================================================================== --- trunk/StockTransfers.php 2012-06-24 05:36:51 UTC (rev 5450) +++ trunk/StockTransfers.php 2012-06-24 05:49:39 UTC (rev 5451) @@ -7,7 +7,9 @@ include('includes/session.inc'); $title = _('Stock Transfers'); - +/* webERP manual links before header.inc */ +$ViewTopic= "Inventory"; +$BookMark = "LocationTransfers"; include('includes/header.inc'); include('includes/SQL_CommonFunctions.inc'); @@ -29,14 +31,14 @@ </p>'; if (mb_strlen($_POST['StockText'])>0) { - $sql="SELECT stockid, - description - FROM stockmaster + $sql="SELECT stockid, + description + FROM stockmaster WHERE description " . LIKE . " '%" . $_POST['StockText'] . "%'"; } else { - $sql="SELECT stockid, - description - FROM stockmaster + $sql="SELECT stockid, + description + FROM stockmaster WHERE stockid " . LIKE . " '%" . $_POST['StockCode']."%'"; } $ErrMsg=_('The stock information cannot be retrieved because'); @@ -54,7 +56,7 @@ <td><a href="' . $rootpath . '/StockTransfers.php?StockID='.$myrow['stockid'].'&Description='.$myrow['description'].'&NewTransfer=Yes&Quantity='. filter_number_format($_POST['Quantity']).'&From='.$_POST['StockLocationFrom'].'&To='.$_POST['StockLocationTo'].'">' ._('Transfer').'</a></td> </tr>'; - + } echo '</table>'; include('includes/footer.inc'); @@ -110,7 +112,7 @@ FROM stockmaster WHERE stockid='" . trim(mb_strtoupper($_POST['StockID'])) . "'", $db); - + if (DB_num_rows($result) == 0){ prnMsg( _('Unable to locate Stock Code').' '.mb_strtoupper($_POST['StockID']), 'error' ); } elseif (DB_num_rows($result)>0){ @@ -123,8 +125,8 @@ $myrow['serialised'], $myrow['perishable'], $myrow['decimalplaces']); - + $_SESSION['Transfer']->TransferItem[0]->StandardCost = $myrow['standardcost']; if ($myrow['mbflag']=='D' OR $myrow['mbflag']=='A' OR $myrow['mbflag']=='K'){ @@ -138,17 +140,17 @@ } } -if (isset($_POST['Quantity']) - AND isset($_SESSION['Transfer']->TransferItem[0]->Controlled) +if (isset($_POST['Quantity']) + AND isset($_SESSION['Transfer']->TransferItem[0]->Controlled) AND $_SESSION['Transfer']->TransferItem[0]->Controlled==0){ - + $_SESSION['Transfer']->TransferItem[0]->Quantity = filter_number_format($_POST['Quantity']); } -if ( isset($_POST['StockLocationFrom']) +if ( isset($_POST['StockLocationFrom']) AND $_POST['StockLocationFrom']!= $_SESSION['Transfer']->StockLocationFrom ){ - + $_SESSION['Transfer']->StockLocationFrom = $_POST['StockLocationFrom']; $_SESSION['Transfer']->StockLocationTo = $_POST['StockLocationTo']; $_SESSION['Transfer']->TransferItem[0]->Quantity=filter_number_format($_POST['Quantity']); @@ -208,7 +210,7 @@ // There must actually be some error this should never happen $QtyOnHandPrior = 0; } - if ($_SESSION['ProhibitNegativeStock']==1 + if ($_SESSION['ProhibitNegativeStock']==1 AND $QtyOnHandPrior<$_SESSION['Transfer']->TransferItem[0]->Quantity) { prnMsg( _('There is insufficient stock to make this transfer and webERP is setup to prevent negative stock'), 'warn'); include('includes/footer.inc'); @@ -399,7 +401,7 @@ '" . $Item->BundleRef . "', '" . FormatDateForSQL($Item->ExpiryDate) . "', '" . $Item->BundleQty . "')"; - + $ErrMsg = _('CRITICAL ERROR') . '! ' . _('NOTE DOWN THIS ERROR AND SEEK ASSISTANCE') . ': ' . _('The serial stock item record could not be added because'); $DbgMsg = _('The following SQL to insert the serial stock item record was used:'); $Result = DB_query($SQL, $db, $ErrMsg, $DbgMsg, true); @@ -482,9 +484,9 @@ } echo '</td><td><input type="submit" name="CheckCode" value="'._('Check Part').'" /></td></tr>'; -if (isset($_SESSION['Transfer']->TransferItem[0]->ItemDescription) +if (isset($_SESSION['Transfer']->TransferItem[0]->ItemDescription) AND mb_strlen($_SESSION['Transfer']->TransferItem[0]->ItemDescription)>1){ - + echo '<tr> <td colspan="3"><font color="blue" size="3">' . $_SESSION['Transfer']->TransferItem[0]->ItemDescription . ' ('._('In Units of').' ' . $_SESSION['Transfer']->TransferItem[0]->PartUnit . ' )</font></td> </tr>'; @@ -540,9 +542,9 @@ echo '<tr> <td>'._('Transfer Quantity').':</td>'; -if (isset($_SESSION['Transfer']->TransferItem[0]->Controlled) +if (isset($_SESSION['Transfer']->TransferItem[0]->Controlled) AND $_SESSION['Transfer']->TransferItem[0]->Controlled==1){ - + echo '<td class="number"><input type="hidden" name="Quantity" value="' . locale_number_format($_SESSION['Transfer']->TransferItem[0]->Quantity) . '" /><a href="' . $rootpath .'/StockTransferControlled.php?StockLocationFrom='.$_SESSION['Transfer']->StockLocationFrom.'">' . $_SESSION['Transfer']->TransferItem[0]->Quantity . '</a></td></tr>'; } elseif (isset($_SESSION['Transfer']->TransferItem[0]->Controlled)){ echo '<td><input type="text" class="number" name="Quantity" size="12" maxlength="12" value="' . locale_number_format($_SESSION['Transfer']->TransferItem[0]->Quantity) . '" /></td></tr>'; Modified: trunk/Stocks.php =================================================================== --- trunk/Stocks.php 2012-06-24 05:36:51 UTC (rev 5450) +++ trunk/Stocks.php 2012-06-24 05:49:39 UTC (rev 5451) @@ -4,6 +4,10 @@ include('includes/session.inc'); $title = _('Item Maintenance'); +$title = _('Item Maintenance'); +/* webERP manual links before header.inc */ +$ViewTopic= "Inventory"; +$BookMark = "InventoryAddingItems"; include('includes/header.inc'); include('includes/SQL_CommonFunctions.inc'); @@ -18,11 +22,11 @@ } if (isset($StockID) and !isset($_POST['UpdateCategories'])) { - $sql = "SELECT COUNT(stockid) - FROM stockmaster - WHERE stockid='".$StockID."' + $sql = "SELECT COUNT(stockid) + FROM stockmaster + WHERE stockid='".$StockID."' GROUP BY stockid"; - + $result = DB_query($sql,$db); $myrow = DB_fetch_row($result); if ($myrow[0]==0) { @@ -181,12 +185,12 @@ $Errors[$i] = 'NextSerialNo'; $i++; } - if (($_POST['MBFlag']=='A' - OR $_POST['MBFlag']=='K' - OR $_POST['MBFlag']=='D' - OR $_POST['MBFlag']=='G') + if (($_POST['MBFlag']=='A' + OR $_POST['MBFlag']=='K' + OR $_POST['MBFlag']=='D' + OR $_POST['MBFlag']=='G') AND $_POST['Controlled']==1){ - + $InputError = 1; prnMsg(_('Assembly/Kitset/Phantom/Service/Labour items cannot also be controlled items') . '. ' . _('Assemblies/Dummies/Phantom and Kitsets are not physical items and batch/serial control is therefore not appropriate'),'error'); $Errors[$i] = 'Controlled'; @@ -226,8 +230,8 @@ materialcost+labourcost+overheadcost AS itemcost, stockcategory.stockact, stockcategory.wipact - FROM stockmaster - INNER JOIN stockcategory + FROM stockmaster + INNER JOIN stockcategory ON stockmaster.categoryid=stockcategory.categoryid WHERE stockid = '".$StockID."'"; $MBFlagResult = DB_query($sql,$db); @@ -238,26 +242,26 @@ $UnitCost = $myrow[3]; $OldStockAccount = $myrow[4]; $OldWIPAccount = $myrow[5]; - - $sql = "SELECT SUM(locstock.quantity) - FROM locstock - WHERE stockid='".$StockID."' + + $sql = "SELECT SUM(locstock.quantity) + FROM locstock + WHERE stockid='".$StockID."' GROUP BY stockid"; $result = DB_query($sql,$db); $StockQtyRow = DB_fetch_row($result); /*Now check the GL account of the new category to see if it is different to the old stock gl account */ - + $result = DB_query("SELECT stockact, wipact - FROM stockcategory + FROM stockcategory WHERE categoryid='" . $_POST['CategoryID'] . "'", $db); $NewStockActRow = DB_fetch_array($result); $NewStockAct = $NewStockActRow['stockact']; $NewWIPAct = $NewStockActRow['wipact']; - + if ($OldMBFlag != $_POST['MBFlag']){ if (($OldMBFlag == 'M' OR $OldMBFlag=='B') AND ($_POST['MBFlag']=='A' OR $_POST['MBFlag']=='K' OR $_POST['MBFlag']=='D' OR $_POST['MBFlag']=='G')){ /*then need to check that there is no stock holding first */ /* stock holding OK for phantom (ghost) items */ @@ -303,9 +307,9 @@ /*now check that if it was a Manufactured, Kitset, Phantom or Assembly and is being changed to a purchased or dummy - that no BOM exists */ if (($OldMBFlag=='M' OR $OldMBFlag =='K' OR $OldMBFlag=='A' OR $OldMBFlag=='G') AND ($_POST['MBFlag']=='B' OR $_POST['MBFlag']=='D')) { - $sql = "SELECT COUNT(*) - FROM bom - WHERE parent = '".$StockID."' + $sql = "SELECT COUNT(*) + FROM bom + WHERE parent = '".$StockID."' GROUP BY parent"; $result = DB_query($sql,$db); $ChkBOM = DB_fetch_row($result); @@ -317,9 +321,9 @@ /*now check that if it was Manufac, Phantom or Purchased and is being changed to assembly or kitset, it is not a component on an existing BOM */ if (($OldMBFlag=='M' OR $OldMBFlag =='B' OR $OldMBFlag=='D' OR $OldMBFlag=='G') AND ($_POST['MBFlag']=='A' OR $_POST['MBFlag']=='K')) { - $sql = "SELECT COUNT(*) - FROM bom - WHERE component = '".$StockID."' + $sql = "SELECT COUNT(*) + FROM bom + WHERE component = '".$StockID."' GROUP BY component"; $result = DB_query($sql,$db); $ChkBOM = DB_fetch_row($result); @@ -341,7 +345,7 @@ prnMsg( _('You can not change a Serialised Item to Non-Serialised (or vice-versa) when there is a quantity on hand for the item') , 'error'); } /* Do some check for property input */ - + for ($i=0;$i<$_POST['PropertyCounter'];$i++){ if ($_POST['PropNumeric' .$i]==1){ if ( filter_number_format($_POST['PropValue' . $i]) < $_POST['PropMin' . $i] OR filter_number_format($_POST['PropValue' . $i]) > $_POST['PropMax' . $i]){ @@ -354,9 +358,9 @@ if ($InputError == 0){ - + DB_Txn_Begin($db); - + $sql = "UPDATE stockmaster SET longdescription='" . $_POST['LongDescription'] . "', description='" . $_POST['Description'] . "', @@ -411,7 +415,7 @@ '" . $_POST['PropValue' . $i] . "')", $db,$ErrMsg,$DbgMsg,true); } //end of loop around properties defined for the category - + if ($OldStockAccount != $NewStockAct AND $_SESSION['CompanyRecord']['gllink_stock']==1) { /*Then we need to make a journal to transfer the cost to the new stock account */ $JournalNo = GetNextTransNo(0,$db); //enter as a journal @@ -447,20 +451,20 @@ '" . $StockID . ' ' . _('Change stock category') . "', '" . (-$UnitCost* $StockQtyRow[0]) . "')"; $result = DB_query($SQL,$db, $ErrMsg, $DbgMsg,true); - + } /* end if the stock category changed and forced a change in stock cost account */ if ($OldWIPAccount != $NewWIPAct AND $_SESSION['CompanyRecord']['gllink_stock']==1) { /*Then we need to make a journal to transfer the cost of WIP to the new WIP account */ /*First get the total cost of WIP for this category */ - + $WOCostsResult = DB_query("SELECT workorders.costissued, SUM(woitems.qtyreqd * woitems.stdcost) AS costrecd FROM woitems INNER JOIN workorders ON woitems.wo = workorders.wo INNER JOIN stockmaster ON woitems.stockid=stockmaster.stockid - WHERE stockmaster.stockid='". $StockID . "' - AND workorders.closed=0 + WHERE stockmaster.stockid='". $StockID . "' + AND workorders.closed=0 GROUP BY workorders.costissued", $db, _('Error retrieving value of finished goods received and cost issued against work orders for this item')); @@ -468,7 +472,7 @@ while ($WIPRow=DB_fetch_array($WOCostsResult)){ $WIPValue += ($WIPRow['costissued']-$WIPRow['costrecd']); } - if ($WIPValue !=0){ + if ($WIPValue !=0){ $JournalNo = GetNextTransNo(0,$db); //enter as a journal $SQL = "INSERT INTO gltrans (type, typeno, @@ -507,12 +511,12 @@ DB_Txn_Commit($db); prnMsg( _('Stock Item') . ' ' . $StockID . ' ' . _('has been updated'), 'success'); echo '<br />'; - } + } } else { //it is a NEW part //but lets be really sure here - $result = DB_query("SELECT stockid - FROM stockmaster + $result = DB_query("SELECT stockid + FROM stockmaster WHERE stockid='" . $StockID ."'",$db); if (DB_num_rows($result)==1){ prnMsg(_('The stock code entered is actually already in the database - duplicate stock codes are prohibited by the system. Try choosing an alternative stock code'),'error'); @@ -563,7 +567,7 @@ if (DB_error_no($db) ==0) { //now insert any item properties for ($i=0;$i<$_POST['PropertyCounter'];$i++){ - + if ($_POST['PropType' . $i] ==2){ if ($_POST['PropValue' . $i]=='on'){ $_POST['PropValue' . $i]=1; @@ -571,7 +575,7 @@ $_POST['PropValue' . $i]=0; } } - + if ($_POST['PropNumeric' .$i]==1){ $_POST['PropValue' . $i]=filter_number_format($_POST['PropValue' . $i]); } else { @@ -600,9 +604,9 @@ $InsResult = DB_query($sql,$db,$ErrMsg,$DbgMsg); if (DB_error_no($db) ==0) { - prnMsg( _('New Item') .' ' . '<a href="SelectProduct.php?StockID=' . $StockID . '">' . $StockID . '</a> '. _('has been added to the database') . + prnMsg( _('New Item') .' ' . '<a href="SelectProduct.php?StockID=' . $StockID . '">' . $StockID . '</a> '. _('has been added to the database') . '<br />' . _('NB: The item cost and pricing must also be setup') . - '<br />' . '<a target="_blank" href="StockCostUpdate.php?StockID=' . $StockID . '">' . _('Enter Item Cost') . '</a> + '<br />' . '<a target="_blank" href="StockCostUpdate.php?StockID=' . $StockID . '">' . _('Enter Item Cost') . '</a> <br />' . '<a target="_blank" href="Prices.php?Item=' . $StockID . '">' . _('Enter Item Prices') . '</a> ','success'); echo '<br />'; unset($_POST['Description']); @@ -630,8 +634,8 @@ }//THE INSERT OF THE NEW CODE WORKED SO BANG IN THE STOCK LOCATION RECORDS TOO }//END CHECK FOR ALREADY EXISTING ITEM OF THE SAME CODE } - + } else { echo '<br />'. "\n"; prnMsg( _('Validation failed, no updates or deletes took place'), 'error'); @@ -746,7 +750,7 @@ unset($_POST['DecimalPlaces']); unset($_SESSION['SelectedStockItem']); unset($StockID); - + $New=1; } //end if Delete Part } @@ -798,7 +802,7 @@ shrinkfactor FROM stockmaster WHERE stockid = '".$StockID."'"; - + $result = DB_query($sql, $db); $myrow = DB_fetch_array($result); @@ -820,7 +824,7 @@ $_POST['DecimalPlaces'] = $myrow['decimalplaces']; $_POST['NextSerialNo'] = $myrow['nextserialno']; $_POST['Pansize'] = $myrow['pansize']; - $_POST['ShrinkFactor'] = $myrow['shrinkfactor']; + $_POST['ShrinkFactor'] = $myrow['shrinkfactor']; echo '<tr><td>' . _('Item Code') . ':</td> @@ -1010,7 +1014,7 @@ echo '<tr> <td>' . _('Current or Obsolete') . ':</td> <td><select name="Discontinued">'; - + if ($_POST['Discontinued']==0){ echo '<option selected="selected" value="0">' . _('Current') . '</option>'; } else { @@ -1182,7 +1186,7 @@ echo '<input type="hidden" name="PropID' . $PropertyCounter . '" value="' .$PropertyRow['stkcatpropid'] .'" />'; echo '<input type="hidden" name="PropNumeric' . $PropertyCounter . '" value="' .$PropertyRow['numericvalue'] .'" />'; echo $PropertyRow['label'] . '</td> - + <td>'; switch ($PropertyRow['controltype']) { case 0; //textbox @@ -1219,7 +1223,7 @@ echo '<input type="hidden" name="PropType' . $PropertyCounter .'" value="' . $PropertyRow['controltype'] . '" />'; echo '</td></tr>'; $PropertyCounter++; - + } //end loop round properties for the item category unset($StockID); echo '</table>'; Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2012-06-24 05:36:51 UTC (rev 5450) +++ trunk/doc/Change.log 2012-06-24 05:49:39 UTC (rev 5451) @@ -1,5 +1,5 @@ webERP Change Log - +24/06/2012: Icedlava: Add ViewTopic and BookMark vars to some functions to take advantage of new Manual contextual help. Must be added before header.inc include. 24/06/2012: Icedlava: Adjust header.inc, ManualContents.php, ManualHeader.html to take Viewtopic and Bookmark parameters in displaying manual. Add ManualOutline.php file containing manual TOC, add CSS and rework all manual docs. Still to add $Viewtopic and $Bookmark to functions (eg see Stocks.php) 24/6/2012 Release 4.08.1 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dai...@us...> - 2012-06-24 07:52:39
|
Revision: 5452 http://web-erp.svn.sourceforge.net/web-erp/?rev=5452&view=rev Author: daintree Date: 2012-06-24 07:52:33 +0000 (Sun, 24 Jun 2012) Log Message: ----------- added title/tooltip of long description to a number of stock scripts Modified Paths: -------------- trunk/ConfirmDispatch_Invoice.php trunk/CounterSales.php trunk/Credit_Invoice.php trunk/DeliveryDetails.php trunk/RecurringSalesOrders.php trunk/SelectCreditItems.php trunk/SelectOrderItems.php trunk/SelectProduct.php trunk/doc/Change.log trunk/includes/DefineCartClass.php trunk/includes/SelectOrderItems_IntoCart.inc Modified: trunk/ConfirmDispatch_Invoice.php =================================================================== --- trunk/ConfirmDispatch_Invoice.php 2012-06-24 05:49:39 UTC (rev 5451) +++ trunk/ConfirmDispatch_Invoice.php 2012-06-24 07:52:33 UTC (rev 5452) @@ -131,6 +131,7 @@ $LineItemsSQL = "SELECT stkcode, stockmaster.description, + stockmaster.longdescription, stockmaster.controlled, stockmaster.serialised, stockmaster.volume, @@ -167,6 +168,7 @@ $_SESSION['Items'.$identifier]->add_to_cart($myrow['stkcode'], $myrow['quantity'], $myrow['description'], + $myrow['longdescription'], $myrow['unitprice'], $myrow['discountpercent'], $myrow['units'], @@ -319,7 +321,7 @@ echo $RowStarter; echo '<td>'.$LnItm->StockID.'</td> - <td>'.$LnItm->ItemDescription.'</td> + <td title="'. $LnItm->LongDescription . '">' .$LnItm->ItemDescription.'</td> <td class="number">' . locale_number_format($LnItm->Quantity,$LnItm->DecimalPlaces) . '</td> <td>'.$LnItm->Units.'</td> <td class="number">' . locale_number_format($LnItm->QtyInv,$LnItm->DecimalPlaces) . '</td>'; Modified: trunk/CounterSales.php =================================================================== --- trunk/CounterSales.php 2012-06-24 05:49:39 UTC (rev 5451) +++ trunk/CounterSales.php 2012-06-24 07:52:33 UTC (rev 5452) @@ -783,7 +783,7 @@ echo '<input type="hidden" name="ItemDue_' . $OrderLine->LineNumber . '" value="'.$OrderLine->ItemDue.'" />'; echo '<a target="_blank" href="' . $rootpath . '/StockStatus.php?identifier='.$identifier . '&StockID=' . $OrderLine->StockID . '&DebtorNo=' . $_SESSION['Items'.$identifier]->DebtorNo . '">' . $OrderLine->StockID . '</a></td> - <td>' . $OrderLine->ItemDescription . '</td>'; + <td title="' . $OrderLine->LongDescription . '">' . $OrderLine->ItemDescription . '</td>'; echo '<td><input class="number" tabindex="2" type="text" name="Quantity_' . $OrderLine->LineNumber . '" size="6" maxlength="6" value="' . locale_number_format($OrderLine->Quantity,$OrderLine->DecimalPlaces) . '" />'; Modified: trunk/Credit_Invoice.php =================================================================== --- trunk/Credit_Invoice.php 2012-06-24 05:49:39 UTC (rev 5451) +++ trunk/Credit_Invoice.php 2012-06-24 07:52:33 UTC (rev 5452) @@ -99,6 +99,7 @@ $LineItemsSQL = "SELECT stockmoves.stkmoveno, stockmoves.stockid, stockmaster.description, + stockmaster.longdescription, stockmaster.volume, stockmaster.kgs, stockmaster.mbflag, @@ -136,6 +137,7 @@ $_SESSION['CreditItems']->add_to_cart($myrow['stockid'], $myrow['quantity'], $myrow['description'], + $myrow['longdescription'], $myrow['price'], $myrow['discountpercent'], $myrow['units'], @@ -329,7 +331,7 @@ $j++; echo '<tr '.$RowStarter.'><td>' . $LnItm->StockID . '</td> - <td>' . $LnItm->ItemDescription . '</td> + <td title="'. $LnItm->LongDescription . '">' . $LnItm->ItemDescription . '</td> <td class="number">' . locale_number_format($LnItm->Quantity,$LnItm->DecimalPlaces) . '</td> <td>' . $LnItm->Units . '</td>'; Modified: trunk/DeliveryDetails.php =================================================================== --- trunk/DeliveryDetails.php 2012-06-24 05:49:39 UTC (rev 5451) +++ trunk/DeliveryDetails.php 2012-06-24 07:52:33 UTC (rev 5452) @@ -865,7 +865,7 @@ } echo '<td>'.$StockItem->StockID.'</td> - <td>'.$StockItem->ItemDescription.'</td> + <td title="' . $StockItem->LongDescription . '">'.$StockItem->ItemDescription.'</td> <td class="number">'.$DisplayQuantity.'</td> <td>'.$StockItem->Units.'</td> <td class="number">'.$DisplayPrice.'</td> Modified: trunk/RecurringSalesOrders.php =================================================================== --- trunk/RecurringSalesOrders.php 2012-06-24 05:49:39 UTC (rev 5451) +++ trunk/RecurringSalesOrders.php 2012-06-24 07:52:33 UTC (rev 5452) @@ -105,6 +105,7 @@ /*need to look up customer name from debtors master then populate the line items array with the sales order details records */ $LineItemsSQL = "SELECT recurrsalesorderdetails.stkcode, stockmaster.description, + stockmaster.longdescription, stockmaster.volume, stockmaster.kgs, stockmaster.units, @@ -130,6 +131,7 @@ $_SESSION['Items'.$identifier]->add_to_cart($myrow['stkcode'], $myrow['quantity'], $myrow['description'], + $myrow['longdescription'], $myrow['unitprice'], $myrow['discountpercent'], $myrow['units'], @@ -347,7 +349,7 @@ } echo '<td>' . $StockItem->StockID . '</td> - <td>' . $StockItem->ItemDescription . '</td> + <td title="'. $StockItem->LongDescription . '">' . $StockItem->ItemDescription . '</td> <td class="number">' . $DisplayQuantity . '</td> <td>' . $StockItem->Units . '</td> <td class="number">' . $DisplayPrice . '</td> Modified: trunk/SelectCreditItems.php =================================================================== --- trunk/SelectCreditItems.php 2012-06-24 05:49:39 UTC (rev 5451) +++ trunk/SelectCreditItems.php 2012-06-24 07:52:33 UTC (rev 5452) @@ -442,6 +442,7 @@ if ($AlreadyOnThisCredit!=1){ $sql = "SELECT stockmaster.description, + stockmaster.longdescription, stockmaster.stockid, stockmaster.units, stockmaster.volume, @@ -466,6 +467,7 @@ if ($_SESSION['CreditItems'.$identifier]->add_to_cart ($myrow['stockid'], $NewItemQty, $myrow['description'], + $myrow['longdescription'], GetPrice ($_POST['NewItem'], $_SESSION['CreditItems'.$identifier]->DebtorNo, $_SESSION['CreditItems'.$identifier]->Branch, $db), @@ -608,6 +610,7 @@ if ($AlreadyOnThisCredit!=1){ $sql = "SELECT stockmaster.description, + stockmaster.longdescription, stockmaster.stockid, stockmaster.units, stockmaster.volume, @@ -632,6 +635,7 @@ if ($_SESSION['CreditItems'.$identifier]->add_to_cart ($myrow['stockid'], 1, $myrow['description'], + $myrow['longdescription'], GetPrice($_POST['NewItem'], $_SESSION['CreditItems'.$identifier]->DebtorNo, $_SESSION['CreditItems'.$identifier]->Branch, @@ -708,7 +712,7 @@ } echo $RowStarter . '<td>' . $LineItem->StockID . '</td> - <td>' . $LineItem->ItemDescription . '</td>'; + <td title="'. $LineItem->LongDescription . '">' . $LineItem->ItemDescription . '</td>'; if ($LineItem->Controlled==0){ echo '<td><input type="text" class="number" name="Quantity_' . $LineItem->LineNumber . '" maxlength="6" size="6" value="' . locale_number_format(round($LineItem->Quantity,$LineItem->DecimalPlaces),$LineItem->DecimalPlaces) . '" /></td>'; Modified: trunk/SelectOrderItems.php =================================================================== --- trunk/SelectOrderItems.php 2012-06-24 05:49:39 UTC (rev 5451) +++ trunk/SelectOrderItems.php 2012-06-24 07:52:33 UTC (rev 5452) @@ -190,6 +190,7 @@ $LineItemsSQL = "SELECT salesorderdetails.orderlineno, salesorderdetails.stkcode, stockmaster.description, + stockmaster.longdescription, stockmaster.volume, stockmaster.kgs, stockmaster.units, @@ -226,6 +227,7 @@ $_SESSION['Items'.$identifier]->add_to_cart($myrow['stkcode'], $myrow['quantity'], $myrow['description'], + $myrow['longdescription'], $myrow['unitprice'], $myrow['discountpercent'], $myrow['units'], @@ -747,6 +749,7 @@ if ($_POST['StockCat']=='All'){ $SQL = "SELECT stockmaster.stockid, stockmaster.description, + stockmaster.longdescription, stockmaster.units FROM stockmaster INNER JOIN stockcategory ON stockmaster.categoryid=stockcategory.categoryid @@ -758,6 +761,7 @@ } else { $SQL = "SELECT stockmaster.stockid, stockmaster.description, + stockmaster.longdescription, stockmaster.units FROM stockmaster INNER JOIN stockcategory ON stockmaster.categoryid=stockcategory.categoryid @@ -777,6 +781,7 @@ if ($_POST['StockCat']=='All'){ $SQL = "SELECT stockmaster.stockid, stockmaster.description, + stockmaster.longdescription, stockmaster.units FROM stockmaster INNER JOIN stockcategory ON stockmaster.categoryid=stockcategory.categoryid @@ -788,6 +793,7 @@ } else { $SQL = "SELECT stockmaster.stockid, stockmaster.description, + stockmaster.longdescription, stockmaster.units FROM stockmaster INNER JOIN stockcategory ON stockmaster.categoryid=stockcategory.categoryid @@ -803,6 +809,7 @@ if ($_POST['StockCat']=='All'){ $SQL = "SELECT stockmaster.stockid, stockmaster.description, + stockmaster.longdescription, stockmaster.units FROM stockmaster INNER JOIN stockcategory ON stockmaster.categoryid=stockcategory.categoryid @@ -813,6 +820,7 @@ } else { $SQL = "SELECT stockmaster.stockid, stockmaster.description, + stockmaster.longdescription, stockmaster.units FROM stockmaster INNER JOIN stockcategory ON stockmaster.categoryid=stockcategory.categoryid @@ -1391,7 +1399,7 @@ } echo '<a target="_blank" href="' . $rootpath . '/StockStatus.php?identifier='.$identifier . '&StockID=' . $OrderLine->StockID . '&DebtorNo=' . $_SESSION['Items'.$identifier]->DebtorNo . '">' . $OrderLine->StockID . '</a></td> - <td>' . $OrderLine->ItemDescription . '</td>'; + <td title="' . $OrderLine->LongDescription . '">' . $OrderLine->ItemDescription . '</td>'; echo '<td><input class="number" tabindex="2" type="text" name="Quantity_' . $OrderLine->LineNumber . '" size="6" maxlength="6" value="' . locale_number_format($OrderLine->Quantity,$OrderLine->DecimalPlaces) . '" />'; if ($QtyRemain != $QtyOrdered){ @@ -1484,6 +1492,7 @@ $SQL="SELECT stockmaster.units, stockmaster.description, + stockmaster.longdescription, stockmaster.stockid, salesorderdetails.stkcode, SUM(qtyinvoiced) salesqty @@ -1588,8 +1597,8 @@ $Available = $QOH - $DemandQty + $OnOrder; printf('<td>%s</td> + <td title="%s">%s</td> <td>%s</td> - <td>%s</td> <td class="number">%s</td> <td class="number">%s</td> <td class="number">%s</td> @@ -1599,6 +1608,7 @@ </td> </tr>', $myrow['stockid'], + $myrow['longdescription'], $myrow['description'], $myrow['units'], locale_number_format($QOH, $QOHRow['decimalplaces']), @@ -1775,8 +1785,8 @@ $Available = $QOH - $DemandQty + $OnOrder; printf('<td>%s</td> + <td title="%s">%s</td> <td>%s</td> - <td>%s</td> <td class="number">%s</td> <td class="number">%s</td> <td class="number">%s</td> @@ -1786,6 +1796,7 @@ </td> </tr>', $myrow['stockid'], + $myrow['longdescription'], $myrow['description'], $myrow['units'], locale_number_format($QOH,$QOHRow['decimalplaces']), @@ -1882,4 +1893,4 @@ echo '<script type="text/javascript">if (document.SelectParts) {defaultControl(document.SelectCustomer.CustKeywords);}</script>'; } include('includes/footer.inc'); -?> +?> \ No newline at end of file Modified: trunk/SelectProduct.php =================================================================== --- trunk/SelectProduct.php 2012-06-24 05:49:39 UTC (rev 5451) +++ trunk/SelectProduct.php 2012-06-24 07:52:33 UTC (rev 5452) @@ -53,6 +53,7 @@ $StockID = $_SESSION['SelectedStockItem']; } $result = DB_query("SELECT stockmaster.description, + stockmaster.longdescription, stockmaster.mbflag, stockcategory.stocktype, stockmaster.units, @@ -79,7 +80,7 @@ } echo '<table width="90%"> <tr> - <th colspan="3"><img src="' . $rootpath . '/css/' . $theme . '/images/inventory.png" title="' . _('Inventory') . '" alt="" /><b>' . ' ' . $StockID . ' - ' . $myrow['description'] . '</b> ' . $ItemStatus . '</th> + <th colspan="3"><img src="' . $rootpath . '/css/' . $theme . '/images/inventory.png" title="' . _('Inventory') . '" alt="" /><b title="' . $myrow['longdescription'] . '">' . ' ' . $StockID . ' - ' . $myrow['description'] . '</b> ' . $ItemStatus . '</th> </tr>'; echo '<tr> Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2012-06-24 05:49:39 UTC (rev 5451) +++ trunk/doc/Change.log 2012-06-24 07:52:33 UTC (rev 5452) @@ -1,7 +1,9 @@ webERP Change Log -24/06/2012: Icedlava: Add ViewTopic and BookMark vars to some functions to take advantage of new Manual contextual help. Must be added before header.inc include. -24/06/2012: Icedlava: Adjust header.inc, ManualContents.php, ManualHeader.html to take Viewtopic and Bookmark parameters in displaying manual. Add ManualOutline.php file containing manual TOC, add CSS and rework all manual docs. Still to add $Viewtopic and $Bookmark to functions (eg see Stocks.php) +24/06/2012 Phil: Added tooltip/title showing long description on many scripts where short description is currently shown SelectOrderItems.php SelectCreditItems.php CreditInvoice.php DeliveryDetails.php CounterSales.php RecurringSalesOrders.php +24/06/2012 Icedlava: Add ViewTopic and BookMark vars to some functions to take advantage of new Manual contextual help. Must be added before header.inc include. +24/06/2012 Icedlava: Adjust header.inc, ManualContents.php, ManualHeader.html to take Viewtopic and Bookmark parameters in displaying manual. Add ManualOutline.php file containing manual TOC, add CSS and rework all manual docs. Still to add $Viewtopic and $Bookmark to functions (eg see Stocks.php) + 24/6/2012 Release 4.08.1 22/06/2012 Icedlava: Fixed bug preventing insert of new account section Modified: trunk/includes/DefineCartClass.php =================================================================== --- trunk/includes/DefineCartClass.php 2012-06-24 05:49:39 UTC (rev 5451) +++ trunk/includes/DefineCartClass.php 2012-06-24 07:52:33 UTC (rev 5452) @@ -77,6 +77,7 @@ function add_to_cart($StockID, $Qty, $Descr, + $LongDescr, $Price, $Disc=0, $UOM, @@ -116,6 +117,7 @@ $this->LineItems[$LineNumber] = new LineDetails($LineNumber, $StockID, $Descr, + $LongDescr, $Qty, $Price, $Disc, @@ -418,6 +420,7 @@ Var $LineNumber; Var $StockID; Var $ItemDescription; + Var $LongDescription; Var $Quantity; Var $Price; Var $DiscountPercent; @@ -448,6 +451,7 @@ function LineDetails ($LineNumber, $StockItem, $Descr, + $LongDescr, $Qty, $Prc, $DiscPercent, @@ -475,6 +479,7 @@ $this->LineNumber = $LineNumber; $this->StockID =$StockItem; $this->ItemDescription = $Descr; + $this->LongDescription = $LongDescr; $this->Quantity = $Qty; $this->Price = $Prc; $this->DiscountPercent = $DiscPercent; Modified: trunk/includes/SelectOrderItems_IntoCart.inc =================================================================== --- trunk/includes/SelectOrderItems_IntoCart.inc 2012-06-24 05:49:39 UTC (rev 5451) +++ trunk/includes/SelectOrderItems_IntoCart.inc 2012-06-24 07:52:33 UTC (rev 5452) @@ -32,6 +32,7 @@ if ($AlreadyOnThisOrder!=1){ $sql = "SELECT stockmaster.description, + stockmaster.longdescription, stockmaster.stockid, stockmaster.units, stockmaster.volume, @@ -133,6 +134,7 @@ $_SESSION['Items'.$identifier]->add_to_cart ($NewItem, $NewItemQty, $myItemRow['description'], + $myItemRow['longdescription'], $Price, $Discount, $myItemRow['units'], This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dai...@us...> - 2012-06-24 07:52:40
|
Revision: 5452 http://web-erp.svn.sourceforge.net/web-erp/?rev=5452&view=rev Author: daintree Date: 2012-06-24 07:52:33 +0000 (Sun, 24 Jun 2012) Log Message: ----------- added title/tooltip of long description to a number of stock scripts Modified Paths: -------------- trunk/ConfirmDispatch_Invoice.php trunk/CounterSales.php trunk/Credit_Invoice.php trunk/DeliveryDetails.php trunk/RecurringSalesOrders.php trunk/SelectCreditItems.php trunk/SelectOrderItems.php trunk/SelectProduct.php trunk/doc/Change.log trunk/includes/DefineCartClass.php trunk/includes/SelectOrderItems_IntoCart.inc Modified: trunk/ConfirmDispatch_Invoice.php =================================================================== --- trunk/ConfirmDispatch_Invoice.php 2012-06-24 05:49:39 UTC (rev 5451) +++ trunk/ConfirmDispatch_Invoice.php 2012-06-24 07:52:33 UTC (rev 5452) @@ -131,6 +131,7 @@ $LineItemsSQL = "SELECT stkcode, stockmaster.description, + stockmaster.longdescription, stockmaster.controlled, stockmaster.serialised, stockmaster.volume, @@ -167,6 +168,7 @@ $_SESSION['Items'.$identifier]->add_to_cart($myrow['stkcode'], $myrow['quantity'], $myrow['description'], + $myrow['longdescription'], $myrow['unitprice'], $myrow['discountpercent'], $myrow['units'], @@ -319,7 +321,7 @@ echo $RowStarter; echo '<td>'.$LnItm->StockID.'</td> - <td>'.$LnItm->ItemDescription.'</td> + <td title="'. $LnItm->LongDescription . '">' .$LnItm->ItemDescription.'</td> <td class="number">' . locale_number_format($LnItm->Quantity,$LnItm->DecimalPlaces) . '</td> <td>'.$LnItm->Units.'</td> <td class="number">' . locale_number_format($LnItm->QtyInv,$LnItm->DecimalPlaces) . '</td>'; Modified: trunk/CounterSales.php =================================================================== --- trunk/CounterSales.php 2012-06-24 05:49:39 UTC (rev 5451) +++ trunk/CounterSales.php 2012-06-24 07:52:33 UTC (rev 5452) @@ -783,7 +783,7 @@ echo '<input type="hidden" name="ItemDue_' . $OrderLine->LineNumber . '" value="'.$OrderLine->ItemDue.'" />'; echo '<a target="_blank" href="' . $rootpath . '/StockStatus.php?identifier='.$identifier . '&StockID=' . $OrderLine->StockID . '&DebtorNo=' . $_SESSION['Items'.$identifier]->DebtorNo . '">' . $OrderLine->StockID . '</a></td> - <td>' . $OrderLine->ItemDescription . '</td>'; + <td title="' . $OrderLine->LongDescription . '">' . $OrderLine->ItemDescription . '</td>'; echo '<td><input class="number" tabindex="2" type="text" name="Quantity_' . $OrderLine->LineNumber . '" size="6" maxlength="6" value="' . locale_number_format($OrderLine->Quantity,$OrderLine->DecimalPlaces) . '" />'; Modified: trunk/Credit_Invoice.php =================================================================== --- trunk/Credit_Invoice.php 2012-06-24 05:49:39 UTC (rev 5451) +++ trunk/Credit_Invoice.php 2012-06-24 07:52:33 UTC (rev 5452) @@ -99,6 +99,7 @@ $LineItemsSQL = "SELECT stockmoves.stkmoveno, stockmoves.stockid, stockmaster.description, + stockmaster.longdescription, stockmaster.volume, stockmaster.kgs, stockmaster.mbflag, @@ -136,6 +137,7 @@ $_SESSION['CreditItems']->add_to_cart($myrow['stockid'], $myrow['quantity'], $myrow['description'], + $myrow['longdescription'], $myrow['price'], $myrow['discountpercent'], $myrow['units'], @@ -329,7 +331,7 @@ $j++; echo '<tr '.$RowStarter.'><td>' . $LnItm->StockID . '</td> - <td>' . $LnItm->ItemDescription . '</td> + <td title="'. $LnItm->LongDescription . '">' . $LnItm->ItemDescription . '</td> <td class="number">' . locale_number_format($LnItm->Quantity,$LnItm->DecimalPlaces) . '</td> <td>' . $LnItm->Units . '</td>'; Modified: trunk/DeliveryDetails.php =================================================================== --- trunk/DeliveryDetails.php 2012-06-24 05:49:39 UTC (rev 5451) +++ trunk/DeliveryDetails.php 2012-06-24 07:52:33 UTC (rev 5452) @@ -865,7 +865,7 @@ } echo '<td>'.$StockItem->StockID.'</td> - <td>'.$StockItem->ItemDescription.'</td> + <td title="' . $StockItem->LongDescription . '">'.$StockItem->ItemDescription.'</td> <td class="number">'.$DisplayQuantity.'</td> <td>'.$StockItem->Units.'</td> <td class="number">'.$DisplayPrice.'</td> Modified: trunk/RecurringSalesOrders.php =================================================================== --- trunk/RecurringSalesOrders.php 2012-06-24 05:49:39 UTC (rev 5451) +++ trunk/RecurringSalesOrders.php 2012-06-24 07:52:33 UTC (rev 5452) @@ -105,6 +105,7 @@ /*need to look up customer name from debtors master then populate the line items array with the sales order details records */ $LineItemsSQL = "SELECT recurrsalesorderdetails.stkcode, stockmaster.description, + stockmaster.longdescription, stockmaster.volume, stockmaster.kgs, stockmaster.units, @@ -130,6 +131,7 @@ $_SESSION['Items'.$identifier]->add_to_cart($myrow['stkcode'], $myrow['quantity'], $myrow['description'], + $myrow['longdescription'], $myrow['unitprice'], $myrow['discountpercent'], $myrow['units'], @@ -347,7 +349,7 @@ } echo '<td>' . $StockItem->StockID . '</td> - <td>' . $StockItem->ItemDescription . '</td> + <td title="'. $StockItem->LongDescription . '">' . $StockItem->ItemDescription . '</td> <td class="number">' . $DisplayQuantity . '</td> <td>' . $StockItem->Units . '</td> <td class="number">' . $DisplayPrice . '</td> Modified: trunk/SelectCreditItems.php =================================================================== --- trunk/SelectCreditItems.php 2012-06-24 05:49:39 UTC (rev 5451) +++ trunk/SelectCreditItems.php 2012-06-24 07:52:33 UTC (rev 5452) @@ -442,6 +442,7 @@ if ($AlreadyOnThisCredit!=1){ $sql = "SELECT stockmaster.description, + stockmaster.longdescription, stockmaster.stockid, stockmaster.units, stockmaster.volume, @@ -466,6 +467,7 @@ if ($_SESSION['CreditItems'.$identifier]->add_to_cart ($myrow['stockid'], $NewItemQty, $myrow['description'], + $myrow['longdescription'], GetPrice ($_POST['NewItem'], $_SESSION['CreditItems'.$identifier]->DebtorNo, $_SESSION['CreditItems'.$identifier]->Branch, $db), @@ -608,6 +610,7 @@ if ($AlreadyOnThisCredit!=1){ $sql = "SELECT stockmaster.description, + stockmaster.longdescription, stockmaster.stockid, stockmaster.units, stockmaster.volume, @@ -632,6 +635,7 @@ if ($_SESSION['CreditItems'.$identifier]->add_to_cart ($myrow['stockid'], 1, $myrow['description'], + $myrow['longdescription'], GetPrice($_POST['NewItem'], $_SESSION['CreditItems'.$identifier]->DebtorNo, $_SESSION['CreditItems'.$identifier]->Branch, @@ -708,7 +712,7 @@ } echo $RowStarter . '<td>' . $LineItem->StockID . '</td> - <td>' . $LineItem->ItemDescription . '</td>'; + <td title="'. $LineItem->LongDescription . '">' . $LineItem->ItemDescription . '</td>'; if ($LineItem->Controlled==0){ echo '<td><input type="text" class="number" name="Quantity_' . $LineItem->LineNumber . '" maxlength="6" size="6" value="' . locale_number_format(round($LineItem->Quantity,$LineItem->DecimalPlaces),$LineItem->DecimalPlaces) . '" /></td>'; Modified: trunk/SelectOrderItems.php =================================================================== --- trunk/SelectOrderItems.php 2012-06-24 05:49:39 UTC (rev 5451) +++ trunk/SelectOrderItems.php 2012-06-24 07:52:33 UTC (rev 5452) @@ -190,6 +190,7 @@ $LineItemsSQL = "SELECT salesorderdetails.orderlineno, salesorderdetails.stkcode, stockmaster.description, + stockmaster.longdescription, stockmaster.volume, stockmaster.kgs, stockmaster.units, @@ -226,6 +227,7 @@ $_SESSION['Items'.$identifier]->add_to_cart($myrow['stkcode'], $myrow['quantity'], $myrow['description'], + $myrow['longdescription'], $myrow['unitprice'], $myrow['discountpercent'], $myrow['units'], @@ -747,6 +749,7 @@ if ($_POST['StockCat']=='All'){ $SQL = "SELECT stockmaster.stockid, stockmaster.description, + stockmaster.longdescription, stockmaster.units FROM stockmaster INNER JOIN stockcategory ON stockmaster.categoryid=stockcategory.categoryid @@ -758,6 +761,7 @@ } else { $SQL = "SELECT stockmaster.stockid, stockmaster.description, + stockmaster.longdescription, stockmaster.units FROM stockmaster INNER JOIN stockcategory ON stockmaster.categoryid=stockcategory.categoryid @@ -777,6 +781,7 @@ if ($_POST['StockCat']=='All'){ $SQL = "SELECT stockmaster.stockid, stockmaster.description, + stockmaster.longdescription, stockmaster.units FROM stockmaster INNER JOIN stockcategory ON stockmaster.categoryid=stockcategory.categoryid @@ -788,6 +793,7 @@ } else { $SQL = "SELECT stockmaster.stockid, stockmaster.description, + stockmaster.longdescription, stockmaster.units FROM stockmaster INNER JOIN stockcategory ON stockmaster.categoryid=stockcategory.categoryid @@ -803,6 +809,7 @@ if ($_POST['StockCat']=='All'){ $SQL = "SELECT stockmaster.stockid, stockmaster.description, + stockmaster.longdescription, stockmaster.units FROM stockmaster INNER JOIN stockcategory ON stockmaster.categoryid=stockcategory.categoryid @@ -813,6 +820,7 @@ } else { $SQL = "SELECT stockmaster.stockid, stockmaster.description, + stockmaster.longdescription, stockmaster.units FROM stockmaster INNER JOIN stockcategory ON stockmaster.categoryid=stockcategory.categoryid @@ -1391,7 +1399,7 @@ } echo '<a target="_blank" href="' . $rootpath . '/StockStatus.php?identifier='.$identifier . '&StockID=' . $OrderLine->StockID . '&DebtorNo=' . $_SESSION['Items'.$identifier]->DebtorNo . '">' . $OrderLine->StockID . '</a></td> - <td>' . $OrderLine->ItemDescription . '</td>'; + <td title="' . $OrderLine->LongDescription . '">' . $OrderLine->ItemDescription . '</td>'; echo '<td><input class="number" tabindex="2" type="text" name="Quantity_' . $OrderLine->LineNumber . '" size="6" maxlength="6" value="' . locale_number_format($OrderLine->Quantity,$OrderLine->DecimalPlaces) . '" />'; if ($QtyRemain != $QtyOrdered){ @@ -1484,6 +1492,7 @@ $SQL="SELECT stockmaster.units, stockmaster.description, + stockmaster.longdescription, stockmaster.stockid, salesorderdetails.stkcode, SUM(qtyinvoiced) salesqty @@ -1588,8 +1597,8 @@ $Available = $QOH - $DemandQty + $OnOrder; printf('<td>%s</td> + <td title="%s">%s</td> <td>%s</td> - <td>%s</td> <td class="number">%s</td> <td class="number">%s</td> <td class="number">%s</td> @@ -1599,6 +1608,7 @@ </td> </tr>', $myrow['stockid'], + $myrow['longdescription'], $myrow['description'], $myrow['units'], locale_number_format($QOH, $QOHRow['decimalplaces']), @@ -1775,8 +1785,8 @@ $Available = $QOH - $DemandQty + $OnOrder; printf('<td>%s</td> + <td title="%s">%s</td> <td>%s</td> - <td>%s</td> <td class="number">%s</td> <td class="number">%s</td> <td class="number">%s</td> @@ -1786,6 +1796,7 @@ </td> </tr>', $myrow['stockid'], + $myrow['longdescription'], $myrow['description'], $myrow['units'], locale_number_format($QOH,$QOHRow['decimalplaces']), @@ -1882,4 +1893,4 @@ echo '<script type="text/javascript">if (document.SelectParts) {defaultControl(document.SelectCustomer.CustKeywords);}</script>'; } include('includes/footer.inc'); -?> +?> \ No newline at end of file Modified: trunk/SelectProduct.php =================================================================== --- trunk/SelectProduct.php 2012-06-24 05:49:39 UTC (rev 5451) +++ trunk/SelectProduct.php 2012-06-24 07:52:33 UTC (rev 5452) @@ -53,6 +53,7 @@ $StockID = $_SESSION['SelectedStockItem']; } $result = DB_query("SELECT stockmaster.description, + stockmaster.longdescription, stockmaster.mbflag, stockcategory.stocktype, stockmaster.units, @@ -79,7 +80,7 @@ } echo '<table width="90%"> <tr> - <th colspan="3"><img src="' . $rootpath . '/css/' . $theme . '/images/inventory.png" title="' . _('Inventory') . '" alt="" /><b>' . ' ' . $StockID . ' - ' . $myrow['description'] . '</b> ' . $ItemStatus . '</th> + <th colspan="3"><img src="' . $rootpath . '/css/' . $theme . '/images/inventory.png" title="' . _('Inventory') . '" alt="" /><b title="' . $myrow['longdescription'] . '">' . ' ' . $StockID . ' - ' . $myrow['description'] . '</b> ' . $ItemStatus . '</th> </tr>'; echo '<tr> Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2012-06-24 05:49:39 UTC (rev 5451) +++ trunk/doc/Change.log 2012-06-24 07:52:33 UTC (rev 5452) @@ -1,7 +1,9 @@ webERP Change Log -24/06/2012: Icedlava: Add ViewTopic and BookMark vars to some functions to take advantage of new Manual contextual help. Must be added before header.inc include. -24/06/2012: Icedlava: Adjust header.inc, ManualContents.php, ManualHeader.html to take Viewtopic and Bookmark parameters in displaying manual. Add ManualOutline.php file containing manual TOC, add CSS and rework all manual docs. Still to add $Viewtopic and $Bookmark to functions (eg see Stocks.php) +24/06/2012 Phil: Added tooltip/title showing long description on many scripts where short description is currently shown SelectOrderItems.php SelectCreditItems.php CreditInvoice.php DeliveryDetails.php CounterSales.php RecurringSalesOrders.php +24/06/2012 Icedlava: Add ViewTopic and BookMark vars to some functions to take advantage of new Manual contextual help. Must be added before header.inc include. +24/06/2012 Icedlava: Adjust header.inc, ManualContents.php, ManualHeader.html to take Viewtopic and Bookmark parameters in displaying manual. Add ManualOutline.php file containing manual TOC, add CSS and rework all manual docs. Still to add $Viewtopic and $Bookmark to functions (eg see Stocks.php) + 24/6/2012 Release 4.08.1 22/06/2012 Icedlava: Fixed bug preventing insert of new account section Modified: trunk/includes/DefineCartClass.php =================================================================== --- trunk/includes/DefineCartClass.php 2012-06-24 05:49:39 UTC (rev 5451) +++ trunk/includes/DefineCartClass.php 2012-06-24 07:52:33 UTC (rev 5452) @@ -77,6 +77,7 @@ function add_to_cart($StockID, $Qty, $Descr, + $LongDescr, $Price, $Disc=0, $UOM, @@ -116,6 +117,7 @@ $this->LineItems[$LineNumber] = new LineDetails($LineNumber, $StockID, $Descr, + $LongDescr, $Qty, $Price, $Disc, @@ -418,6 +420,7 @@ Var $LineNumber; Var $StockID; Var $ItemDescription; + Var $LongDescription; Var $Quantity; Var $Price; Var $DiscountPercent; @@ -448,6 +451,7 @@ function LineDetails ($LineNumber, $StockItem, $Descr, + $LongDescr, $Qty, $Prc, $DiscPercent, @@ -475,6 +479,7 @@ $this->LineNumber = $LineNumber; $this->StockID =$StockItem; $this->ItemDescription = $Descr; + $this->LongDescription = $LongDescr; $this->Quantity = $Qty; $this->Price = $Prc; $this->DiscountPercent = $DiscPercent; Modified: trunk/includes/SelectOrderItems_IntoCart.inc =================================================================== --- trunk/includes/SelectOrderItems_IntoCart.inc 2012-06-24 05:49:39 UTC (rev 5451) +++ trunk/includes/SelectOrderItems_IntoCart.inc 2012-06-24 07:52:33 UTC (rev 5452) @@ -32,6 +32,7 @@ if ($AlreadyOnThisOrder!=1){ $sql = "SELECT stockmaster.description, + stockmaster.longdescription, stockmaster.stockid, stockmaster.units, stockmaster.volume, @@ -133,6 +134,7 @@ $_SESSION['Items'.$identifier]->add_to_cart ($NewItem, $NewItemQty, $myItemRow['description'], + $myItemRow['longdescription'], $Price, $Discount, $myItemRow['units'], This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dai...@us...> - 2012-06-24 08:14:38
|
Revision: 5453 http://web-erp.svn.sourceforge.net/web-erp/?rev=5453&view=rev Author: daintree Date: 2012-06-24 08:14:32 +0000 (Sun, 24 Jun 2012) Log Message: ----------- added a few bookmarks Modified Paths: -------------- trunk/AccountGroups.php trunk/BankAccounts.php trunk/Payments.php trunk/SelectProduct.php trunk/StockCategories.php trunk/Stocks.php trunk/doc/Manual/ManualGeneralLedger.html trunk/doc/Manual/ManualInventory.html trunk/includes/header.inc Modified: trunk/AccountGroups.php =================================================================== --- trunk/AccountGroups.php 2012-06-24 07:52:33 UTC (rev 5452) +++ trunk/AccountGroups.php 2012-06-24 08:14:32 UTC (rev 5453) @@ -5,7 +5,8 @@ include('includes/session.inc'); $title = _('Account Groups'); - +$ViewTopic= 'GeneralLedger'; +$BookMark = 'AccountGroups'; include('includes/header.inc'); include('includes/SQL_CommonFunctions.inc'); Modified: trunk/BankAccounts.php =================================================================== --- trunk/BankAccounts.php 2012-06-24 07:52:33 UTC (rev 5452) +++ trunk/BankAccounts.php 2012-06-24 08:14:32 UTC (rev 5453) @@ -5,7 +5,8 @@ include('includes/session.inc'); $title = _('Bank Accounts Maintenance'); - +$ViewTopic= 'GeneralLedger'; +$BookMark = 'BankAccounts'; include('includes/header.inc'); echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/money_add.png" title="' . _('Bank') . '" alt="" />' . ' ' . $title . '</p>'; Modified: trunk/Payments.php =================================================================== --- trunk/Payments.php 2012-06-24 07:52:33 UTC (rev 5452) +++ trunk/Payments.php 2012-06-24 08:14:32 UTC (rev 5453) @@ -6,7 +6,8 @@ include('includes/session.inc'); $title = _('Payment Entry'); - +$ViewTopic= 'GeneralLedger'; +$BookMark = 'BankAccountPayments'; include('includes/header.inc'); include('includes/SQL_CommonFunctions.inc'); Modified: trunk/SelectProduct.php =================================================================== --- trunk/SelectProduct.php 2012-06-24 07:52:33 UTC (rev 5452) +++ trunk/SelectProduct.php 2012-06-24 08:14:32 UTC (rev 5453) @@ -7,7 +7,9 @@ include ('includes/session.inc'); $title = _('Search Inventory Items'); /* webERP manual links before header.inc */ -$ViewTopic= "Inventory"; +$ViewTopic= 'Inventory'; +$BookMark = 'SelectingInventory'; + include ('includes/header.inc'); if (isset($_GET['StockID'])) { Modified: trunk/StockCategories.php =================================================================== --- trunk/StockCategories.php 2012-06-24 07:52:33 UTC (rev 5452) +++ trunk/StockCategories.php 2012-06-24 08:14:32 UTC (rev 5453) @@ -4,7 +4,8 @@ include('includes/session.inc'); $title = _('Stock Category Maintenance'); - +$ViewTopic= 'Inventory'; +$BookMark = 'InventoryCategories'; include('includes/header.inc'); echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/supplier.png" title="' . _('Inventory Adjustment') . '" alt="" />' . ' ' . $title . '</p>'; Modified: trunk/Stocks.php =================================================================== --- trunk/Stocks.php 2012-06-24 07:52:33 UTC (rev 5452) +++ trunk/Stocks.php 2012-06-24 08:14:32 UTC (rev 5453) @@ -6,8 +6,8 @@ $title = _('Item Maintenance'); $title = _('Item Maintenance'); /* webERP manual links before header.inc */ -$ViewTopic= "Inventory"; -$BookMark = "InventoryAddingItems"; +$ViewTopic= 'Inventory'; +$BookMark = 'InventoryAddingItems'; include('includes/header.inc'); include('includes/SQL_CommonFunctions.inc'); Modified: trunk/doc/Manual/ManualGeneralLedger.html =================================================================== --- trunk/doc/Manual/ManualGeneralLedger.html 2012-06-24 07:52:33 UTC (rev 5452) +++ trunk/doc/Manual/ManualGeneralLedger.html 2012-06-24 08:14:32 UTC (rev 5453) @@ -23,7 +23,7 @@ <a class="minitext" href="#top">⬆ Top</a> </div><!-- Help Begin: AccountGroups --> -<h2>Account Groups</h2> +<h2><a id="AccountGroups">Account Groups</a></h2> <p>The account group is the parent object of a general ledger account for someone who understands OO programming. Child accounts created inherit the properties of the account group - ie the account will be a profit and loss account if it belongs to an account group that is a balance sheet account, the child accounts will display in the trial balance (TB) together in the sequence determined by the account groups sequence in the trial balance (TB).</p> @@ -42,7 +42,7 @@ <p>A balance sheet account is one where only the balance at the end of the period concerned is of interest. A profit and loss is one where we are interested in the movement over the period. eg. Motor expenses we are not concerned with the balance at the end of the month so much as how much was spent over the period of the profit and loss. However, for a bank account we wish to know what we have now as a balance not the movements in the account. As noted accounts created as a member of an account group will inherit the properties of the account group ie if the account group is a balance sheet group then the accounts will be interpreted as balance sheet accounts.</p><!-- Help End: AccountGroups --> <!-- Help Begin: BankAccounts --> -<h2>Bank Accounts</h2> +<h2><a id="BankAccounts">Bank Accounts</a></h2> <p>Certain general ledger accounts can be defined as bank accounts - as many bank accounts as needed can be defined. At the time of defining a general ledger account as bank account the currency of the bank account must also be specified. General ledger accounts defined as bank accounts can be reconciled to bank statements using the matching facilities - all receipts and payments show in the currency of the bank account for easy matching off statments. Entries made to bank accounts using receipts or payments, also create a total receipt or payment, which is retained for the purposes of matching off the bank statements. Using the bank payments page, general ledger payments can be analysed to any number of other general ledger accounts, but only one entry to the bank account is made. This page also allows payments to supplier accounts to be created. Similarly, using the receipt entry page, a series of receipts from customers which may all have been banked together can be deposited as one amount to a bank account. There is only one amount appearing on the statement as the total of all these receipts, this bank account transaction is created and available for matching deposits off the bank statements.</p> @@ -55,7 +55,7 @@ <a class="minitext" href="#top">⬆ Top</a> </div> -<h2>Bank Account Payments</h2> +<h2><a id="BankAccountPayments">Bank Account Payments</a></h2> <p>From the general ledger tab, the first link under transactions is Bank Account Payments.</p> Modified: trunk/doc/Manual/ManualInventory.html =================================================================== --- trunk/doc/Manual/ManualInventory.html 2012-06-24 07:52:33 UTC (rev 5452) +++ trunk/doc/Manual/ManualInventory.html 2012-06-24 08:14:32 UTC (rev 5453) @@ -325,7 +325,7 @@ <a class="minitext" href="#top">⬆ Top</a> </div> - <h2>Selecting Inventory Items</h2> + <h2><a id="SelectingInventory">Selecting Inventory Items</a></h2> <p>From all pages in the system the main title bar has links to select from the critical tables in the system. Customers, inventory and suppliers. Clicking on the "Select Item" link takes the user directly to the inventory item selection page. In addition, from the menu, the Inventory tab has a link to "Modify or Delete an Inventory Item Or Maintain Pricing". Using either method, the select item or product page will show.</p> @@ -404,7 +404,7 @@ <a class="minitext" href="#top">⬆ Top</a> </div> - <h2>Inventory Categories</h2> + <h2><a id="InventoryCategories">Inventory Categories</a></h2> <p>Inventory Categories are the natural groupings which apply to certain types of stock. A business will normally have several distinct categories. E. g. A manufacturing jeweller might have stock categories for gold chain, silver chain, diamonds, rubies etc.</p> Modified: trunk/includes/header.inc =================================================================== --- trunk/includes/header.inc 2012-06-24 07:52:33 UTC (rev 5452) +++ trunk/includes/header.inc 2012-06-24 08:14:32 UTC (rev 5453) @@ -67,7 +67,7 @@ echo '<td class="quick_menu_tab" align="center"><a href="' . $rootpath . '/SelectSupplier.php"><span style="text-decoration:underline;">4</span> ' . _('Suppliers') . '</a></td>'; - $DefaultManualLink = '<td class="quick_menu_tab" align="center"><a rel="external" accesskey="8" href="' . $rootpath . '/doc/Manual/ManualContents.php'.$ViewTopic . $BookMark. '"><span style="text-decoration:underline;">8</span> ' . _('Manual') . '</a></td>'; + $DefaultManualLink = '<td class="quick_menu_tab" align="center"><a rel="external" accesskey="8" href="' . $rootpath . '/doc/Manual/ManualContents.php'. $ViewTopic . $BookMark. '"><span style="text-decoration:underline;">8</span> ' . _('Manual') . '</a></td>'; if (mb_substr($_SESSION['Language'],0,2) !='en'){ if (file_exists('locale/' . $_SESSION['Language'] . '/Manual/ManualContents.php')){ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dai...@us...> - 2012-06-24 08:14:38
|
Revision: 5453 http://web-erp.svn.sourceforge.net/web-erp/?rev=5453&view=rev Author: daintree Date: 2012-06-24 08:14:32 +0000 (Sun, 24 Jun 2012) Log Message: ----------- added a few bookmarks Modified Paths: -------------- trunk/AccountGroups.php trunk/BankAccounts.php trunk/Payments.php trunk/SelectProduct.php trunk/StockCategories.php trunk/Stocks.php trunk/doc/Manual/ManualGeneralLedger.html trunk/doc/Manual/ManualInventory.html trunk/includes/header.inc Modified: trunk/AccountGroups.php =================================================================== --- trunk/AccountGroups.php 2012-06-24 07:52:33 UTC (rev 5452) +++ trunk/AccountGroups.php 2012-06-24 08:14:32 UTC (rev 5453) @@ -5,7 +5,8 @@ include('includes/session.inc'); $title = _('Account Groups'); - +$ViewTopic= 'GeneralLedger'; +$BookMark = 'AccountGroups'; include('includes/header.inc'); include('includes/SQL_CommonFunctions.inc'); Modified: trunk/BankAccounts.php =================================================================== --- trunk/BankAccounts.php 2012-06-24 07:52:33 UTC (rev 5452) +++ trunk/BankAccounts.php 2012-06-24 08:14:32 UTC (rev 5453) @@ -5,7 +5,8 @@ include('includes/session.inc'); $title = _('Bank Accounts Maintenance'); - +$ViewTopic= 'GeneralLedger'; +$BookMark = 'BankAccounts'; include('includes/header.inc'); echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/money_add.png" title="' . _('Bank') . '" alt="" />' . ' ' . $title . '</p>'; Modified: trunk/Payments.php =================================================================== --- trunk/Payments.php 2012-06-24 07:52:33 UTC (rev 5452) +++ trunk/Payments.php 2012-06-24 08:14:32 UTC (rev 5453) @@ -6,7 +6,8 @@ include('includes/session.inc'); $title = _('Payment Entry'); - +$ViewTopic= 'GeneralLedger'; +$BookMark = 'BankAccountPayments'; include('includes/header.inc'); include('includes/SQL_CommonFunctions.inc'); Modified: trunk/SelectProduct.php =================================================================== --- trunk/SelectProduct.php 2012-06-24 07:52:33 UTC (rev 5452) +++ trunk/SelectProduct.php 2012-06-24 08:14:32 UTC (rev 5453) @@ -7,7 +7,9 @@ include ('includes/session.inc'); $title = _('Search Inventory Items'); /* webERP manual links before header.inc */ -$ViewTopic= "Inventory"; +$ViewTopic= 'Inventory'; +$BookMark = 'SelectingInventory'; + include ('includes/header.inc'); if (isset($_GET['StockID'])) { Modified: trunk/StockCategories.php =================================================================== --- trunk/StockCategories.php 2012-06-24 07:52:33 UTC (rev 5452) +++ trunk/StockCategories.php 2012-06-24 08:14:32 UTC (rev 5453) @@ -4,7 +4,8 @@ include('includes/session.inc'); $title = _('Stock Category Maintenance'); - +$ViewTopic= 'Inventory'; +$BookMark = 'InventoryCategories'; include('includes/header.inc'); echo '<p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/supplier.png" title="' . _('Inventory Adjustment') . '" alt="" />' . ' ' . $title . '</p>'; Modified: trunk/Stocks.php =================================================================== --- trunk/Stocks.php 2012-06-24 07:52:33 UTC (rev 5452) +++ trunk/Stocks.php 2012-06-24 08:14:32 UTC (rev 5453) @@ -6,8 +6,8 @@ $title = _('Item Maintenance'); $title = _('Item Maintenance'); /* webERP manual links before header.inc */ -$ViewTopic= "Inventory"; -$BookMark = "InventoryAddingItems"; +$ViewTopic= 'Inventory'; +$BookMark = 'InventoryAddingItems'; include('includes/header.inc'); include('includes/SQL_CommonFunctions.inc'); Modified: trunk/doc/Manual/ManualGeneralLedger.html =================================================================== --- trunk/doc/Manual/ManualGeneralLedger.html 2012-06-24 07:52:33 UTC (rev 5452) +++ trunk/doc/Manual/ManualGeneralLedger.html 2012-06-24 08:14:32 UTC (rev 5453) @@ -23,7 +23,7 @@ <a class="minitext" href="#top">⬆ Top</a> </div><!-- Help Begin: AccountGroups --> -<h2>Account Groups</h2> +<h2><a id="AccountGroups">Account Groups</a></h2> <p>The account group is the parent object of a general ledger account for someone who understands OO programming. Child accounts created inherit the properties of the account group - ie the account will be a profit and loss account if it belongs to an account group that is a balance sheet account, the child accounts will display in the trial balance (TB) together in the sequence determined by the account groups sequence in the trial balance (TB).</p> @@ -42,7 +42,7 @@ <p>A balance sheet account is one where only the balance at the end of the period concerned is of interest. A profit and loss is one where we are interested in the movement over the period. eg. Motor expenses we are not concerned with the balance at the end of the month so much as how much was spent over the period of the profit and loss. However, for a bank account we wish to know what we have now as a balance not the movements in the account. As noted accounts created as a member of an account group will inherit the properties of the account group ie if the account group is a balance sheet group then the accounts will be interpreted as balance sheet accounts.</p><!-- Help End: AccountGroups --> <!-- Help Begin: BankAccounts --> -<h2>Bank Accounts</h2> +<h2><a id="BankAccounts">Bank Accounts</a></h2> <p>Certain general ledger accounts can be defined as bank accounts - as many bank accounts as needed can be defined. At the time of defining a general ledger account as bank account the currency of the bank account must also be specified. General ledger accounts defined as bank accounts can be reconciled to bank statements using the matching facilities - all receipts and payments show in the currency of the bank account for easy matching off statments. Entries made to bank accounts using receipts or payments, also create a total receipt or payment, which is retained for the purposes of matching off the bank statements. Using the bank payments page, general ledger payments can be analysed to any number of other general ledger accounts, but only one entry to the bank account is made. This page also allows payments to supplier accounts to be created. Similarly, using the receipt entry page, a series of receipts from customers which may all have been banked together can be deposited as one amount to a bank account. There is only one amount appearing on the statement as the total of all these receipts, this bank account transaction is created and available for matching deposits off the bank statements.</p> @@ -55,7 +55,7 @@ <a class="minitext" href="#top">⬆ Top</a> </div> -<h2>Bank Account Payments</h2> +<h2><a id="BankAccountPayments">Bank Account Payments</a></h2> <p>From the general ledger tab, the first link under transactions is Bank Account Payments.</p> Modified: trunk/doc/Manual/ManualInventory.html =================================================================== --- trunk/doc/Manual/ManualInventory.html 2012-06-24 07:52:33 UTC (rev 5452) +++ trunk/doc/Manual/ManualInventory.html 2012-06-24 08:14:32 UTC (rev 5453) @@ -325,7 +325,7 @@ <a class="minitext" href="#top">⬆ Top</a> </div> - <h2>Selecting Inventory Items</h2> + <h2><a id="SelectingInventory">Selecting Inventory Items</a></h2> <p>From all pages in the system the main title bar has links to select from the critical tables in the system. Customers, inventory and suppliers. Clicking on the "Select Item" link takes the user directly to the inventory item selection page. In addition, from the menu, the Inventory tab has a link to "Modify or Delete an Inventory Item Or Maintain Pricing". Using either method, the select item or product page will show.</p> @@ -404,7 +404,7 @@ <a class="minitext" href="#top">⬆ Top</a> </div> - <h2>Inventory Categories</h2> + <h2><a id="InventoryCategories">Inventory Categories</a></h2> <p>Inventory Categories are the natural groupings which apply to certain types of stock. A business will normally have several distinct categories. E. g. A manufacturing jeweller might have stock categories for gold chain, silver chain, diamonds, rubies etc.</p> Modified: trunk/includes/header.inc =================================================================== --- trunk/includes/header.inc 2012-06-24 07:52:33 UTC (rev 5452) +++ trunk/includes/header.inc 2012-06-24 08:14:32 UTC (rev 5453) @@ -67,7 +67,7 @@ echo '<td class="quick_menu_tab" align="center"><a href="' . $rootpath . '/SelectSupplier.php"><span style="text-decoration:underline;">4</span> ' . _('Suppliers') . '</a></td>'; - $DefaultManualLink = '<td class="quick_menu_tab" align="center"><a rel="external" accesskey="8" href="' . $rootpath . '/doc/Manual/ManualContents.php'.$ViewTopic . $BookMark. '"><span style="text-decoration:underline;">8</span> ' . _('Manual') . '</a></td>'; + $DefaultManualLink = '<td class="quick_menu_tab" align="center"><a rel="external" accesskey="8" href="' . $rootpath . '/doc/Manual/ManualContents.php'. $ViewTopic . $BookMark. '"><span style="text-decoration:underline;">8</span> ' . _('Manual') . '</a></td>'; if (mb_substr($_SESSION['Language'],0,2) !='en'){ if (file_exists('locale/' . $_SESSION['Language'] . '/Manual/ManualContents.php')){ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |