Description |
*This issue relates to i21 Help Desk ticket:* [ HDTN-239996 - missing storage location|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-239996]
-I found another instance where there is a missing storage location. If there is a unit the location has to come along with it. This screws up my inventory. The invoice that created this is SI-81981, but it has alrady been paid and is in a past month with the financials done. Can you guys do a data fix to get this inventory to show as coming from the location: Wasco Seed Plant, storage location: wasco seed plant and storage unit: w4, like it was supposed to? W4 should have 369.59bu of SFSC008 rather then the two line shown below that add up to 369.59bu.-
!pastedImage_d148515_0.png|height=662,width=850!
*Currently* :
* In Sales > Invoice:
** When +Storage Unit+ is selected, the associated +Storage Location+ is populated. (this is correct)
** When +Storage Location+ is populated, the associated +Storage Unit+ is selected. (this is correct)
*** In either case, either of these fields may be manually deleted after the auto population and the invoice is allowed to post. (this is causing an issue)
*To Do:*
# Sales Order Screen: Display the following error upon converting to invoice if the +Storage Unit+ field is populated but the +Storage Location+ field is not.
## "The _Storage Location_ field is required if the _Storage Unit_ field is populated. Please review these fields for Item(s) (insert item(s)) and make the appropriate edits."
# Invoice Screen: Display the following error upon posting if the +Storage Unit+ field is populated but the +Storage Location+ field is not.
## "The _Storage Location_ field is required if the _Storage Unit_ field is populated. Please review these fields for Item(s) (insert item(s)) and make the appropriate edits."
!pastedImage_d148515_1.png|height=469,width=960!
!pastedImage_d148515_2.png|height=624,width=960!
*Acceptance Criteria:*
* Sales Order Screen:
** *GIVEN* that +neither+ the Storage Unit or Storage Location fields are populated *WHEN* the post command is executed *THEN* the invoice is allowed to post
** *GIVEN* that +both+ the Storage Unit and Storage Location fields are populated *WHEN* the post command is executed *THEN* the invoice is allowed to post
** *GIVEN* that the Storage Unit field is populated and Storage Location field is not populated *WHEN* the post command is executed *THEN* the invoice is not allowed to post and the error is thrown
** *GIVEN* that the Storage Location is populated and the Storage Unit is not populated *WHEN* the post command is executed *THEN* the invoice is allowed to post
* Invoice Screen:
** *GIVEN* that +neither+ the Storage Unit or Storage Location fields are populated *WHEN* the post command is executed *THEN* the invoice is allowed to post
** *GIVEN* that +both+ the Storage Unit and Storage Location fields are populated *WHEN* the post command is executed *THEN* the invoice is allowed to post
** *GIVEN* that the Storage Unit field is populated and Storage Location field is not populated *WHEN* the post command is executed *THEN* the invoice is not allowed to post and the error is thrown
** *GIVEN* that the Storage Location is populated and the Storage Unit is not populated *WHEN* the post command is executed *THEN* the invoice is allowed to post
!http://jira.irelyserver.com/browse/Export/CRM/d1ad52fb-49e2-42ae-ad9f-90b082404e8a.png!
|