You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Sumit Pandit (JIRA)" <ji...@apache.org> on 2008/05/14 13:37:55 UTC

[jira] Issue Comment Edited: (OFBIZ-1783) Junit test case for Purchase Invoices: editing, adding taxes and shipping charges and posting to GL...

    [ 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.