Sales Order Lines with Modified Requested Ship Date in SalesOrderLineV2 Data Entity
-
Sales Order Lines with Modified Requested Ship Date in SalesOrderLineV2 Data Entity
Posted by DSC Communities on April 2, 2021 at 4:18 pm-
Tim Stutzman
MemberApril 2, 2021 at 4:18 PM
Hello,Found out today that when a user goes into a sales order and changes the Requested Ship Date on a particular order line, it generates what looks like another order line.Ā
Example two order lines in an orders:
I know it’s not really a new order line and the system must be doing this to show a change (maybe someone could also explain why D365 does this) and in the SalesOrderLineV2 data entity it shows up as two order lines with no way that I can tell that this is not an order line.Ā I use this data to publish to our external facing so customers can log in and see the status of their orders.Ā This came up because the customer said they didn’t order the quantities they viewed on the website.Ā Digging in and investigating, I realized that when you change the Requested Ship Date another record is created.Ā Does anyone know what data entity I need to know that this is a true order line?Ā I have looked at the SalesOrderLineV2 and SalesOrderLineCDS and there is nothing distinguishable between the lines to know so I don’t export duplicate sales order lines.Ā Will I need to create a custom entity for a unexposed table?
Any help would be appreciated.
Thanks,
Tim#DataManagement?? ?
——————————
Tim Stutzman
ERP Systems Manager
Pure Archery Group
Eugene OR
—————————— -
Hi Tim,
Ā Ā I didn’t think changing the ‘Requested Ship Date’ on a sales line would create a sales line.Ā I will try it myself in a little bit.Ā Do you have any custom code?Ā Do you happen to know what code creates this second line?Ā I believe the field you are referring to is SalesLine.ShippingDateRequested.Ā If I right click on the field and select ‘find all references’, I didn’t see in code where it would create a second line if this was changed; but I could be missing it.Ā Ā
For the moment, lets say it did create a second SalesLine record.Ā The SalesOrderLineV2 should include all of the sales line records.Ā I believe what you are saying is that the SalesOrderLineV2 is returning ALL of the sales lines, but you do not want to return the second ‘created’ sales lines.Ā Is that correct?Ā Instead of looking to make a change to the Data Entity, I recommend you figure out what code is causing a second sales line to be created, as that seems to be the core of the issue.Ā And I believe whatever process that is doing this may not be base Microsoft code.Ā Hopefully that helps some.——————————
Peter Ramer
Manager
RSM
Greenwood Village CO
——————————
——————————————- -
Tim Stutzman
MemberApril 5, 2021 at 5:26 PM
Hi Pete,We do not have any custom code.
If you select the sales order line > Sales order line menu item > Delivery schedule and then change the requested ship date after the sales order line has been entered originally.Ā Ā
When a user does this it creates two records in the SalesOrderLineV2 data entity.Ā It looks like two order lines but in reality it is only one still.Ā I see no fields in the data entity to tell me what are the real lines or modified lines.
Thanks,
Tim——————————
Tim Stutzman
ERP Systems Manager
Pure Archery Group
Eugene OR
——————————
——————————————- -
Colby Gallagher
MemberApril 6, 2021 at 7:46 AM
Ahh, you’re using delivery schedules.Ā Ā Are your users doing this intentionally for some reason, or is that the only way they know how to maintain dates on an SO line? These are intended to take an original SO line, of say 100 pcs, and split it into a number of child lines with different delivery dates and quantities.Ā They are not intended to be used just to change the requested ship date.Ā If you only need to change the requested ship date, just change that field on the SO line.——————————
Colby Gallagher
Managed Application Services Supervisor
RSM
OH
——————————
——————————————- -
Tim Stutzman
MemberApril 6, 2021 at 2:08 PM
Hi Colby,Thanks for your response.Ā The users are doing this because that’s they only way then know how to modify the SO Line and change the requested ship date.Ā Looks like they should be changing the Request Ship date under delivery for the sales order line.Ā Correct?
——————————
Tim Stutzman
ERP Systems Manager
Pure Archery Group
Eugene OR
——————————
——————————————- -
Colby Gallagher
MemberApril 6, 2021 at 10:43 PM
Hi Tim, yes that’s correct.Ā You can also use confirmed ship date if you want the visibility between requested and confirmed dates.——————————
Colby Gallagher
Managed Application Services Supervisor
RSM
OH
——————————
——————————————- -
Tim Stutzman
MemberApril 7, 2021 at 11:06 AM
Thank you Colby for your help!——————————
Tim Stutzman
ERP Systems Manager
Pure Archery Group
Eugene OR
——————————
——————————————-
DSC Communities replied 4 years, 5 months ago 1 Member · 0 Replies -
-
0 Replies
Sorry, there were no replies found.
The discussion ‘Sales Order Lines with Modified Requested Ship Date in SalesOrderLineV2 Data Entity’ is closed to new replies.