Jump to content

This topic is 4902 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have been using "repeating fields" for the following calc. I am now switching to "Line Items" and my problem is this. The calc works fine for individual item pricing, but I need it to give me the Lb. Price for each item based upon the entire pounds of the order, not just the one line item. (each line item also has an order number unique to each order". Your help would be very appreciated as I'm a little over my head here.

Pound Sell Price

If(CasesOrderedSum = 0, TextToNum(""), If(Extend(Sales Detail::OrderType) = "Direct",

If(NetWtCalcSum <= Lb1 , SellLbCalc1, If(NetWtCalcSum >= Lb1 + 1 and

NetWtCalcSum <= Lb2 , SellLbCalc2, If(NetWtCalcSum >= Lb2 + 1 and

NetWtCalcSum <= Lb3 , SellLbCalc3, If(NetWtCalcSum >= Lb3 + 1 and

NetWtCalcSum <= Lb4 , SellLbCalc4, If(NetWtCalcSum >= Lb4 + 1 and

NetWtCalcSum <= Lb5 , SellLbCalc5, "Weight not Found!"))))),

If(Extend(Sales Detail::OrderType) = "FOB", PriceLbFOB,If(Extend(Sales Detail::OrderType) = "Warehouse" and PriceLbWhse = 0,

SellLbCalc1,PriceLbWhse))))

Thank you,

Harry

  • 11 years later...
Posted

I need it to give me the Lb. Price for each item based upon the entire pounds of the order,

Please explain the logic behind the calculation (your formula is incomprehensible, because we don't know what's what).

Posted

LOL!

@FMPierce - your enthusiasm for FM calcs is wonderful, but please pay attention to the date of the original post!

This topic is 4902 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.