Skip to main content

Hi I am trying to disable the Receive button when the parts to be received are serialized in order to force serialization at our receiving instead of after IQC. I tried manipulating the Enable string in the page designer without success. Not sure that is the best way. How would I alter the below so that it does not show up for serialized part lines? Thanks.

 

{"and"::{"!="::{"var":"record.InquireReceive"},"FALSE"]},{"@-value":{"!"::{"and"::{"=="::{"var":"record.DemandCodeDb"},"FSM"]},{"or"::{"var":"record.SerialTracking"},{"or"::{"!="::{"var":"record.LotBatchTracking"},null]},{"!="::{"var":"record.LotBatchTracking"},"NOT LOT TRACKING"]}]}]}]}]},"layer":"2","index":1},{"@-value":{"!"::{"and"::{"and"::{"and"::{"or"::{"=="::{"var":"record.OrderCode"},"4"]},{"=="::{"var":"record.OrderCode"},"6"]}]},{"var":"record.InventoryPart"}]},{"and"::{"=="::{"var":"record.Company"},{"var":"record.SenderCompany"}]},{"!="::{"var":"record.SenderCompany"},null]}]}]},{"var":"record.SerialTracking"}]}]},"layer":"2","index":2},{"@-value":{"!"::{"and"::{"var":"record.SerialTracking"},{"=="::{"var":"record.OrderCode"},"6"]},{"or"::{"=="::{"var":"record.SerialNo"},null]},{"=="::{"var":"record.SerialNo"},"*"]}]}]}]},"layer":"2","index":3},{"!"::{"and"::{"and"::{"and"::{"or"::{"=="::{"var":"record.OrderCode"},"4"]},{"=="::{"var":"record.OrderCode"},"6"]}]},{"var":"record.InventoryPart"}]},{"and"::{"=="::{"var":"record.Company"},{"var":"record.SenderCompany"}]},{"!="::{"var":"record.SenderCompany"},null]}]}]}]}]}]}

Actually please use this production string to suggest edits.

{"and":[{"!=":[{"var":"record.InquireReceive"},"FALSE"]},{"!":[{"and":[{"==":[{"var":"record.DemandCodeDb"},"FSM"]},{"or":[{"var":"record.SerialTracking"},{"or":[{"!=":[{"var":"record.LotBatchTracking"},null]},{"!=":[{"var":"record.LotBatchTracking"},"NOT LOT TRACKING"]}]}]}]}]},{"!":[{"and":[{"and":[{"and":[{"or":[{"==":[{"var":"record.OrderCode"},"4"]},{"==":[{"var":"record.OrderCode"},"6"]}]},{"var":"record.InventoryPart"}]},{"and":[{"==":[{"var":"record.Company"},{"var":"record.SenderCompany"}]},{"!=":[{"var":"record.SenderCompany"},null]}]}]},{"var":"record.SerialTracking"}]}]},{"!":[{"and":[{"var":"record.SerialTracking"},{"==":[{"var":"record.OrderCode"},"6"]},{"or":[{"==":[{"var":"record.SerialNo"},null]},{"==":[{"var":"record.SerialNo"},"*"]}]}]}]}]}


Reply