Преглед изворни кода

修改Copy Order的So Id生成。

Pen Li пре 9 година
родитељ
комит
a4dfe6da28

BIN
RedAnt ERP Mobile/RedAnt ERP Mobile.xcworkspace/xcuserdata/macmini1.xcuserdatad/UserInterfaceState.xcuserstate


+ 2 - 1
RedAnt ERP Mobile/common/Functions/offline/OLDataProvider.m

@@ -9484,7 +9484,8 @@
     }
     
     // new order
-    NSString *new_order_code = [NSString stringWithFormat:@"OFFLINE%@",[NSUUID UUID].UUIDString];
+//    NSString *new_order_code = [NSString stringWithFormat:@"OFFLINE%@",[NSUUID UUID].UUIDString];
+    NSString *new_order_code = [self get_offline_soid:db];
     
     NSString *user = ((AppDelegate *)[UIApplication sharedApplication].delegate).user;
     user = [self translateSingleQuote:user];