Level 2 Sprint 3 Module INV01 : Formula for Shipping Method
Hello !!,
I have been doing Level 2 Sprint 3 - INV01 Module and stuck on formula for Shipping Method as i am getting multiple type of errors while doing LOOKUPs.
In order to populate values for Shipping Method Line Item, I need to look into SYS07 Module(Distribution Center Details) for Default Shipping Line item looking up SYS08 SKU Details'.Code and SYS08 SKU Details'.Supplied By
Is my understanding of the flow is correct ? because i am getting error while trying to use this formula as below.
Please guide me further.
Thanks and Regards
Comments
-
Let's try to understand how does LOOKUPs work. When you construct a formula intending to use LOOKUP there are few things that you need to consider
- What are the Dimensions of Source Module?
- What are the Dimensions of Target Module?
- What is the format of the Mapping used in the Formula?
- What is the format of the Source and Target Line items ?
In your Case
Dimensions of Source Module SYS07 Distribution Center Details is sG3 Location:Distributon Center
Dimensions of Target Module is INV01 Inventory Ordering is P3 SKU
Format of the mapping has to be List or Time Period/Date
Format of Source & Target Line items has to be same
So here is a dimension mismatch. Now In order to pull values from Source Module to Target Module you want to find a connection that
you can use to pull the values - Here comes the SYS08 SKU Details module which is dimensioned by P3 SKU which has a line item called Distribution Center. Remember Format of this line item is very important, it has to be formatted as sG3 Location: Distribution Center and not TEXT or anything else. One last piece is about the format of the source line item, In our case it has to List format -Shipping Method and your Target Line item in INV01 module also should be formatted as List format- Shipping Method
Your formula construct should be
Source[LOOKUP: Mapping]
Here mapping has to be List formatted only. If you look at the error that you are receiving it clearly says that format other than List or Date being referenced. Hence the error
Hope that helps
Misbah
11 -
I thought I was following your guidance.
The mapping I had was SYS07 to SYS08 to INV01. I thought the formula below would get it done. However I get the error - Format of mapping used for lookup doesn't match any dimension of the source.
'SYS07 Distribution Center Details'.Default Shipping[LOOKUP: 'SYS08 SKU Details'.Code, LOOKUP: 'SYS08 SKU Details'.Product]
I double checked the format of the source and target both are lists. Please let me know where I have missed it.
0 -
Hi Jim,
Did you have this question figured? Below is the formula I tried, but I have no results showing. If you know how to solve this, would you please help? Thank you!
'SYS07 Distribution Center Details'.Default Shipping[LOOKUP: 'SYS08 SKU Details'.Code]
0 -
Perhaps you've figured out by now, the lookup item was wrong the formula should be :
'SYS07 Distribution Center Details'.Default Shipping[LOOKUP: 'SYS08 SKU Details'.Supplied By]
0 -
'SYS07 Distribution Center Details'.Default Shipping[LOOKUP: 'SYS08 SKU Details''.Distribution Center]4
-
Source[LOOKUP: Mapping]
I believe your source is correct, figure out the lookup: Mapping from SKU Details Module. Please note that it has to be Mapping has to be List of values referring distribution center.
0 -
I'm getting an error-"Mixed Data Types Used" with the below formula:-
'SYS07 Distribution Center Details'.Default Shipping (LOOKUP: 'SYS08 SKU Details'.Supplied By)Please help!
0 -
'SYS07 Distribution Center Details'.Default Shipping[LOOKUP: 'SYS08 SKU Details'.Supplied By]0
-
Appreciate your help, it ended up being a silly syntax error-I was using small brackets instead of the square ones!
Thanks!
Regards
Varuna
0