Users - QuickshipInstockItems

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Users - QuickshipInstockItems

Fred Forester-2

Hi All,

I created a new service called QuickshipInstockItems. It is modeled
after quickShipEntireOrder except only instock items are selected.
also had to make similar changes to a copy of
getOrderItemShipGroupLists. After the new service runs everything looks
correct as far as the shipments and the order however I see these info
messages in the log and have a feeling I'm still missing something.

the messages appear after calling createShipmentForFacilityAndShipGroup
which you can see from a log message I added before calling. the
messages of interest contain "Got false for condition:...."

any help/advice would be appreciated.

Thanx
Fred


353901[                Log.java:103:INFO ] Calling
createShipmentForFacilityAndShipGroup
353910[                Log.java:103:INFO ]
createShipmentForFacilityAndShipGroup orderItemListByShGrpMap.00001
353921[       SequenceUtil.java:263:INFO ] Got bank of sequenced IDs for
[Shipment]; curSeqId=10050, maxSeqId=10060, bankSize=10
353979[            UtilXml.java:242:DEBUG] XML Read 0.047s:
file:/home/devj/ofbiz/soldiercity/workeffort/script/org/ofbiz/workeffort/workeffo
rt/WorkEffortSimpleServices.xml
354018[       SequenceUtil.java:263:INFO ] Got bank of sequenced IDs for
[WorkEffort]; curSeqId=10050, maxSeqId=10060, bankSize=10
354047[     ServiceEcaRule.java:134:INFO ] Running Service ECA Service:
quickAssignPartyToWorkEffort, triggered by rule on Service: createWor
kEffort
354060[  ServiceDispatcher.java:447:DEBUG] [[Sync service finished-
total:0.011,since last(Begin):0.011]] - 'order / quickAssignPartyToWorkEf
fort'
354062[ServiceEcaCondition.java:137:WARN ] From Field
(communicationEventId) is not found in context for createWorkEffort,
defaulting to null
.
354064[     ServiceEcaRule.java:118:INFO ] Got false for condition:
[null][][communicationEventId][is-not-empty][null][][true][String][]
354065[  ServiceDispatcher.java:447:DEBUG] [[Sync service finished-
total:0.136,since last(Begin):0.136]] - 'order / createWorkEffort'
354075[     ServiceEcaRule.java:134:INFO ] Running Service ECA Service:
quickAssignPartyToWorkEffort, triggered by rule on Service: createWor
kEffort
354083[  ServiceDispatcher.java:447:DEBUG] [[Sync service finished-
total:0.0060,since last(Begin):0.0060]] - 'order / quickAssignPartyToWork
Effort'
354085[ServiceEcaCondition.java:137:WARN ] From Field
(communicationEventId) is not found in context for createWorkEffort,
defaulting to null
.
354108[     ServiceEcaRule.java:118:INFO ] Got false for condition:
[null][][communicationEventId][is-not-empty][null][][true][String][]
354110[  ServiceDispatcher.java:447:DEBUG] [[Sync service finished-
total:0.043,since last(Begin):0.043]] - 'order / createWorkEffort'
354139[     ServiceEcaRule.java:118:INFO ] Got false for condition:
[null][][statusId][equals][null][SHIPMENT_SCHEDULED][true][String][]
354141[     ServiceEcaRule.java:134:INFO ] Running Service ECA Service:
setShipmentSettingsFromFacilities, triggered by rule on Service: crea
teShipment
354160[      FieldToResult.java:75 :WARN ] Field value not found with
name lookedUpValue.destinationFacilityId in Map with name
354171[     ServiceEcaRule.java:118:INFO ] Got false for condition:
[null][][statusId][equals][null][SHIPMENT_PACKED][true][String][]
354173[     ServiceEcaRule.java:118:INFO ] Got false for condition:
[null][][statusId][equals][null][PURCH_SHIP_RECEIVED][true][String][]
354175[     ServiceEcaRule.java:118:INFO ] Got false for condition:
[null][][statusId][equals][null][SHIPMENT_SCHEDULED][true][String][]
354177[     ServiceEcaRule.java:118:INFO ] Got false for condition:
[null][][originFacilityId][not-equals][][oldOriginFacilityId][false][Stri
ng][]
354178[     ServiceEcaRule.java:118:INFO ] Got false for condition:
[null][][destinationFacilityId][is-not-empty][null][][true][String][]
354180[     ServiceEcaRule.java:118:INFO ] Got false for condition:
[null][][primaryOrderId][not-equals][][oldPrimaryOrderId][false][String][
]
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - QuickshipInstockItems

Si Chen-2
Fred,

Would you be interested in contributing this back to OFBiz?  I think
it'd be a pretty good feature.  If so, could you create a JIRA issue
with your code sample?

Si

Fred Forester wrote:

> Hi All,
>
> I created a new service called QuickshipInstockItems. It is modeled
> after quickShipEntireOrder except only instock items are selected.
> also had to make similar changes to a copy of
> getOrderItemShipGroupLists. After the new service runs everything looks
> correct as far as the shipments and the order however I see these info
> messages in the log and have a feeling I'm still missing something.
>
> the messages appear after calling createShipmentForFacilityAndShipGroup
> which you can see from a log message I added before calling. the
> messages of interest contain "Got false for condition:...."
>
> any help/advice would be appreciated.
>
> Thanx
> Fred
>
>
> 353901[                Log.java:103:INFO ] Calling
> createShipmentForFacilityAndShipGroup
> 353910[                Log.java:103:INFO ]
> createShipmentForFacilityAndShipGroup orderItemListByShGrpMap.00001
> 353921[       SequenceUtil.java:263:INFO ] Got bank of sequenced IDs for
> [Shipment]; curSeqId=10050, maxSeqId=10060, bankSize=10
> 353979[            UtilXml.java:242:DEBUG] XML Read 0.047s:
> file:/home/devj/ofbiz/soldiercity/workeffort/script/org/ofbiz/workeffort/workeffo
> rt/WorkEffortSimpleServices.xml
> 354018[       SequenceUtil.java:263:INFO ] Got bank of sequenced IDs for
> [WorkEffort]; curSeqId=10050, maxSeqId=10060, bankSize=10
> 354047[     ServiceEcaRule.java:134:INFO ] Running Service ECA Service:
> quickAssignPartyToWorkEffort, triggered by rule on Service: createWor
> kEffort
> 354060[  ServiceDispatcher.java:447:DEBUG] [[Sync service finished-
> total:0.011,since last(Begin):0.011]] - 'order / quickAssignPartyToWorkEf
> fort'
> 354062[ServiceEcaCondition.java:137:WARN ] From Field
> (communicationEventId) is not found in context for createWorkEffort,
> defaulting to null
> .
> 354064[     ServiceEcaRule.java:118:INFO ] Got false for condition:
> [null][][communicationEventId][is-not-empty][null][][true][String][]
> 354065[  ServiceDispatcher.java:447:DEBUG] [[Sync service finished-
> total:0.136,since last(Begin):0.136]] - 'order / createWorkEffort'
> 354075[     ServiceEcaRule.java:134:INFO ] Running Service ECA Service:
> quickAssignPartyToWorkEffort, triggered by rule on Service: createWor
> kEffort
> 354083[  ServiceDispatcher.java:447:DEBUG] [[Sync service finished-
> total:0.0060,since last(Begin):0.0060]] - 'order / quickAssignPartyToWork
> Effort'
> 354085[ServiceEcaCondition.java:137:WARN ] From Field
> (communicationEventId) is not found in context for createWorkEffort,
> defaulting to null
> .
> 354108[     ServiceEcaRule.java:118:INFO ] Got false for condition:
> [null][][communicationEventId][is-not-empty][null][][true][String][]
> 354110[  ServiceDispatcher.java:447:DEBUG] [[Sync service finished-
> total:0.043,since last(Begin):0.043]] - 'order / createWorkEffort'
> 354139[     ServiceEcaRule.java:118:INFO ] Got false for condition:
> [null][][statusId][equals][null][SHIPMENT_SCHEDULED][true][String][]
> 354141[     ServiceEcaRule.java:134:INFO ] Running Service ECA Service:
> setShipmentSettingsFromFacilities, triggered by rule on Service: crea
> teShipment
> 354160[      FieldToResult.java:75 :WARN ] Field value not found with
> name lookedUpValue.destinationFacilityId in Map with name
> 354171[     ServiceEcaRule.java:118:INFO ] Got false for condition:
> [null][][statusId][equals][null][SHIPMENT_PACKED][true][String][]
> 354173[     ServiceEcaRule.java:118:INFO ] Got false for condition:
> [null][][statusId][equals][null][PURCH_SHIP_RECEIVED][true][String][]
> 354175[     ServiceEcaRule.java:118:INFO ] Got false for condition:
> [null][][statusId][equals][null][SHIPMENT_SCHEDULED][true][String][]
> 354177[     ServiceEcaRule.java:118:INFO ] Got false for condition:
> [null][][originFacilityId][not-equals][][oldOriginFacilityId][false][Stri
> ng][]
> 354178[     ServiceEcaRule.java:118:INFO ] Got false for condition:
> [null][][destinationFacilityId][is-not-empty][null][][true][String][]
> 354180[     ServiceEcaRule.java:118:INFO ] Got false for condition:
> [null][][primaryOrderId][not-equals][][oldPrimaryOrderId][false][String][
> ]
>  
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users
>
>
>  

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - QuickshipInstockItems

Fred Forester-2

Sure I'll put together what I have now. might not get to it till later
tonight or tomorrow.

but... are those messages just info or is something missing somewhere
datawise?


Si Chen wrote:

> Fred,
>
> Would you be interested in contributing this back to OFBiz?  I think
> it'd be a pretty good feature.  If so, could you create a JIRA issue
> with your code sample?
>
> Si
>
> Fred Forester wrote:
>
>>Hi All,
>>
>>I created a new service called QuickshipInstockItems. It is modeled
>>after quickShipEntireOrder except only instock items are selected.
>>also had to make similar changes to a copy of
>>getOrderItemShipGroupLists. After the new service runs everything looks
>>correct as far as the shipments and the order however I see these info
>>messages in the log and have a feeling I'm still missing something.
>>
>>the messages appear after calling createShipmentForFacilityAndShipGroup
>>which you can see from a log message I added before calling. the
>>messages of interest contain "Got false for condition:...."
>>
>>any help/advice would be appreciated.
>>
>>Thanx
>>Fred
>>
>>
>>353901[                Log.java:103:INFO ] Calling
>>createShipmentForFacilityAndShipGroup
>>353910[                Log.java:103:INFO ]
>>createShipmentForFacilityAndShipGroup orderItemListByShGrpMap.00001
>>353921[       SequenceUtil.java:263:INFO ] Got bank of sequenced IDs for
>>[Shipment]; curSeqId=10050, maxSeqId=10060, bankSize=10
>>353979[            UtilXml.java:242:DEBUG] XML Read 0.047s:
>>file:/home/devj/ofbiz/soldiercity/workeffort/script/org/ofbiz/workeffort/workeffo
>>rt/WorkEffortSimpleServices.xml
>>354018[       SequenceUtil.java:263:INFO ] Got bank of sequenced IDs for
>>[WorkEffort]; curSeqId=10050, maxSeqId=10060, bankSize=10
>>354047[     ServiceEcaRule.java:134:INFO ] Running Service ECA Service:
>>quickAssignPartyToWorkEffort, triggered by rule on Service: createWor
>>kEffort
>>354060[  ServiceDispatcher.java:447:DEBUG] [[Sync service finished-
>>total:0.011,since last(Begin):0.011]] - 'order / quickAssignPartyToWorkEf
>>fort'
>>354062[ServiceEcaCondition.java:137:WARN ] From Field
>>(communicationEventId) is not found in context for createWorkEffort,
>>defaulting to null
>>.
>>354064[     ServiceEcaRule.java:118:INFO ] Got false for condition:
>>[null][][communicationEventId][is-not-empty][null][][true][String][]
>>354065[  ServiceDispatcher.java:447:DEBUG] [[Sync service finished-
>>total:0.136,since last(Begin):0.136]] - 'order / createWorkEffort'
>>354075[     ServiceEcaRule.java:134:INFO ] Running Service ECA Service:
>>quickAssignPartyToWorkEffort, triggered by rule on Service: createWor
>>kEffort
>>354083[  ServiceDispatcher.java:447:DEBUG] [[Sync service finished-
>>total:0.0060,since last(Begin):0.0060]] - 'order / quickAssignPartyToWork
>>Effort'
>>354085[ServiceEcaCondition.java:137:WARN ] From Field
>>(communicationEventId) is not found in context for createWorkEffort,
>>defaulting to null
>>.
>>354108[     ServiceEcaRule.java:118:INFO ] Got false for condition:
>>[null][][communicationEventId][is-not-empty][null][][true][String][]
>>354110[  ServiceDispatcher.java:447:DEBUG] [[Sync service finished-
>>total:0.043,since last(Begin):0.043]] - 'order / createWorkEffort'
>>354139[     ServiceEcaRule.java:118:INFO ] Got false for condition:
>>[null][][statusId][equals][null][SHIPMENT_SCHEDULED][true][String][]
>>354141[     ServiceEcaRule.java:134:INFO ] Running Service ECA Service:
>>setShipmentSettingsFromFacilities, triggered by rule on Service: crea
>>teShipment
>>354160[      FieldToResult.java:75 :WARN ] Field value not found with
>>name lookedUpValue.destinationFacilityId in Map with name
>>354171[     ServiceEcaRule.java:118:INFO ] Got false for condition:
>>[null][][statusId][equals][null][SHIPMENT_PACKED][true][String][]
>>354173[     ServiceEcaRule.java:118:INFO ] Got false for condition:
>>[null][][statusId][equals][null][PURCH_SHIP_RECEIVED][true][String][]
>>354175[     ServiceEcaRule.java:118:INFO ] Got false for condition:
>>[null][][statusId][equals][null][SHIPMENT_SCHEDULED][true][String][]
>>354177[     ServiceEcaRule.java:118:INFO ] Got false for condition:
>>[null][][originFacilityId][not-equals][][oldOriginFacilityId][false][Stri
>>ng][]
>>354178[     ServiceEcaRule.java:118:INFO ] Got false for condition:
>>[null][][destinationFacilityId][is-not-empty][null][][true][String][]
>>354180[     ServiceEcaRule.java:118:INFO ] Got false for condition:
>>[null][][primaryOrderId][not-equals][][oldPrimaryOrderId][false][String][
>>]
>>
>>_______________________________________________
>>Users mailing list
>>[hidden email]
>>http://lists.ofbiz.org/mailman/listinfo/users
>>
>>
>>  
>
>
>  
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users
>
>
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - QuickshipInstockItems

Si Chen-2
Those are for SECAs and mostly mean that a particular condition was not met.  Now, was an invoice created on your order?

Fred Forester wrote:
Sure I'll put together what I have now. might not get to it till later 
tonight or tomorrow.

but... are those messages just info or is something missing somewhere 
datawise?


Si Chen wrote:
  
Fred,

Would you be interested in contributing this back to OFBiz?  I think 
it'd be a pretty good feature.  If so, could you create a JIRA issue 
with your code sample?

Si

Fred Forester wrote:

    
Hi All,

I created a new service called QuickshipInstockItems. It is modeled 
after quickShipEntireOrder except only instock items are selected.
also had to make similar changes to a copy of 
getOrderItemShipGroupLists. After the new service runs everything looks
correct as far as the shipments and the order however I see these info 
messages in the log and have a feeling I'm still missing something.

the messages appear after calling createShipmentForFacilityAndShipGroup 
which you can see from a log message I added before calling. the 
messages of interest contain "Got false for condition:...."

any help/advice would be appreciated.

Thanx
Fred


353901[                Log.java:103:INFO ] Calling 
createShipmentForFacilityAndShipGroup
353910[                Log.java:103:INFO ] 
createShipmentForFacilityAndShipGroup orderItemListByShGrpMap.00001
353921[       SequenceUtil.java:263:INFO ] Got bank of sequenced IDs for 
[Shipment]; curSeqId=10050, maxSeqId=10060, bankSize=10
353979[            UtilXml.java:242:DEBUG] XML Read 0.047s: 
file:/home/devj/ofbiz/soldiercity/workeffort/script/org/ofbiz/workeffort/workeffo
rt/WorkEffortSimpleServices.xml
354018[       SequenceUtil.java:263:INFO ] Got bank of sequenced IDs for 
[WorkEffort]; curSeqId=10050, maxSeqId=10060, bankSize=10
354047[     ServiceEcaRule.java:134:INFO ] Running Service ECA Service: 
quickAssignPartyToWorkEffort, triggered by rule on Service: createWor
kEffort
354060[  ServiceDispatcher.java:447:DEBUG] [[Sync service finished- 
total:0.011,since last(Begin):0.011]] - 'order / quickAssignPartyToWorkEf
fort'
354062[ServiceEcaCondition.java:137:WARN ] From Field 
(communicationEventId) is not found in context for createWorkEffort, 
defaulting to null
.
354064[     ServiceEcaRule.java:118:INFO ] Got false for condition: 
[null][][communicationEventId][is-not-empty][null][][true][String][]
354065[  ServiceDispatcher.java:447:DEBUG] [[Sync service finished- 
total:0.136,since last(Begin):0.136]] - 'order / createWorkEffort'
354075[     ServiceEcaRule.java:134:INFO ] Running Service ECA Service: 
quickAssignPartyToWorkEffort, triggered by rule on Service: createWor
kEffort
354083[  ServiceDispatcher.java:447:DEBUG] [[Sync service finished- 
total:0.0060,since last(Begin):0.0060]] - 'order / quickAssignPartyToWork
Effort'
354085[ServiceEcaCondition.java:137:WARN ] From Field 
(communicationEventId) is not found in context for createWorkEffort, 
defaulting to null
.
354108[     ServiceEcaRule.java:118:INFO ] Got false for condition: 
[null][][communicationEventId][is-not-empty][null][][true][String][]
354110[  ServiceDispatcher.java:447:DEBUG] [[Sync service finished- 
total:0.043,since last(Begin):0.043]] - 'order / createWorkEffort'
354139[     ServiceEcaRule.java:118:INFO ] Got false for condition: 
[null][][statusId][equals][null][SHIPMENT_SCHEDULED][true][String][]
354141[     ServiceEcaRule.java:134:INFO ] Running Service ECA Service: 
setShipmentSettingsFromFacilities, triggered by rule on Service: crea
teShipment
354160[      FieldToResult.java:75 :WARN ] Field value not found with 
name lookedUpValue.destinationFacilityId in Map with name
354171[     ServiceEcaRule.java:118:INFO ] Got false for condition: 
[null][][statusId][equals][null][SHIPMENT_PACKED][true][String][]
354173[     ServiceEcaRule.java:118:INFO ] Got false for condition: 
[null][][statusId][equals][null][PURCH_SHIP_RECEIVED][true][String][]
354175[     ServiceEcaRule.java:118:INFO ] Got false for condition: 
[null][][statusId][equals][null][SHIPMENT_SCHEDULED][true][String][]
354177[     ServiceEcaRule.java:118:INFO ] Got false for condition: 
[null][][originFacilityId][not-equals][][oldOriginFacilityId][false][Stri
ng][]
354178[     ServiceEcaRule.java:118:INFO ] Got false for condition: 
[null][][destinationFacilityId][is-not-empty][null][][true][String][]
354180[     ServiceEcaRule.java:118:INFO ] Got false for condition: 
[null][][primaryOrderId][not-equals][][oldPrimaryOrderId][false][String][
]

_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users


 
      
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users


    
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users


  

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - QuickshipInstockItems

Fred Forester-2


yup, and it appears correct.


Si Chen wrote:

> Those are for SECAs and mostly mean that a particular condition was not
> met.  Now, was an invoice created on your order?
>
> Fred Forester wrote:
>
>> Sure I'll put together what I have now. might not get to it till later
>> tonight or tomorrow.
>>
>> but... are those messages just info or is something missing somewhere
>> datawise?
>>
>>
>> Si Chen wrote:
>>  
>>
>>> Fred,
>>>
>>> Would you be interested in contributing this back to OFBiz?  I think
>>> it'd be a pretty good feature.  If so, could you create a JIRA issue
>>> with your code sample?
>>>
>>> Si
>>>
>>> Fred Forester wrote:
>>>
>>>    
>>>
>>>> Hi All,
>>>>
>>>> I created a new service called QuickshipInstockItems. It is modeled
>>>> after quickShipEntireOrder except only instock items are selected.
>>>> also had to make similar changes to a copy of
>>>> getOrderItemShipGroupLists. After the new service runs everything looks
>>>> correct as far as the shipments and the order however I see these
>>>> info messages in the log and have a feeling I'm still missing
>>>> something.
>>>>
>>>> the messages appear after calling
>>>> createShipmentForFacilityAndShipGroup which you can see from a log
>>>> message I added before calling. the messages of interest contain
>>>> "Got false for condition:...."
>>>>
>>>> any help/advice would be appreciated.
>>>>
>>>> Thanx
>>>> Fred
>>>>
>>>>
>>>> 353901[                Log.java:103:INFO ] Calling
>>>> createShipmentForFacilityAndShipGroup
>>>> 353910[                Log.java:103:INFO ]
>>>> createShipmentForFacilityAndShipGroup orderItemListByShGrpMap.00001
>>>> 353921[       SequenceUtil.java:263:INFO ] Got bank of sequenced IDs
>>>> for [Shipment]; curSeqId=10050, maxSeqId=10060, bankSize=10
>>>> 353979[            UtilXml.java:242:DEBUG] XML Read 0.047s:
>>>> file:/home/devj/ofbiz/soldiercity/workeffort/script/org/ofbiz/workeffort/workeffo
>>>>
>>>> rt/WorkEffortSimpleServices.xml
>>>> 354018[       SequenceUtil.java:263:INFO ] Got bank of sequenced IDs
>>>> for [WorkEffort]; curSeqId=10050, maxSeqId=10060, bankSize=10
>>>> 354047[     ServiceEcaRule.java:134:INFO ] Running Service ECA
>>>> Service: quickAssignPartyToWorkEffort, triggered by rule on Service:
>>>> createWor
>>>> kEffort
>>>> 354060[  ServiceDispatcher.java:447:DEBUG] [[Sync service finished-
>>>> total:0.011,since last(Begin):0.011]] - 'order /
>>>> quickAssignPartyToWorkEf
>>>> fort'
>>>> 354062[ServiceEcaCondition.java:137:WARN ] From Field
>>>> (communicationEventId) is not found in context for createWorkEffort,
>>>> defaulting to null
>>>> .
>>>> 354064[     ServiceEcaRule.java:118:INFO ] Got false for condition:
>>>> [null][][communicationEventId][is-not-empty][null][][true][String][]
>>>> 354065[  ServiceDispatcher.java:447:DEBUG] [[Sync service finished-
>>>> total:0.136,since last(Begin):0.136]] - 'order / createWorkEffort'
>>>> 354075[     ServiceEcaRule.java:134:INFO ] Running Service ECA
>>>> Service: quickAssignPartyToWorkEffort, triggered by rule on Service:
>>>> createWor
>>>> kEffort
>>>> 354083[  ServiceDispatcher.java:447:DEBUG] [[Sync service finished-
>>>> total:0.0060,since last(Begin):0.0060]] - 'order /
>>>> quickAssignPartyToWork
>>>> Effort'
>>>> 354085[ServiceEcaCondition.java:137:WARN ] From Field
>>>> (communicationEventId) is not found in context for createWorkEffort,
>>>> defaulting to null
>>>> .
>>>> 354108[     ServiceEcaRule.java:118:INFO ] Got false for condition:
>>>> [null][][communicationEventId][is-not-empty][null][][true][String][]
>>>> 354110[  ServiceDispatcher.java:447:DEBUG] [[Sync service finished-
>>>> total:0.043,since last(Begin):0.043]] - 'order / createWorkEffort'
>>>> 354139[     ServiceEcaRule.java:118:INFO ] Got false for condition:
>>>> [null][][statusId][equals][null][SHIPMENT_SCHEDULED][true][String][]
>>>> 354141[     ServiceEcaRule.java:134:INFO ] Running Service ECA
>>>> Service: setShipmentSettingsFromFacilities, triggered by rule on
>>>> Service: crea
>>>> teShipment
>>>> 354160[      FieldToResult.java:75 :WARN ] Field value not found
>>>> with name lookedUpValue.destinationFacilityId in Map with name
>>>> 354171[     ServiceEcaRule.java:118:INFO ] Got false for condition:
>>>> [null][][statusId][equals][null][SHIPMENT_PACKED][true][String][]
>>>> 354173[     ServiceEcaRule.java:118:INFO ] Got false for condition:
>>>> [null][][statusId][equals][null][PURCH_SHIP_RECEIVED][true][String][]
>>>> 354175[     ServiceEcaRule.java:118:INFO ] Got false for condition:
>>>> [null][][statusId][equals][null][SHIPMENT_SCHEDULED][true][String][]
>>>> 354177[     ServiceEcaRule.java:118:INFO ] Got false for condition:
>>>> [null][][originFacilityId][not-equals][][oldOriginFacilityId][false][Stri
>>>>
>>>> ng][]
>>>> 354178[     ServiceEcaRule.java:118:INFO ] Got false for condition:
>>>> [null][][destinationFacilityId][is-not-empty][null][][true][String][]
>>>> 354180[     ServiceEcaRule.java:118:INFO ] Got false for condition:
>>>> [null][][primaryOrderId][not-equals][][oldPrimaryOrderId][false][String][
>>>>
>>>> ]
>>>>
>>>> _______________________________________________
>>>> Users mailing list
>>>> [hidden email]
>>>> http://lists.ofbiz.org/mailman/listinfo/users
>>>>
>>>>
>>>>  
>>>>      
>>>
>>>  
>>> _______________________________________________
>>> Users mailing list
>>> [hidden email]
>>> http://lists.ofbiz.org/mailman/listinfo/users
>>>
>>>
>>>    
>>
>>  
>> _______________________________________________
>> Users mailing list
>> [hidden email]
>> http://lists.ofbiz.org/mailman/listinfo/users
>>
>>
>>  
>
>
>
> ------------------------------------------------------------------------
>
>  
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - QuickshipInstockItems

Fred Forester-2
Si,

QuickShipInstockItems
---------------------

          Key: OFBIZ-846
          URL: http://jira.undersunconsulting.com/browse/OFBIZ-846
      Project: [OFBiz] Open For Business
         Type: Improvement
   Components: order
     Versions: SVN
  Environment: linux of course.
     Reporter: Fred Forester
  Assigned to: Jira Administrator
     Priority: Minor

Let me know if you need anything else.

Thanx
Fred


Fred Forester wrote:

>
> yup, and it appears correct.
>
>
> Si Chen wrote:
>
>>Those are for SECAs and mostly mean that a particular condition was not
>>met.  Now, was an invoice created on your order?
>>
>>Fred Forester wrote:
>>
>>
>>>Sure I'll put together what I have now. might not get to it till later
>>>tonight or tomorrow.
>>>
>>>but... are those messages just info or is something missing somewhere
>>>datawise?
>>>
>>>
>>>Si Chen wrote:
>>>
>>>
>>>
>>>>Fred,
>>>>
>>>>Would you be interested in contributing this back to OFBiz?  I think
>>>>it'd be a pretty good feature.  If so, could you create a JIRA issue
>>>>with your code sample?
>>>>
>>>>Si
>>>>
>>>>Fred Forester wrote:
>>>>
>>>>  
>>>>
>>>>
>>>>>Hi All,
>>>>>
>>>>>I created a new service called QuickshipInstockItems. It is modeled
>>>>>after quickShipEntireOrder except only instock items are selected.
>>>>>also had to make similar changes to a copy of
>>>>>getOrderItemShipGroupLists. After the new service runs everything looks
>>>>>correct as far as the shipments and the order however I see these
>>>>>info messages in the log and have a feeling I'm still missing
>>>>>something.
>>>>>
>>>>>the messages appear after calling
>>>>>createShipmentForFacilityAndShipGroup which you can see from a log
>>>>>message I added before calling. the messages of interest contain
>>>>>"Got false for condition:...."
>>>>>
>>>>>any help/advice would be appreciated.
>>>>>
>>>>>Thanx
>>>>>Fred
>>>>>
>>>>>
>>>>>353901[                Log.java:103:INFO ] Calling
>>>>>createShipmentForFacilityAndShipGroup
>>>>>353910[                Log.java:103:INFO ]
>>>>>createShipmentForFacilityAndShipGroup orderItemListByShGrpMap.00001
>>>>>353921[       SequenceUtil.java:263:INFO ] Got bank of sequenced IDs
>>>>>for [Shipment]; curSeqId=10050, maxSeqId=10060, bankSize=10
>>>>>353979[            UtilXml.java:242:DEBUG] XML Read 0.047s:
>>>>>file:/home/devj/ofbiz/soldiercity/workeffort/script/org/ofbiz/workeffort/workeffo
>>>>>
>>>>>rt/WorkEffortSimpleServices.xml
>>>>>354018[       SequenceUtil.java:263:INFO ] Got bank of sequenced IDs
>>>>>for [WorkEffort]; curSeqId=10050, maxSeqId=10060, bankSize=10
>>>>>354047[     ServiceEcaRule.java:134:INFO ] Running Service ECA
>>>>>Service: quickAssignPartyToWorkEffort, triggered by rule on Service:
>>>>>createWor
>>>>>kEffort
>>>>>354060[  ServiceDispatcher.java:447:DEBUG] [[Sync service finished-
>>>>>total:0.011,since last(Begin):0.011]] - 'order /
>>>>>quickAssignPartyToWorkEf
>>>>>fort'
>>>>>354062[ServiceEcaCondition.java:137:WARN ] From Field
>>>>>(communicationEventId) is not found in context for createWorkEffort,
>>>>>defaulting to null
>>>>>.
>>>>>354064[     ServiceEcaRule.java:118:INFO ] Got false for condition:
>>>>>[null][][communicationEventId][is-not-empty][null][][true][String][]
>>>>>354065[  ServiceDispatcher.java:447:DEBUG] [[Sync service finished-
>>>>>total:0.136,since last(Begin):0.136]] - 'order / createWorkEffort'
>>>>>354075[     ServiceEcaRule.java:134:INFO ] Running Service ECA
>>>>>Service: quickAssignPartyToWorkEffort, triggered by rule on Service:
>>>>>createWor
>>>>>kEffort
>>>>>354083[  ServiceDispatcher.java:447:DEBUG] [[Sync service finished-
>>>>>total:0.0060,since last(Begin):0.0060]] - 'order /
>>>>>quickAssignPartyToWork
>>>>>Effort'
>>>>>354085[ServiceEcaCondition.java:137:WARN ] From Field
>>>>>(communicationEventId) is not found in context for createWorkEffort,
>>>>>defaulting to null
>>>>>.
>>>>>354108[     ServiceEcaRule.java:118:INFO ] Got false for condition:
>>>>>[null][][communicationEventId][is-not-empty][null][][true][String][]
>>>>>354110[  ServiceDispatcher.java:447:DEBUG] [[Sync service finished-
>>>>>total:0.043,since last(Begin):0.043]] - 'order / createWorkEffort'
>>>>>354139[     ServiceEcaRule.java:118:INFO ] Got false for condition:
>>>>>[null][][statusId][equals][null][SHIPMENT_SCHEDULED][true][String][]
>>>>>354141[     ServiceEcaRule.java:134:INFO ] Running Service ECA
>>>>>Service: setShipmentSettingsFromFacilities, triggered by rule on
>>>>>Service: crea
>>>>>teShipment
>>>>>354160[      FieldToResult.java:75 :WARN ] Field value not found
>>>>>with name lookedUpValue.destinationFacilityId in Map with name
>>>>>354171[     ServiceEcaRule.java:118:INFO ] Got false for condition:
>>>>>[null][][statusId][equals][null][SHIPMENT_PACKED][true][String][]
>>>>>354173[     ServiceEcaRule.java:118:INFO ] Got false for condition:
>>>>>[null][][statusId][equals][null][PURCH_SHIP_RECEIVED][true][String][]
>>>>>354175[     ServiceEcaRule.java:118:INFO ] Got false for condition:
>>>>>[null][][statusId][equals][null][SHIPMENT_SCHEDULED][true][String][]
>>>>>354177[     ServiceEcaRule.java:118:INFO ] Got false for condition:
>>>>>[null][][originFacilityId][not-equals][][oldOriginFacilityId][false][Stri
>>>>>
>>>>>ng][]
>>>>>354178[     ServiceEcaRule.java:118:INFO ] Got false for condition:
>>>>>[null][][destinationFacilityId][is-not-empty][null][][true][String][]
>>>>>354180[     ServiceEcaRule.java:118:INFO ] Got false for condition:
>>>>>[null][][primaryOrderId][not-equals][][oldPrimaryOrderId][false][String][
>>>>>
>>>>>]
>>>>>
>>>>>_______________________________________________
>>>>>Users mailing list
>>>>>[hidden email]
>>>>>http://lists.ofbiz.org/mailman/listinfo/users
>>>>>
>>>>>
>>>>>
>>>>>      
>>>>
>>>>
>>>>_______________________________________________
>>>>Users mailing list
>>>>[hidden email]
>>>>http://lists.ofbiz.org/mailman/listinfo/users
>>>>
>>>>
>>>>    
>>>
>>>
>>>_______________________________________________
>>>Users mailing list
>>>[hidden email]
>>>http://lists.ofbiz.org/mailman/listinfo/users
>>>
>>>
>>>  
>>
>>
>>
>>------------------------------------------------------------------------
>>
>>
>>_______________________________________________
>>Users mailing list
>>[hidden email]
>>http://lists.ofbiz.org/mailman/listinfo/users
>
>  
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users
>
>
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users