fix: Create transactions

This commit is contained in:
Deepesh Garg
2023-06-16 13:43:55 +05:30
parent 8ef257abbc
commit 77a29574a6
13 changed files with 320 additions and 405 deletions

View File

@@ -0,0 +1,17 @@
[
{
"doctype": "Customer",
"customer_group": "Demo Customer Group",
"customer_name": "ABC Enterprises"
},
{
"doctype": "Customer",
"customer_group": "Demo Customer Group",
"customer_name": "XYZ Corporation"
},
{
"doctype": "Customer",
"customer_group": "Demo Customer Group",
"customer_name": "KJPR Pvt Ltd"
}
]

View File

@@ -0,0 +1,6 @@
[
{
"doctype": "Customer Group",
"customer_group_name": "Demo Customer Group"
}
]

View File

@@ -0,0 +1,71 @@
[
{
"doctype": "Item",
"item_group": "Demo Item Group",
"item_code": "SKU001",
"item_name": "T-shirt",
"image": "https://media.istockphoto.com/id/1281631373/vector/mockup-template-men-black-t-shirt-short-sleeve.jpg?s=612x612&w=0&k=20&c=SfYrtFXQS2wJ1-R9ozvxhUabJz3cnmH5HXv2sXW_mZk="
},
{
"doctype": "Item",
"item_group": "Demo Item Group",
"item_code": "SKU002",
"item_name": "Laptop",
"image": "https://media.istockphoto.com/id/1297051332/vector/levitation-laptop-mockup.jpg?s=612x612&w=0&k=20&c=E9rp9HY7CaPjjsnZlg8NYBTFOGy7gfBSL7oK6wv5VnY="
},
{
"doctype": "Item",
"item_group": "Demo Item Group",
"item_code": "SKU003",
"item_name": "Book",
"image": "https://media.istockphoto.com/id/950152244/vector/vector-mock-up-of-standing-book.jpg?s=612x612&w=0&k=20&c=oDF2LeFoAcPAwJZFEVjWRvT53sMmCQwkVj-3qYy1duw="
},
{
"doctype": "Item",
"item_group": "Demo Item Group",
"item_code": "SKU004",
"item_name": "Smartphone",
"image": "https://media.istockphoto.com/id/1308145590/vector/realistic-mobile-phone-mockup-template-isolated-stock-vector.jpg?s=612x612&w=0&k=20&c=63UyujU3S9kAkUh3MXdJcr10xelDjgVyQzRx5Sh5018="
},
{
"doctype": "Item",
"item_group": "Demo Item Group",
"item_code": "SKU005",
"item_name": "Sneakers",
"image": "https://media.istockphoto.com/id/1303978937/photo/white-sneaker-on-a-blue-gradient-background-mens-fashion-sport-shoe-sneakers-lifestyle.jpg?s=612x612&w=0&k=20&c=L725fuzFTnm6qEaqE7Urc5q6IR80EgYQEjBn_qtBIQg="
},
{
"doctype": "Item",
"item_code": "SKU006",
"item_name": "Coffee Mug",
"image": "https://media.istockphoto.com/id/821282266/photo/white-mug-isolated.jpg?s=612x612&w=0&k=20&c=LJCMPk0D83OKmJHahkiLzAB3OsKr83nMbL7KxSgfpfM="
},
{
"doctype": "Item",
"item_group": "Demo Item Group",
"item_code": "SKU007",
"item_name": "Television",
"image": "https://media.istockphoto.com/id/1002728980/vector/wide-tv-monitor-mockup.jpg?s=612x612&w=0&k=20&c=1gDEH7ppC9ap8UBuIQmO1gM_Z8VeEaEUDDo-Aw_k8qs="
},
{
"doctype": "Item",
"item_group": "Demo Item Group",
"item_code": "SKU008",
"item_name": "Backpack",
"image": "https://media.istockphoto.com/id/1141208525/photo/yellow-open-backpack.jpg?s=612x612&w=0&k=20&c=k0NOqN9FnIGdkaUNx6-fMIBG2IfWwLT_AbDVefqJT_0="
},
{
"doctype": "Item",
"item_group": "Demo Item Group",
"item_code": "SKU009",
"item_name": "Headphones",
"image": "https://media.istockphoto.com/id/860853774/photo/blue-headphones-isolated-on-a-white-background.jpg?s=612x612&w=0&k=20&c=KqMSLWuM_Prrq5XHTe79bnFRU_leFDaXTuKqup5uvrE="
},
{
"doctype": "Item",
"item_group": "Demo Item Group",
"item_code": "SKU010",
"item_name": "Camera",
"image": "https://media.istockphoto.com/id/185278433/photo/black-digital-slr-camera-in-a-white-background.jpg?s=612x612&w=0&k=20&c=OOCbhvOF0W-eVhhrm-TxbgLfbKhFfs4Lprjd7hiQBNU="
}
]

View File

@@ -0,0 +1,7 @@
[
{
"doctype": "Item Group",
"item_group_name": "Demo Item Group",
"parent_item_group": "All Item Groups"
}
]

View File

@@ -1,62 +0,0 @@
[
{
"doctype": "Item",
"item_code": "SKU001",
"item_name": "T-shirt",
"image": "https://www.shutterstock.com/image-photo/close-man-blank-tshirt-140861086"
},
{
"doctype": "Item",
"item_code": "SKU002",
"item_name": "Laptop",
"image": "https://www.shutterstock.com/image-photo/laptop-computer-blank-screen-isolated-on-1721445466"
},
{
"doctype": "Item",
"item_code": "SKU003",
"item_name": "Book",
"image": "https://www.shutterstock.com/image-vector/blank-vertical-book-cover-template-pages-172777709"
},
{
"doctype": "Item",
"item_code": "SKU004",
"item_name": "Smartphone",
"image": "https://www.shutterstock.com/image-vector/realistic-smartphone-mockup-front-back-1450789832"
},
{
"doctype": "Item",
"item_code": "SKU005",
"item_name": "Sneakers",
"image": "https://www.shutterstock.com/image-photo/white-sneaker-sport-shoe-on-purple-2155395817"
},
{
"doctype": "Item",
"item_code": "SKU006",
"item_name": "Coffee Mug",
"image": "https://www.shutterstock.com/image-vector/realistic-white-cup-isolated-on-transparent-585104080"
},
{
"doctype": "Item",
"item_code": "SKU007",
"item_name": "Television",
"image": "https://www.shutterstock.com/image-photo/tv-flat-screen-lcd-plasma-realistic-314401364"
},
{
"doctype": "Item",
"item_code": "SKU008",
"item_name": "Backpack",
"image": "https://www.shutterstock.com/image-photo/school-backpack-on-white-background-1440715766"
},
{
"doctype": "Item",
"item_code": "SKU009",
"item_name": "Headphones",
"image": "https://www.shutterstock.com/image-illustration/3d-rendering-yellow-headphones-isolated-on-1833307018"
},
{
"doctype": "Item",
"item_code": "SKU010",
"item_name": "Camera",
"image": "https://www.shutterstock.com/image-photo/camera-610909205"
}
]

View File

@@ -0,0 +1,17 @@
[
{
"conversion_rate": 1.0,
"supplier": "DQ Industries",
"doctype": "Purchase Invoice",
"items": [
{
"doctype": "Purchase Invoice Item",
"item_code": "SKU004",
"parentfield": "items",
"qty": 20.0,
"rate": 400.0,
"conversion_factor": 1
}
]
}
]

View File

@@ -0,0 +1,17 @@
[
{
"conversion_rate": 1.0,
"customer": "ABC Enterprises",
"doctype": "Sales Invoice",
"items": [
{
"doctype": "Sales Invoice Item",
"item_code": "SKU004",
"parentfield": "items",
"qty": 20.0,
"rate": 500.0,
"conversion_factor": 1
}
]
}
]

View File

@@ -0,0 +1,17 @@
[
{
"doctype": "Supplier",
"supplier_group": "Demo Supplier Group",
"supplier_name": "DQ Industries"
},
{
"doctype": "Supplier",
"supplier_group": "Demo Supplier Group",
"supplier_name": "MA Inc."
},
{
"doctype": "Supplier",
"supplier_group": "Demo Supplier Group",
"supplier_name": "KC Corp."
}
]

View File

@@ -0,0 +1,6 @@
[
{
"doctype": "Supplier Group",
"supplier_group_name": "Demo Supplier Group"
}
]