Junit test case for Purchase Invoices: editing, adding taxes and shipping charges and posting to GL...
------------------------------------------------------------------------------------------------------ Key: OFBIZ-1783 URL: https://issues.apache.org/jira/browse/OFBIZ-1783 Project: OFBiz Issue Type: Sub-task Reporter: Sumit Pandit -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
[ https://issues.apache.org/jira/browse/OFBIZ-1783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12596731#action_12596731 ] Sumit Pandit commented on OFBIZ-1783: ------------------------------------- The purpose of the test case is to verify Automatic Accounting transactions it follows the following process :- 1. go to the accounting "View Invoice" screen (there is a link to the invoice also in the order detail screen) (https://localhost:8443/accounting/control/invoiceOverview?invoiceId=demo10001) 2. in the invoice screens, select the "Items" tab (https://localhost:8443/accounting/control/createInvoiceItem) 3. use the form at the bottom of the screen (" Add a new invoice Item") to enter taxes and charges; for example: 1. for taxes, select "invoice Item Type" = "Invoice Sales Tax", and enter the amount in the "unit price" 2. for shipping charges, select "invoice Item Type" = "Invoice Shipping and Handling", and enter the amount in the "unit price" 4. when the invoice in OFBiz is ready to be sent to the GL, click on the link "Status to Ready" (at the top of the screen) Verify following entry :- Cr ACCOUNTS _PAYABLE - "ACCOUNTS PAYABLE" 210000 - "ACCOUNTS PAYABLE" can be set by party/role Dr UNINVOICED _SHIP _RCPT - "UNINVOICED ITEM RECEIPT" 214000 - "UNINVOICED ITEM RECEIPTS" these are the products; this is the same account mapping set for "Inventory Receipts" Dr "TAXES" (invoice item type: PINV _SALES _TAX) 516100 - "PURCHASE ORDER ADJUSTMENTS" Dr "CHARGES" (invoice item type: PINV _SHIP _CHARGES) 510000 - "FREIGHT IN" > Junit test case for Purchase Invoices: editing, adding taxes and shipping charges and posting to GL... > ------------------------------------------------------------------------------------------------------ > > Key: OFBIZ-1783 > URL: https://issues.apache.org/jira/browse/OFBIZ-1783 > Project: OFBiz > Issue Type: Sub-task > Reporter: Sumit Pandit > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-1783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12596731#action_12596731 ] sumitp edited comment on OFBIZ-1783 at 5/14/08 4:37 AM: -------------------------------------------------------------- The purpose of the test case is to verify Automatic Accounting transactions on edit invoice and/or adding tax and/or adding shipping charges. it follows the following process :- 1. go to the accounting "View Invoice" screen (there is a link to the invoice also in the order detail screen) (https://localhost:8443/accounting/control/invoiceOverview?invoiceId=demo10001) 2. in the invoice screens, select the "Items" tab (https://localhost:8443/accounting/control/createInvoiceItem) 3. use the form at the bottom of the screen (" Add a new invoice Item") to enter taxes and charges; for example: 1. for taxes, select "invoice Item Type" = "Invoice Sales Tax", and enter the amount in the "unit price" 2. for shipping charges, select "invoice Item Type" = "Invoice Shipping and Handling", and enter the amount in the "unit price" 4. when the invoice in OFBiz is ready to be sent to the GL, click on the link "Status to Ready" (at the top of the screen) Verify following entry :- Cr ACCOUNTS _PAYABLE - "ACCOUNTS PAYABLE" 210000 - "ACCOUNTS PAYABLE" can be set by party/role Dr UNINVOICED _SHIP _RCPT - "UNINVOICED ITEM RECEIPT" 214000 - "UNINVOICED ITEM RECEIPTS" these are the products; this is the same account mapping set for "Inventory Receipts" Dr "TAXES" (invoice item type: PINV _SALES _TAX) 516100 - "PURCHASE ORDER ADJUSTMENTS" Dr "CHARGES" (invoice item type: PINV _SHIP _CHARGES) 510000 - "FREIGHT IN" was (Author: sumitp): The purpose of the test case is to verify Automatic Accounting transactions it follows the following process :- 1. go to the accounting "View Invoice" screen (there is a link to the invoice also in the order detail screen) (https://localhost:8443/accounting/control/invoiceOverview?invoiceId=demo10001) 2. in the invoice screens, select the "Items" tab (https://localhost:8443/accounting/control/createInvoiceItem) 3. use the form at the bottom of the screen (" Add a new invoice Item") to enter taxes and charges; for example: 1. for taxes, select "invoice Item Type" = "Invoice Sales Tax", and enter the amount in the "unit price" 2. for shipping charges, select "invoice Item Type" = "Invoice Shipping and Handling", and enter the amount in the "unit price" 4. when the invoice in OFBiz is ready to be sent to the GL, click on the link "Status to Ready" (at the top of the screen) Verify following entry :- Cr ACCOUNTS _PAYABLE - "ACCOUNTS PAYABLE" 210000 - "ACCOUNTS PAYABLE" can be set by party/role Dr UNINVOICED _SHIP _RCPT - "UNINVOICED ITEM RECEIPT" 214000 - "UNINVOICED ITEM RECEIPTS" these are the products; this is the same account mapping set for "Inventory Receipts" Dr "TAXES" (invoice item type: PINV _SALES _TAX) 516100 - "PURCHASE ORDER ADJUSTMENTS" Dr "CHARGES" (invoice item type: PINV _SHIP _CHARGES) 510000 - "FREIGHT IN" > Junit test case for Purchase Invoices: editing, adding taxes and shipping charges and posting to GL... > ------------------------------------------------------------------------------------------------------ > > Key: OFBIZ-1783 > URL: https://issues.apache.org/jira/browse/OFBIZ-1783 > Project: OFBiz > Issue Type: Sub-task > Reporter: Sumit Pandit > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-1783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sumit Pandit updated OFBIZ-1783: -------------------------------- Attachment: TestCaseForEditPOInvoice.patch Here is the patch for the issue, kindly have a look on it. thanks. > Junit test case for Purchase Invoices: editing, adding taxes and shipping charges and posting to GL... > ------------------------------------------------------------------------------------------------------ > > Key: OFBIZ-1783 > URL: https://issues.apache.org/jira/browse/OFBIZ-1783 > Project: OFBiz > Issue Type: Sub-task > Reporter: Sumit Pandit > Attachments: TestCaseForEditPOInvoice.patch > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-1783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12596731#action_12596731 ] sumitp edited comment on OFBIZ-1783 at 5/21/08 6:07 AM: -------------------------------------------------------------- Based On write-ups are provided by Jacopo. The purpose of the test case is to verify Automatic Accounting transactions on edit invoice and/or adding tax and/or adding shipping charges. it follows the following process :- 1. go to the accounting "View Invoice" screen (there is a link to the invoice also in the order detail screen) (https://localhost:8443/accounting/control/invoiceOverview?invoiceId=demo10001) 2. in the invoice screens, select the "Items" tab (https://localhost:8443/accounting/control/createInvoiceItem) 3. use the form at the bottom of the screen (" Add a new invoice Item") to enter taxes and charges; for example: 1. for taxes, select "invoice Item Type" = "Invoice Sales Tax", and enter the amount in the "unit price" 2. for shipping charges, select "invoice Item Type" = "Invoice Shipping and Handling", and enter the amount in the "unit price" 4. when the invoice in OFBiz is ready to be sent to the GL, click on the link "Status to Ready" (at the top of the screen) Verify following entry :- Cr ACCOUNTS _PAYABLE - "ACCOUNTS PAYABLE" 210000 - "ACCOUNTS PAYABLE" can be set by party/role Dr UNINVOICED _SHIP _RCPT - "UNINVOICED ITEM RECEIPT" 214000 - "UNINVOICED ITEM RECEIPTS" these are the products; this is the same account mapping set for "Inventory Receipts" Dr "TAXES" (invoice item type: PINV _SALES _TAX) 516100 - "PURCHASE ORDER ADJUSTMENTS" Dr "CHARGES" (invoice item type: PINV _SHIP _CHARGES) 510000 - "FREIGHT IN" was (Author: sumitp): The purpose of the test case is to verify Automatic Accounting transactions on edit invoice and/or adding tax and/or adding shipping charges. it follows the following process :- 1. go to the accounting "View Invoice" screen (there is a link to the invoice also in the order detail screen) (https://localhost:8443/accounting/control/invoiceOverview?invoiceId=demo10001) 2. in the invoice screens, select the "Items" tab (https://localhost:8443/accounting/control/createInvoiceItem) 3. use the form at the bottom of the screen (" Add a new invoice Item") to enter taxes and charges; for example: 1. for taxes, select "invoice Item Type" = "Invoice Sales Tax", and enter the amount in the "unit price" 2. for shipping charges, select "invoice Item Type" = "Invoice Shipping and Handling", and enter the amount in the "unit price" 4. when the invoice in OFBiz is ready to be sent to the GL, click on the link "Status to Ready" (at the top of the screen) Verify following entry :- Cr ACCOUNTS _PAYABLE - "ACCOUNTS PAYABLE" 210000 - "ACCOUNTS PAYABLE" can be set by party/role Dr UNINVOICED _SHIP _RCPT - "UNINVOICED ITEM RECEIPT" 214000 - "UNINVOICED ITEM RECEIPTS" these are the products; this is the same account mapping set for "Inventory Receipts" Dr "TAXES" (invoice item type: PINV _SALES _TAX) 516100 - "PURCHASE ORDER ADJUSTMENTS" Dr "CHARGES" (invoice item type: PINV _SHIP _CHARGES) 510000 - "FREIGHT IN" > Junit test case for Purchase Invoices: editing, adding taxes and shipping charges and posting to GL... > ------------------------------------------------------------------------------------------------------ > > Key: OFBIZ-1783 > URL: https://issues.apache.org/jira/browse/OFBIZ-1783 > Project: OFBiz > Issue Type: Sub-task > Reporter: Sumit Pandit > Attachments: TestCaseForEditPOInvoice.patch > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-1783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vikas Mayur closed OFBIZ-1783. ------------------------------ Resolution: Fixed Thanks Sumit and others, Patch is in trunk rev. 658688 - Vikas > Junit test case for Purchase Invoices: editing, adding taxes and shipping charges and posting to GL... > ------------------------------------------------------------------------------------------------------ > > Key: OFBIZ-1783 > URL: https://issues.apache.org/jira/browse/OFBIZ-1783 > Project: OFBiz > Issue Type: Sub-task > Reporter: Sumit Pandit > Attachments: TestCaseForEditPOInvoice.patch > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-1783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vikas Mayur reassigned OFBIZ-1783: ---------------------------------- Assignee: Vikas Mayur > Junit test case for Purchase Invoices: editing, adding taxes and shipping charges and posting to GL... > ------------------------------------------------------------------------------------------------------ > > Key: OFBIZ-1783 > URL: https://issues.apache.org/jira/browse/OFBIZ-1783 > Project: OFBiz > Issue Type: Sub-task > Reporter: Sumit Pandit > Assignee: Vikas Mayur > Attachments: TestCaseForEditPOInvoice.patch > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-1783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12606987#action_12606987 ] [hidden email] commented on OFBIZ-1783: ------------------------------------------------- Hi We are try to create a sales invoice but in that sales tax is not getting calculated ...its showing sales tax as 0.00 ..we have specify the sales tax also..but dont knwo why its not getting calculated in invoice inspite we have mentioned the tax rate in ACcounting-->tax authorities-->tax authority-->product rates. Please let me know the solution for it asap.Please email the soln if u can help me at [hidden email]. Thanks, ankur > Junit test case for Purchase Invoices: editing, adding taxes and shipping charges and posting to GL... > ------------------------------------------------------------------------------------------------------ > > Key: OFBIZ-1783 > URL: https://issues.apache.org/jira/browse/OFBIZ-1783 > Project: OFBiz > Issue Type: Sub-task > Reporter: Sumit Pandit > Assignee: Vikas Mayur > Attachments: TestCaseForEditPOInvoice.patch > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-1783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adam Heath reopened OFBIZ-1783: ------------------------------- While the patch has been applied, the test case actually fails. It's looking for an invoice with an id of 10000, which doesn't exist. > Junit test case for Purchase Invoices: editing, adding taxes and shipping charges and posting to GL... > ------------------------------------------------------------------------------------------------------ > > Key: OFBIZ-1783 > URL: https://issues.apache.org/jira/browse/OFBIZ-1783 > Project: OFBiz > Issue Type: Sub-task > Reporter: Sumit Pandit > Assignee: Vikas Mayur > Attachments: TestCaseForEditPOInvoice.patch > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
Free forum by Nabble | Edit this page |