Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/pgm/StoreItem.bbj b/pgm/StoreItem.bbj
- index 1823d92..f4de88a 100644
- --- a/pgm/StoreItem.bbj
- +++ b/pgm/StoreItem.bbj
- @@ -1337,6 +1337,16 @@ rem brand$=sqlfetch(ch, end=*next)
- methodend
- + method public BBjNumber sendSourcingInfo()
- + ::HttpRequest.bbj::HttpRequest.debug("BOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO")
- + ::HttpRequest.bbj::HttpRequest.debug("IN HAND" + str(#inHandStock))
- + ::HttpRequest.bbj::HttpRequest.debug("FACTORY STOCK" + str(#factoryStock))
- + if #factoryStock > 0 and #inHandStock = 0 then
- + methodret 1
- + endif
- + methodret 0
- + methodend
- +
- method public void addPromoCode(Promotion promotion!)
- ::HttpRequest.bbj::HttpRequest.debug("ADDING PROMO CODE" + promotion!.getPromoCode())
- it! = #promoCodes!.iterator()
- diff --git a/pgm/summary.bbj b/pgm/summary.bbj
- index 5bf112d..88e78e1 100644
- --- a/pgm/summary.bbj
- +++ b/pgm/summary.bbj
- @@ -253,7 +253,7 @@ REM *********************
- item! = cast(StoreItem,itm!.next())
- ::HttpRequest.bbj::HttpRequest.debug("TESTING LOOP")
- ::HttpRequest.bbj::HttpRequest.debug(str(item!.getSelectedPriceSchema()))
- - if item!.getSelectedPriceSchema()=4 then
- + if item!.sendSourcingInfo()=1 then
- PRECISION 5
- keyValuePairList! = new BBjVector()
- itemId$ = item!.getItemId()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement