Sage MAS 90 and 200 Sage MAS 500 blogs Product Feedback Support Training
Reply
Contributor
lramirez
Posts: 26
Registered: 06-07-2011
0

Update existing Price Code Records (IM_PriceCode) with new Discount Markups using Visual Integrator

[ Edited ]

MAS 200 V4.4

 

I am having difficulty updating the DiscountMarkup1 field in the IM_PriceCode table using visual integrator. 

 

Here is the job definition:

 

Field NameTypeOperCol/PosLenMsk/Val
PriceCodeRecordSREPL11 
PriceCodeSREPL24 
CustomerPriceLevelSREPL31 
PricingMethodSASSn 1O
DiscountMarkup1NREPL416 

 

 

And here is a sample import file:

 

00001D200

 

 

Also, here is the Record tab definition:

 

DescriptionCol/PosStartLengthRelationValue
Standard Record1000011      =0


 

When I execute the job, it gives me the following error:

 "Cannot set DiscountMarkup1 until break quantity is set." 

 

Next, I modified the job to set the field BreakQuantity1 to the value of "1" and it gave me the following error when I executed the job:

"Cannot set BreakQuantity1 until previous break quantity is set".

 

Then, I modified the job to set all BreakQuantity fields to their current value and it kept giving me the same error "Cannot Set BreakQuantity until previous break quantity is set"

 

Any help would be vey much appreciated. Thank you.

Contributor
lramirez
Posts: 26
Registered: 06-07-2011
0

Re: Update existing Price Code Records (IM_PriceCode) with new Discount Markups using Visual Integra

Anyone have any idea of why it's not letting me update the DiscountMarkup fields in the IM_PriceCode table?

 

It would be a nightmare having to update all the price codes manually. Any help would be highly appreciated.

Regular Contributor
Gator
Posts: 272
Registered: 12-05-2008
0

Re: Update existing Price Code Records (IM_PriceCode) with new Discount Markups using Visual Integra

I believe the last BreakQuantity has to be "999999".

Contributor
lramirez
Posts: 26
Registered: 06-07-2011
0

Re: Update existing Price Code Records (IM_PriceCode) with new Discount Markups using Visual Integra

thanks for the reply. 

 

I set the last BreakQuantity to 999999 and it gave the same error message, "Cannot set break quantity until previous BreakQuantity is set".

 

I've tried setting all 5 BreakQuantities and it gives the same error message. I really don't know why it's not letting me import.

Super Contributor
DFeller
Posts: 2,944
Registered: 10-28-2008
0

Re: Update existing Price Code Records (IM_PriceCode) with new Discount Markups using Visual Integra

Did you put the break qty field BEFORE the discount field in your import job?

 

Dawn

Contributor
lramirez
Posts: 26
Registered: 06-07-2011
0

Re: Update existing Price Code Records (IM_PriceCode) with new Discount Markups using Visual Integra

Yes I did.

 

I am able to import new Price Code records, but not able modify existing ones.