-
Type: Story
-
Status: Closed (View Workflow)
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:
-
Sprint:2021.R5 CloudLink Sprint 2
-
SCRUM Team:Globogym Purple Cobras
-
Story Points:2
-
Work Type Classification:Sustaining
We need to investigate and then try and implement in CloudLink a similar method to: SetSalesMainId() in SalesMainDetail.cs
public void SetSalesMainId() { const int ChildSalesMainIdStartingIndex = 10000; int newChildSalesMainId = ChildSalesMainIdStartingIndex; foreach (SalesMainDetail salesRecord in this) { if (salesRecord.SequenceNo.HasValue) { salesRecord.SalesMainID = salesRecord.SequenceNo.Value; if (SalesRecordIsAChild(salesRecord)) { salesRecord.SalesMainID = newChildSalesMainId; newChildSalesMainId++; } } } }
SalesMainId is the "PrimaryKey" in the DataSet used when sent up to eRetailer for processing.
Because CFA makes use of Item Modifiers ("IM") and Combos we'll need to ensure that the "ParentId"s of the SalesMainRecords are set correctly
- implements
-
CFAMX-14120 CloudLink - MVP
- Open
There are no Sub-Tasks for this issue.