Hello,
I have a requirement where we need our shipment xid to be a reference number value (from the shipment) plus a sequential number. Per this requirement I have tried to change the business number rule for SHIPMENT_XID.DEFAULT to {r*:xml=REFNUM/PO}-{nnnnn:start=01000} instead of just {nnnnn:start=01000}.
In addition to this I've also edited the BN CONTEXT ID on the business number type of SHIPMENT_XID from EMPTY_CONTEXT to SHIPMENT_CONTEXT.
Unfortunately, this did not work. I keep on getting -01000 instead of what I would like which is PO-01000. Does anyone have experience with changing the shipment xid via bn rules? I've also tried this with {r*:xml=BASE}-{nnnnn:start=01000} and {r*:xml=REFNUM/GLOG}-{nnnnn:start=01000} and neither of those worked. With both of those I kept on getting -01000. When i put in just {r*:xml=BASE} without the extension, I just get an error where OTM says that it cannot create a XID with a null value. In any case, if anyone knows how to make this work please let me know!
Thanks!
I have a requirement where we need our shipment xid to be a reference number value (from the shipment) plus a sequential number. Per this requirement I have tried to change the business number rule for SHIPMENT_XID.DEFAULT to {r*:xml=REFNUM/PO}-{nnnnn:start=01000} instead of just {nnnnn:start=01000}.
In addition to this I've also edited the BN CONTEXT ID on the business number type of SHIPMENT_XID from EMPTY_CONTEXT to SHIPMENT_CONTEXT.
Unfortunately, this did not work. I keep on getting -01000 instead of what I would like which is PO-01000. Does anyone have experience with changing the shipment xid via bn rules? I've also tried this with {r*:xml=BASE}-{nnnnn:start=01000} and {r*:xml=REFNUM/GLOG}-{nnnnn:start=01000} and neither of those worked. With both of those I kept on getting -01000. When i put in just {r*:xml=BASE} without the extension, I just get an error where OTM says that it cannot create a XID with a null value. In any case, if anyone knows how to make this work please let me know!
Thanks!
Comment